Skip to content

Instantly share code, notes, and snippets.

@lwl5219
Created April 10, 2019 15:36
Show Gist options
  • Save lwl5219/b56ea2f4d85a6faaeef85970d78dba94 to your computer and use it in GitHub Desktop.
Save lwl5219/b56ea2f4d85a6faaeef85970d78dba94 to your computer and use it in GitHub Desktop.
# 启动远程调试
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -jar kindle-push-1.0.0-jar-with-dependencies.jar
# 运行可执行 jar
java -jar kindle-push.jar
# 执行指定 class 的 main 函数
java -cp kindle-push.jar kindle.MailSender.main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment