Oracle Java 9 support

428 views
Skip to first unread message

hyperscalper

unread,
Feb 22, 2018, 9:02:11 PM2/22/18
to NJ4X Forum
Hi,

Looks like Java 9 will be a challenge...  Both JDK and JRE seem to have missing packages.

An error occurred: java.lang.NoClassDefFoundError: javax/xml/ws/Endpoint java.lang.NoClassDefFoundError: javax/xml/ws/Endpoint at com.jfx.ts.net.TerminalServer.deploy(TerminalServer.java:245) at com.jfx.ts.net.TerminalServer.main(TerminalServer.java:135) Caused by: java.lang.ClassNotFoundException: javax.xml.ws.Endpoint at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ... 2 more

There was also an illegal reflection operation...

I have no immediate need for Java 9 at the moment, just tried running the Terminal Server
and it has several issues, as I'm sure you already know.


hyperscalper

unread,
Feb 22, 2018, 9:37:31 PM2/22/18
to NJ4X Forum

Very good video embedded on this page:
https://blogs.oracle.com/java/prepare-for-java-se-9

The YouTube URL is this:  https://youtu.be/z40Rytkt7sE

This is a big deal...

Roman Gerasimenko

unread,
Feb 23, 2018, 2:16:35 AM2/23/18
to NJ4X Forum
Please try to create JDK_JAVA_OPTIONS environment variable and set it to "--add-modules=java.xml.bind,java.xml.ws"

--
You received this message because you are subscribed to the Google Groups "NJ4X Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nj4x+unsubscribe@googlegroups.com.
To post to this group, send email to nj...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Roman Gerasimenko

unread,
Feb 23, 2018, 2:17:34 AM2/23/18
to NJ4X Forum
Thanks!

hyperscalper

unread,
Feb 23, 2018, 12:20:13 PM2/23/18
to NJ4X Forum

I installed jdk-9.0.4_windows-x64_bin.exe kit from Oracle.

Defined SYSTEM WIDE the JDK_JAVA_OPTIONS as you specified, and...

Things appear to run under Java 9 !!  Running Terminal Server v2.7.5 .

I am hoping for some performance boost overall and things do appear faster...

THANKS !



On Friday, February 23, 2018 at 12:16:35 AM UTC-7, NJ4X wrote:
Please try to create JDK_JAVA_OPTIONS environment variable and set it to "--add-modules=java.xml.bind,java.xml.ws"
2018-02-23 4:02 GMT+02:00 hyperscalper <future...@gmail.com>:
Hi,

Looks like Java 9 will be a challenge...  Both JDK and JRE seem to have missing packages.

An error occurred: java.lang.NoClassDefFoundError: javax/xml/ws/Endpoint java.lang.NoClassDefFoundError: javax/xml/ws/Endpoint at com.jfx.ts.net.TerminalServer.deploy(TerminalServer.java:245) at com.jfx.ts.net.TerminalServer.main(TerminalServer.java:135) Caused by: java.lang.ClassNotFoundException: javax.xml.ws.Endpoint at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ... 2 more

There was also an illegal reflection operation...

I have no immediate need for Java 9 at the moment, just tried running the Terminal Server
and it has several issues, as I'm sure you already know.


--
You received this message because you are subscribed to the Google Groups "NJ4X Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nj4x+uns...@googlegroups.com.

NJ4X

unread,
Feb 23, 2018, 1:17:40 PM2/23/18
to NJ4X Forum
You're welcome!
Reply all
Reply to author
Forward
0 new messages