It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Java Forum

How do you make a program run twice/recompile as it runs?

How do you make a program run twice/recompile as it runs?

Postby argot on Wed Feb 21, 2007 4:42 am

I'm trying to make a program where the code changes after it runs.
I have three classes:
The first specifies the changes, then uses the second class to edit the code of the third, and then uses the thrid.

The problem I'm having is that it all compiles first so the third program is run as if nothing was changed.
After it's run the third class has all the code I want it to and is properly changed so if I run it again it works.

So, is there any way I could get it to either run twice or recompile itself as its running?
argot
 
Posts: 0
Joined: Wed Feb 21, 2007 4:29 am

Who is online

Users browsing this forum: No registered users and 0 guests