Cannot start dynamic batch file with Java

In java, I dynamically created a batch file under program files in the tomcat bin directory and executed it dynamically, but it fails. If I double-clicked the generated batch file that it executed. (The problem occurs on the Windows server machine.)

On my machine and many XP machines this process works fine.

So it depends on the OS, or is the file located in program files, so there can be no permissions to execute or is there any other problem?

+5
source share
1 answer

The correct answer requires that you provide more information; Perhaps answering these questions, you will determine your answer.

1) Specifically about the version of Windows Server (2003, 2008, etc.)

2) , Tomcat ; , ?

3) , , . , , . , , ?

4) , bin Tomcat?

0

All Articles