Skip to main content

Use deployment toolkit to scale JRE for specific application

3 replies [Last post]
deuxchevaux
Offline
Joined: 2005-03-30
Points: 0

Hi,

for my customers I use a scenario where I wrap my application in a setup using NSIS and Launch4j. Launch4j has the ability to use a local copy of the JRE. Right now I just copy the full JRE, resulting in quite a large package. Download times or incremental upgrades are not important for me here, apps are distributed by CD-ROM as it is installed on a closed LAN with no internet access.

What I want to able to do is to have a command like:
java -deployment

In the output path a copy of the JRE is stored that is scaled down to fit the given application.

Will that be possible in any way with update 2?

Thanks,

Rogier

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
deuxchevaux
Offline
Joined: 2005-03-30
Points: 0

Hi,

I have not received an answer to this question, nor have I found any information on it.

Please help.

Rogier

maksym_shostak
Offline
Joined: 2007-07-17
Points: 0

Hi. Check out Ethan Nicholas's Blog http://weblogs.java.net/blog/enicholas/archive/2007/05/java_kernel_unm.html
under "But what if I want to pre-download everything I need?" header.

I'm also now thinking whether to use or not this raw Consumer JRE in my desktop application.

deuxchevaux
Offline
Joined: 2005-03-30
Points: 0

BTW, the advantages of this approach are:
- customer doesn't know/see that application is Java (even in task manager)
- guaranteed to work on any Windows box regardless of the current installation
- no admin rights needed, the application is install is just a extraction/copy of some files.