1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 14:46:00 +02:00

java: add debug info (#4266)

This commit is contained in:
Max Rydahl Andersen 2020-09-17 13:02:16 +02:00 committed by GitHub
parent 0e2cd0cd36
commit 4ac62cbe9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,10 @@
`java -jar {{filename.jar}}`
- Execute a .jar program with debug waiting to connect on port 5005:
`java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar {{filename.jar}}`
- Display JDK, JRE and HotSpot versions:
`java -version`