Page 1 of 2

Smart client Java 9

PostPosted: Fri May 05, 2017 4:32 pm
by lwjwillemsen
Can you start the Servoy 7 smart client and run correctly Servoy solutions in Java 9?

Has Servoy (R&D) tested this yet?

Re: Smart client Java 9

PostPosted: Tue Jun 20, 2017 12:12 pm
by lwjwillemsen
Please some feedback!?

We see a lot of errors in de java (9) log when starting Smart Client Servoy7.

Re: Smart client Java 9

PostPosted: Tue Jun 20, 2017 12:15 pm
by patrick
What errors do you see?

Re: Smart client Java 9

PostPosted: Tue Jun 20, 2017 2:11 pm
by lwjwillemsen
Is / was it tested or not at Servoy?

Re: Smart client Java 9

PostPosted: Tue Jun 27, 2017 7:54 pm
by jcarlos
I think that Java 9 has changed the way dependencies are handled. Instead of jar, we have modules and even the JDK itself seems to be modularized, so there’s no telling what standard libraries users are adding. I think that this is breaking your Servoy solution (even Servoy itself).

Re: Smart client Java 9

PostPosted: Wed Jun 28, 2017 9:40 am
by lwjwillemsen
Thanks Juan-Carlos!

Is Java 9 support on the to do list of Servoy?

Re: Smart client Java 9

PostPosted: Wed Jun 28, 2017 11:29 am
by jcompagner
yes we have 2 cases where we will check if we need to change stuff for java 9:

https://support.servoy.com/browse/SVY-11235

https://support.servoy.com/browse/SVY-11234

that module system was in high debate

loads of them where against it in april: https://www.jcp.org/en/jsr/results?id=5959

but it did pass now:
https://www.jcp.org/en/jsr/results?id=6016

Re: Smart client Java 9

PostPosted: Wed Jun 28, 2017 2:05 pm
by lwjwillemsen
Thanks for this info Johan!

Re: Smart client Java 9

PostPosted: Fri Jul 07, 2017 2:10 pm
by jcompagner
i investigated both startups (developer and smart client)
made wiki pages for both:

https://wiki.servoy.com/display/DOCS/Ja ... martClient

https://wiki.servoy.com/display/DOCS/Ja ... +developer

so for the developer this will mean that only from 8.3 (when we upgrade to Eclipse 4.7 Oxygen) it will work for Java 9.
Servoy 8.2 and lower will be forced to use Java 8

For the Smart Client we need some configuration options to get rid of that new module system setup (that that is default enabled is beyond me, how can they break such large part of code like that...)
But another big problem i encountered is this case: https://bugs.openjdk.java.net/browse/JDK-8178799
They don't seem to fix this for java 9. That would be quite horrible for us if you use the "media:///xxxxx" in side your solution (like setting those urls on your label components or use it inside some html that you put on a label)
I don't see a direct workaround so it will work for all situation where now that media:/// handler is used.

Re: Smart client Java 9

PostPosted: Fri Jul 07, 2017 2:28 pm
by lwjwillemsen
Can you please notify Oracle of the (Servoy Smart Client) urgency for fixing JDK-8178799 for Java 9? (Make some noise?)
Can you make a Servoy 7 Developer version (4.7.20, 4.8.1 ?) with Eclipse 4.7 Oxygen?

Can you keep on top of this?

Regards,

Re: Smart client Java 9

PostPosted: Fri Jul 07, 2017 4:55 pm
by jcompagner
i already added a new bug pointing to that one that we really need that backported to java 9
But you can do the same adding a bug at oracle asking for a backport...

No we can't update servoy 7 with that that is way to huge, that will only work with a new 8.3 release.

Re: Smart client Java 9

PostPosted: Sun Aug 06, 2017 4:35 pm
by lwjwillemsen
Hi Johan,

i already added a new bug pointing to that one that we really need that backported to java 9


What is the bug-number at Oracle if you filed it public?

Regards,

Re: Smart client Java 9

PostPosted: Mon Aug 07, 2017 10:25 am
by jcompagner
thats not visible

the only public bug i can find is: https://bugs.openjdk.java.net/browse/JDK-8178799

so if you want to point oracle to that case that it is quite a serious regression, please just create also an issue in their system pointing to that bug.

Re: Smart client Java 9

PostPosted: Wed Sep 13, 2017 12:23 pm
by lwjwillemsen
https://wiki.servoy.com/display/DOCS/Java+9+support+and+the+SmartClient

Should this Java 9 setting also work on Servoy 7 Application Server?
If not please fix, at short term we cannot upgrade to Servoy 8 for all of our customers on premise.

Regards,

Re: Smart client Java 9

PostPosted: Thu Sep 14, 2017 10:03 am
by jcompagner
As far as i know the Servoy version doesn't matter for smart clients on the client machines
You just need to configure the same thing at the server so that the jnlp vmargs have the right values.

As long as you don't really depend on media:/// in custom html that you can have on labels or html area's