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 & HelpSyntax Questions › Exporting to .JAR file
Page Index Toggle Pages: 1
Exporting to .JAR file (Read 460 times)
Exporting to .JAR file
Dec 27th, 2007, 3:52am
 
I've been developing a processing app that loads in a JFrame which allows me to use all the handy Swing components I'm familiar with.

At this point I'd like to export the entire app as a .JAR file.  When I do this however, the program won't load the PApplet.  It doesn't crash but it doesn't load the PApplet either.

The strange thing is that everything runs fine when launching from Eclipse.

This page:

http://graphics.itb.ac.id/processing_beta_ref_id/environment/export.html

mentions something about libraries not being accessed from a  .JAR file.  Could that be it?

Any help is appreciated, thanks!!
Re: Exporting to .JAR file
Reply #1 - Dec 27th, 2007, 4:29am
 
I'm a noob.  All i had to do was export as a Fat Jar.

http://fjep.sourceforge.net/

Thanks random people on the internet that solve problems for me!
Page Index Toggle Pages: 1