I´am facing a very strange Problem right now. It took me 2 hours to reproduce and get the "solution" of this error.
This happens:
I try to start another .jar file, located in System.getProperty("user.dir") .
actually, I use this for start:
Runtime.getRuntime().exec("java -jar "+System.getProperty("user.dir")+System.getProperty("file.separator")+"myJar.jar");
This works fine if the System.getProperty("user.dir") 's will look like this for example:
C:\MyProgramm\
But if the System.getProperty("user.dir") look like:
C:\My Programm\
it will not work. It´s strange, beacuase there is no exception thrown. Please, if you can, and if my Explanation is clear enough, can you give me a solution for this issue?
Sorry for my english, please do not hesitate to ask all questions if something is unlear.