is it possiable to unload my java program and then reload it automatically.
I mean to start it over again automatically
Printable View
is it possiable to unload my java program and then reload it automatically.
I mean to start it over again automatically
I think you would have to check into the ClassLoader class. I've messed around with it in the past but i haven't used it enough where i would be able to give you any code worth using.
ok I'll check it out
thanks Cameron
That won't help.
Look at System.exec, or the Java5 ProcessBuilder class. Use them to execute your app, then end the current instance.