Issues with Java 7u65

。_饼干妹妹 提交于 2019-12-03 05:37:59

I just ran into this exact problem with one of my applets.

It looks like some changes were made to the handling of the 'java-vm-args' and 'java_arguments' params in 7u65.

'java_arguments' seems to no longer work, when it is specified, my applet will silently fail without even launching the JVM.

I have had the same problem.

I delete C:\Users\${USER}\AppData\LocalLow\Sun

When i reloaded the web page containg the appelets. The JRE recreated this folder again.

And evrything was OK.

There is no big difference between the folders contents .. but it worked.

It seems to be a bug in the jRE

It seems that oracle has changed something with processing default plugin java arguments, that caused problem in new java.

When upgrading from older version of java it is possible that value for deployment.javaws.jre.0.args (or deployment.javaws.jre.1.args) is not defined in C:\Users\${USER}\AppData\LocalLow\Sun\Java\Deployment\deployment.properties

If you add

deployment.javaws.jre.0.args=

to deployment.properties, applet will work.

It can be done through Java Control panel also:

Java -> View -> double click on Runtime Parameters cell for java 7u65 to enter edit mode -> OK -> Apply

java-jvm-args solution didn't work for me, applet was launched but arguments were ignored.

Oracle has released an update that resolves this specific issue via version 7u67

http://www.oracle.com/technetwork/java/javase/7u67-relnotes-2251330.html

As Miloš Ratković wrote, if customer hasn't string in deployment.properties

deployment.javaws.jre.X.args=

where x is number of java installation for version 7_65 (number of java installation for particular version is X in string deployment.javaws.jre.X.product=1.7.0_65), Java applet failed to start.

For my case I have a solution - don't pass any arguments for my applet. In my javascript code for starting applet I'm just comment

<param name="java_arguments" value="some arguments">

string

Also, if you delete the directory C:\Users\${USER}\AppData\LocalLow\Sun, during next startup of java applet java write new deployment.properties with correct java args string

Just trying to help
  1. Uninstall java 7 update 65 and reinstall java 7 update 55 Download the windows x86 offline version
  2. Go to Java control panel and uncheck: automatic update
  3. When the next window comes up, click on "do not check"
  4. then click on "apply" and "ok"
  5. close all browsers and reopen them to continue your work

This has worked for me every time so far and I have been doing this for the last two weeks now with "0" issues.

Sorry, this is not the answer. I was trying to verify the feedback about JRE 7u65 not able to accept "java_arguments"; however, I setup a Windows x32 and installed (new) 7u65 without upgrade from any older version. With the "java_arguments", the machine is able to load the applet in IE8 and FF30, when few specific PCs do fail the same applet with upgraded u65.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!