Im using Oracle JRE 9.1, and trying to execute an applet (Oracle Forms) through Java Web Start. On my JNLP file its defined by the tag applet-desc.
我正在使用Oracle JRE 9.1,并尝试通过Java Web Start执行applet(Oracle Forms)。在我的JNLP文件上,它由标签applet-desc定义。
It works on Oracle Java 6,7 and 8. But with the version 9, i get the following error:
它适用于Oracle Java 6,7和8.但是对于版本9,我收到以下错误:
java.lang.IllegalAccessError: class oracle.forms.engine.Main
(in unnamed module ... ) cannot access class sun.applet.AppletViewer
(in module java.desktop) because module java.desktop does not
export sun.applet to unnamed module ...
I know that applets are deprecated on 9, but it should be only a warning right ?
我知道小程序在9上已被弃用,但它应该只是一个警告吗?
Any ideas would be appreciated.
任何想法,将不胜感激。
1 个解决方案
#1
1
Java 9 is not supported by Oracle Forms. You should still use Java 8.
Oracle Forms不支持Java 9。你仍然应该使用Java 8。
They have also posted an article that says that Oracle Forms won't support java 9 in the future.
他们还发布了一篇文章,称Oracle Forms将来不支持java 9。
#1
1
Java 9 is not supported by Oracle Forms. You should still use Java 8.
Oracle Forms不支持Java 9。你仍然应该使用Java 8。
They have also posted an article that says that Oracle Forms won't support java 9 in the future.
他们还发布了一篇文章,称Oracle Forms将来不支持java 9。