Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Slow loading jars from command line in windows vs double click

843829Aug 22 2005 — edited Aug 27 2005
I have a program (as a .jar) that takes about four times as long to load when calling java -jar file.jar as opposed to double clicking on the jar in windows explorer. This is pretty significant - the load time goes from 5-10 sec to about 30.

I was wondering if there is some setting unknown to me that gets set while double clicking on a jar file. Or is there something else that could be slowing the program down considerably from the command line?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 24 2005
Added on Aug 22 2005
5 comments
764 views