serick
Posts: 7
Joined: Wed Feb 14, 2007 9:19 pm
Location: Boston
Contact: Website

How can I get the bundled JRE into the system command PATH?

I am trying to install the bundled JRE with my app, and things are working fine, except; the bundled JRE is not being installed to/on the command path for the system. In other words, it works fine for my app, but I want to access the JRE from the command line as well.

My app uses Java Web Start (javaws.exe) which comes with the bundled jre - but since the bundled jre isn't being registered with the browser, the browser doesn't know about it - result? I cannot access my app from the browser.

How can I get the bundled JRE to add it's executables to the command path and also to register with the system's internet browser?

Thanks,

Sean
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Sean,
How can I get the bundled JRE to add it's executables to the command path and also to register with the system's internet browser?
This is done by the Sun JRE setup kit not with the bundled JRE. However you can do this by creating an environment variable in the "Environment" page. The path where the bundled JRE is installed is this: [APPDIR]jre.

http://www.advancedinstaller.com/user-g ... ables.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”