View Single Post
  #1 (permalink)  
Old 11-14-2009, 04:50 PM
aaroncarpet's Avatar
aaroncarpet aaroncarpet is offline
Senior Member
 
Join Date: Nov 2009
Location: California
Posts: 138
Rep Power: 0
aaroncarpet is on a distinguished road
Send a message via Yahoo to aaroncarpet
Default is there a way to tell how to execute a java program in the jar
Myself am a java user so I know after I have jarred my application i can use the command prompt to do something like
this: java -Xms10m -Xmx1024m -jar aaron1.jar

but if I give my average computer user my jarred program they won't be able to do that, they will just double click it and it will automatically use javaw.exe

because i have certain things that I want to come on the command shell it is insufficient, plus, if they close my program that they double clicked, there will still be a javaw.exe process running in their task manager (the process that was supposed to be in the command shell) it will bog there cpu and they won't know why there is a problem and if they don't know how to go unto the tskmmanager and end their javaw.exe process they won't be able to stop it until they restart their computer.

Last edited by aaroncarpet; 11-14-2009 at 04:51 PM. Reason: typos
Reply With Quote