Failed to debug applet with JDK 7u21 and 7u25

After upgrading my JDK from 7u17 to 7u21 or 7u25, I can no longer debug my applets. I used the following parameters for java.exe using the Java control panel and worked fine:

-classic -verbose -Xdebug -Xnoagent -Dcom.sun.management.jmxremote -Djavaplugin.classloader.cache.enabled=false -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8055,suspend=n

However, it does not work with 7u21 and 7u25. In Process Explorer, I see that there are some debugging related options on the command line:

"C:\Java\jre7\bin\java.exe" -Xbootclasspath/a:"C:\Java\jre7\lib\deploy.jar";"C:\Java\jre7\lib\javaws.jar";"C:\Java\jre7\lib\plugin.jar" -Djava.class.path="C:\Java\jre7\classes" -D__jvm_launched=602583525371 -D__applet_launched=602583523886 -Dsun.awt.warmup=true -Xdebug -verbose -Djnlp.packEnabled=false sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid10980_pipe9,read_pipe_name=jpi2_pid10980_pipe8

Should I change some Java settings or settings? Or is it a JDK bug?

+1
source share
1 answer

I had a lot of trouble with applets altogether from 7u25 and actually deleted it and returned to 7u21. It was so bad that I sent an error report and Oracle is working on it.

I was able to get a decent amount of debugging using the Java consoles in the console by going to the Java control panel, clicking the Advanced tab and turning on almost everything that I thought might be relevant.

+1
source

Source: https://habr.com/ru/post/1487456/