bat specifies the jdk path to run the jar

 

bat file content:

 

@echo off

cd D:/J2EE/Java/jdk1.6.0_43/bin

java -jar D:/test/test.jar

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325977496&siteId=291194637