We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Full screen app: can't find the main class
Page Index Toggle Pages: 1
Full screen app: can't find the main class? (Read 509 times)
Full screen app: can't find the main class?
Jul 29th, 2008, 1:45pm
 
Hi

I've just been testing the opengl full screen example:

http://processing.org/learning/3d/fullscreenapp.html

it runs OK from processing, but exporting the application gives me an error: 'could not find the main class. Exiting!'

I've set the second string to my processing name thus:

static public void main(String args[]) {
 PApplet.main(new String[] { "--present", "test" });
}

... tried swapping to static and public

public static void main(String args[]) {
 PApplet.main(new String[] { "--present", "test" });
}

... and still the same error from application.windows.

Is this a classpath problem?

Halp!

Cheers,

Dan
Re: Full screen app: can't find the main class?
Reply #1 - Jul 29th, 2008, 1:46pm
 
I should add, my sketches are being stored in an entirely separate place from the processing app itself. This shouldn't matter, though, should it...?
Page Index Toggle Pages: 1