Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (4k points)
I know there are some JAVA_OPTS to set to remotely debug a Java program.

What are they and what do they mean?

1 Answer

0 votes
by (46k points)

I possess this article bookmarked on fixing this up for Java 5 and beneath.

Basically run it with:

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044

For Java 5 and above, try it with:

-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=1044

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...