Error executing program java error 740

0

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

    
asked by Jeferson Martinez 08.09.2016 в 22:54
source

1 answer

0

the solution was a problem with windows in runtime error 740 this is because it was running cmd console and the statement needs managed permissions, the truth is the solution was to create a .bat file to be executed .

    
answered by 12.09.2016 в 02:29