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.
IndexProcessing DevelopmentLibraries,  Tool Development › homemade lib, export => main class not found
Page Index Toggle Pages: 1
homemade lib, export => main class not found (Read 1533 times)
homemade lib, export => main class not found
May 22nd, 2010, 2:38pm
 
Hi, i'm working on a small library which acts as a launcher / intermediator for the ChucK VM.

the idea is to include the ChucK binary with an exported app, so you don't have to worry about ChucK being installed on the machine that is running the app.

So i've built the library using the Eclipse template and it works in the PDE, however when i export an app, both on Windows and OS X it will refuse to launch, the error goes along the lines of "main class not found".
Note that the lib makes use of Andreas Schlegel's OSCP5 lib, so i included its jar with my lib.
Don't know if this is okay.

I can export and launch apps which are not using the library, and since the same error comes up on Windows and Mac there's probably something wrong with the lib.

the library: PhucK, example included. You don't need to get Chuck to test it...

Re: homemade lib, export => main class not found
Reply #1 - May 22nd, 2010, 6:19pm
 
the issue solved itself, cool.
Page Index Toggle Pages: 1