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 & HelpIntegration › Specifying a JRE for a processing application
Page Index Toggle Pages: 1
Specifying a JRE for a processing application (Read 934 times)
Specifying a JRE for a processing application
Apr 27th, 2007, 4:57pm
 
Hi there,

I've had a look round the forum, but can't find the answer to something i'm struggling with.

I need to create a processing application, and specify the JRE that it uses. I know this is possible with a java app, so should be for a processing app in theory. Is there anything i can add to the lib/args.txt which would help? The app needs to run on a PC where Java isn't necessarily installed.

I tried adding the path to the system path, but that isn't the best option, as i need to be able to hand the installation of the application over to a non-technical person (unfortunately!)

Many thanks

Stephen
Re: Specifying a JRE for a processing application
Reply #1 - Apr 27th, 2007, 10:19pm
 
like the version of p5 that includes java, you can include a folder named "java" that contains the jre along with your exported application. this is done for just such occasions, where you don't want to require installation of any software, or trust that it'll be done properly.
Page Index Toggle Pages: 1