I need to run two JAR files (one with Java 32 and the other one with java 64 bits, because I use some DLLs for 32 bits system) with a single batch file. The one that runs with Java 64 bits works, but the one for Java 32 bits doesn't.
Here is the bat:
start "%ProgramFiles%/Java/jre1.8.0_144/bin/java.exe -Xmx4096m -jar" Application1.jar
timeout 2
start "%ProgramFiles(x86)%/Java/jre1.8.0_121/bin/java.exe -Xmx1024m -jar" Application2.jar
The both of them are server applications, but the second one uses some DLLs that works only for 32 bits systems.