Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I see line numbers in a stack trace using JDK 1.1.6?

JDK line Numbers stack trace
0
Posted

How can I see line numbers in a stack trace using JDK 1.1.6?

0

[*] From JDK 1.1.5 on (i.e. JDK 1.1.6, JDK 1.2) the stack trace of an uncaught exception no longer has source code line numbers. It only says “(Compiled Code)”. To see the line numbers where your program throws an exception, use the command line argument in JDK 1.2: java -Djava.compiler=NONE myapp This info is well-concealed in the release note at: http://java.sun.com/products/jdk/1.2/changes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123