Error running java program error 740

I have a desktop application in java that must decompress a rar file I run it with command as if it were console by means of the method Runtime.getRuntime().exec(l); in debug mode it works perfectly but when I run it does not extract all the file and the same thing happens to me with a connection class to sql server in debug connects and makes the insert but I run it and does not even enter the class. This happens on any machine running it.

 0
Author: Jeferson Martinez, 2016-09-08

1 answers

The solution was a problem with windows at runtime error 740 this is because I was running the CMD console and the statement needs managed permissions, the truth the solution was create a file .bat to run.

 0
Author: Jeferson Martinez, 2016-09-12 00:29:44