-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
7u21
FULL PRODUCT VERSION :
java version " 1.7.0_21 "
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
I'm trying to debug an applet running in the browser plugin. In previous versions, I could start the Java control panel and add parameters on the Java page. I can still do that, but the parameters are set for the javaw.exe run-time. I can see in Process Explorer that java.exe is what's actually running in the browser. I tried to add java.exe as a run-time in the Java dialog, but JVMs added on the User tab in this dialog are now never saved.
So I can change the parameters for javaw.exe successfully, but these parameters are not passed onto java.exe. I can't configure java.exe separately. When my applet launches in the browser, I am unable to connect to the applet with my debugger.
REGRESSION. Last worked in version 7u17
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Open the Java Control Panel, go to the Java tab, and click View...
2. Click in the Runtime Parameters column for the 32-bit JVM.
3. Enter the debug parameters, e.g. -agentlib:jdwp=transport=dt_socket,address=8888,server=y,suspend=y.
4. Click OK and then Apply. Click View... again to verify that the parameters were saved. Note that the path to the JVM is to javaw.exe.
5. Start debug environment, e.g. IntelliJ.
6. Go to applet-hosting application and launch applet.
7. Try to connect to applet with debugger. This will fail.
8. Inspect the running plugin with Process Explorer. This will show that the plugin JVM is java.exe.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The JVM would be the same in the control panel as what is actually running in the browser. Once the applet is running, I should be able to connect with my debugger.
ACTUAL -
The JVM is not the same in the control panel as what is actually running in the browser. Once the applet is running, I cannot connect with my debugger.
REPRODUCIBILITY :
This bug can be reproduced always.
java version " 1.7.0_21 "
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
I'm trying to debug an applet running in the browser plugin. In previous versions, I could start the Java control panel and add parameters on the Java page. I can still do that, but the parameters are set for the javaw.exe run-time. I can see in Process Explorer that java.exe is what's actually running in the browser. I tried to add java.exe as a run-time in the Java dialog, but JVMs added on the User tab in this dialog are now never saved.
So I can change the parameters for javaw.exe successfully, but these parameters are not passed onto java.exe. I can't configure java.exe separately. When my applet launches in the browser, I am unable to connect to the applet with my debugger.
REGRESSION. Last worked in version 7u17
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Open the Java Control Panel, go to the Java tab, and click View...
2. Click in the Runtime Parameters column for the 32-bit JVM.
3. Enter the debug parameters, e.g. -agentlib:jdwp=transport=dt_socket,address=8888,server=y,suspend=y.
4. Click OK and then Apply. Click View... again to verify that the parameters were saved. Note that the path to the JVM is to javaw.exe.
5. Start debug environment, e.g. IntelliJ.
6. Go to applet-hosting application and launch applet.
7. Try to connect to applet with debugger. This will fail.
8. Inspect the running plugin with Process Explorer. This will show that the plugin JVM is java.exe.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The JVM would be the same in the control panel as what is actually running in the browser. Once the applet is running, I should be able to connect with my debugger.
ACTUAL -
The JVM is not the same in the control panel as what is actually running in the browser. Once the applet is running, I cannot connect with my debugger.
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8016005 Remote debugging for applets in a browser is no longer working
- Resolved
-
JDK-8015464 jp2launcher doesn't pass debug options to client set in _JPI_VM_OPTIONS environment variable
- Closed
-
JDK-8016005 Remote debugging for applets in a browser is no longer working
- Resolved
-
JDK-8017269 Transfer the runtime parameters from control panel to java plugin not work
- Closed
-
JDK-8019275 jp2launcher doesn't pass system properties to jvm
- Closed
-
JDK-8013735 can't start JWS in debug with jdk1.7.0_21 installed
- Closed
(1 duplicates)