posted 17 years ago
I'm working on a massive project that has a little glitch in the development environment.
A VM Argument is set at execution -DRunAsApp=true
In Eclipse when the application is run it spawns to javaw processes. When you terminate the application one of the processes finishes but the other doesn't. So the application will not run the next time you try as the still running process is holding open a port.
However when you run the program in debug mode it terminates perfectly.
I have found a line in the code
System.setProperty( DEBUG, true );
depending on the above line "-DRunAsApp=true"
IS this what is stopping it running in normal mode?
I'm not really sure what I need to ask or what I need to tell you?
Has anyone run into anything like this? Any ideas what to look at?
Thanks a heap
Kris