|
-
May 3rd, 2005, 04:24 PM
#1
Thread Starter
Lively Member
Unloading and loading my java program
is it possiable to unload my java program and then reload it automatically.
I mean to start it over again automatically
Last edited by Cameron Ylimaki; May 3rd, 2005 at 05:11 PM.
CaM
-
May 3rd, 2005, 11:02 PM
#2
Dazed Member
Re: Unloading and loading my java program
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.
-
May 4th, 2005, 08:15 AM
#3
Thread Starter
Lively Member
Re: Unloading and loading my java program
ok I'll check it out
thanks Cameron
-
May 4th, 2005, 11:10 AM
#4
Re: Unloading and loading my java program
That won't help.
Look at System.exec, or the Java5 ProcessBuilder class. Use them to execute your app, then end the current instance.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|