hammerh
Posts: 2
Joined: Sat Dec 18, 2010 5:28 pm

Jar starting speed

Hi there,
I have a question about the java packaging. I'm trying to start my program (e.g. program.jar) with adv installer feature, so I selected the jar and set -Xms128M -Xmx512M as property for the jvm.

But the problem is that starting the application with the generated .exe is way much slower than simply starting it with a batch like:

cmd /c java -jar -Xms128m -Xmx512m program.jar program

I'm talking about at least 10-15 seconds before program starts its execution. Any advice? :idea:

I can generate my own .exe from the batch file, and install it in the package, but in that way would be no gain to use java license instead of pro.

Many thanks
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Jar starting speed

Hi,

Can you please send us the JAR and .aip files to support at advancedinstaller dot com so we can investigate this behavior?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”