Smart client Java 9

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Smart client Java 9

Postby lwjwillemsen » Fri May 05, 2017 4:32 pm

Can you start the Servoy 7 smart client and run correctly Servoy solutions in Java 9?

Has Servoy (R&D) tested this yet?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smart client Java 9

Postby lwjwillemsen » Tue Jun 20, 2017 12:12 pm

Please some feedback!?

We see a lot of errors in de java (9) log when starting Smart Client Servoy7.
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smart client Java 9

Postby patrick » Tue Jun 20, 2017 12:15 pm

What errors do you see?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3594
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Smart client Java 9

Postby lwjwillemsen » Tue Jun 20, 2017 2:11 pm

Is / was it tested or not at Servoy?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smart client Java 9

Postby jcarlos » Tue Jun 27, 2017 7:54 pm

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).
Last edited by jcarlos on Wed Jun 28, 2017 4:12 pm, edited 1 time in total.
Juan-Carlos Sanchez, Stanford University - Law and Economics
jcarlos
 
Posts: 569
Joined: Thu May 04, 2006 8:55 pm
Location: Palo Alto, California USA

Re: Smart client Java 9

Postby lwjwillemsen » Wed Jun 28, 2017 9:40 am

Thanks Juan-Carlos!

Is Java 9 support on the to do list of Servoy?
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smart client Java 9

Postby jcompagner » Wed Jun 28, 2017 11:29 am

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smart client Java 9

Postby lwjwillemsen » Wed Jun 28, 2017 2:05 pm

Thanks for this info Johan!
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smart client Java 9

Postby jcompagner » Fri Jul 07, 2017 2:10 pm

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smart client Java 9

Postby lwjwillemsen » Fri Jul 07, 2017 2:28 pm

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,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smart client Java 9

Postby jcompagner » Fri Jul 07, 2017 4:55 pm

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smart client Java 9

Postby lwjwillemsen » Sun Aug 06, 2017 4:35 pm

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,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smart client Java 9

Postby jcompagner » Mon Aug 07, 2017 10:25 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smart client Java 9

Postby lwjwillemsen » Wed Sep 13, 2017 12:23 pm

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,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Smart client Java 9

Postby jcompagner » Thu Sep 14, 2017 10:03 am

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Next

Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 5 guests

cron