Obsidian/Recognition/Programing/Java/CMD 실행.md

973 B

chcp 65001

java -jar -Dfile.encoding=UTF-8  "C:\ASDE\EyeGW-ASDE-0.0.0.1.jar"  --spring.config.location=file:"C:\ASDE\application.yml"
sudo chmod -R 777 ASDE
sudo chmod +x run.sh


/home/gmt/ASDE/JAVA/jdk-8u322-ojdkbuild-linux-x64/bin/java -jar -Dfile.encoding=UTF-8  "/home/gmt/ASDE/EyeGW-ASDE-0.0.0.1.jar"  --spring.config.location=file:"/home/gmt/ASDE/application.yml"


# 백그라운드 실행
nohup /home/gmt/ASDE/JAVA/jdk-8u322-ojdkbuild-linux-x64/bin/java -jar -Dfile.encoding=UTF-8  "/home/gmt/ASDE/EyeGW-ASDE-0.0.0.1.jar"  --spring.config.location=file:"/home/gmt/ASDE/application.yml" >> /dev/null &


nohup /home/gmt/ASDE-Send/JAVA/jdk-8u322-ojdkbuild-linux-x64/bin/java -jar -Dfile.encoding=UTF-8  "/home/gmt/ASDE-Send/EyeGW-ASDE-Send-0.0.0.1.jar"  --spring.config.location=file:"/home/gmt/ASDE-Send/application.yml" >> /dev/null &


tail -F /home/gmt/ASDE/logs/current.log -n 100

tail -F /home/gmt/ASDE-Send/logs/current.log -n 100