Forum Stats

  • 3,733,354 Users
  • 2,246,747 Discussions
  • 7,856,665 Comments

Discussions

Re: Remote Applet debugging under Java 1.7 update 21

ForceRs
ForceRs Member Posts: 15

We have the same issue here.

The command Java control panel Runtime Parameter arguments are not getting appended to java.exe.  Using Process Explorer, I see this with 1.7.0_25:
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xbootclasspath/a:"C:\Program Files (x86)\Java\jre7\lib\deploy.jar";"C:\Program Files (x86)\Java\jre7\lib\javaws.jar";"C:\Program Files (x86)\Java\jre7\lib\plugin.jar" -Djava.class.path="C:\Program Files (x86)\Java\jre7\classes" -D__jvm_launched=133024007743 -D__applet_launched=133024000291 -Dsun.awt.warmup=true sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid6108_pipe5,read_pipe_name=jpi2_pid6108_pipe4

Using 1.7.0_17, I see:

"C:\Program Files (x86)\Java\jre1.7.0_17\bin\java.exe" -D__jvm_launched=133918161342 -D__applet_launched=133918154686 "-Xbootclasspath/a:C:\\PROGRA~2\\Java\\JRE17~1.0_1\\lib\\deploy.jar;C:\\PROGRA~2\\Java\\JRE17~1.0_1\\lib\\javaws.jar;C:\\PROGRA~2\\Java\\JRE17~1.0_1\\lib\\plugin.jar" "-Djava.class.path=C:\\PROGRA~2\\Java\\JRE17~1.0_1\\classes" -Dsun.awt.warmup=true -Xms128m -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -agentlib:yjpagent -Xmx256m sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid6068_pipe3,read_pipe_name=jpi2_pid6068_pipe2

Note the presence of the -Xms128m -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -agentlib:yjpagent -Xmx256m in the 1.7.0_17 run.

Oracle says this is fixed in 1.7.0_40, per Bug ID: JDK-8016005 Remote debugging for applets in a browser is no longer working, and I tried to use the 1.7.0_40 early access, but that early access was too buggy to run a real test.

This discussion has been closed.