I have been playing with Java for a couple of weeks now and i belive i am starting to get the hang of it. I have created a updater which will check the version of a program on my computer if not it will download the newest version.
After this process i would like it to execute another jar file, which was downloaded in the update package.
Is it possible to execute a jar file from my updater jar? Without including it in the build.
I have done quite abit of searching around but i keep digging up stuff on how to run a jar from a command line etc.
Thanks,
Tom
Excuiting a jar file
Page 1 of 11 Replies - 149 Views - Last Post: 21 September 2011 - 10:31 AM
Replies To: Excuiting a jar file
#2
Re: Excuiting a jar file
Posted 21 September 2011 - 10:31 AM
Have you looked at the ProcessBuilder API? Here are some relevant Google search results.
This post has been edited by blackcompe: 21 September 2011 - 10:32 AM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|