Java 8 update 40 breaks smartclient OSX Yosemite! [fixed]

Q&A regarding installation and issues getting started with Servoy

Java 8 update 40 breaks smartclient OSX Yosemite! [fixed]

Postby Harjo » Thu Mar 05, 2015 1:08 pm

Oracle did it again... :evil:
The Java 8 update 40, which is released, breaks the smart-client totally on OSX Yosemite
The smart-client does download, but after that, you can't get any cursor in a field
The smart-client does not appear in the dock
if you have focus on the smart-client, there is no menu of the smart-client.

The only thing you can do, is close the client.
It appears (from the few tests we did) that it appears on OSX Yosemite only...
Will do some more tests.. when we have more info, we will let you know...
Last edited by Harjo on Mon Apr 20, 2015 4:50 pm, edited 1 time in total.
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Java 8 update 40 breaks smartclient OSX Yosemite!

Postby Mark Voorboom » Thu Mar 05, 2015 1:20 pm

We have the same issue here. On OS X Mavericks (version 10.9) everything works fine.
Stb Software Development
SAN Partner
User avatar
Mark Voorboom
 
Posts: 20
Joined: Wed Aug 26, 2009 9:55 am
Location: Houten

Re: Java 8 update 40 breaks smartclient OSX Yosemite!

Postby jcompagner » Tue Mar 10, 2015 11:56 am

they seem to have backported this bug to java 8 from java 9:

http://bugs.java.com/bugdatabase/view_b ... id=8067637

it is also discussed here:

http://stackoverflow.com/questions/2886 ... e-know-why

it seems to be splashscreen related.

so starting it up from the command line like:

javaws -Xnosplash URLTOJNLP

seems to solve that problem what they describe above.
(or things like -Xdebug)

problem is that this can't be done server side (so in the jnlp or something). these arguments are for javaws application itself

edit: here the report that -Xnosplash also doesn't solve it always, but -Xdebug does: http://stackoverflow.com/questions/2890 ... x-yosemite
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Java 8 update 40 breaks smartclient OSX Yosemite!

Postby Mark Voorboom » Wed Mar 11, 2015 11:48 am

Starting the smartclient by commandline without any parameters seems also to work:

javaws http://server:8080/servoy-client/servoy ... start.jnlp
Stb Software Development
SAN Partner
User avatar
Mark Voorboom
 
Posts: 20
Joined: Wed Aug 26, 2009 9:55 am
Location: Houten

Re: Java 8 update 40 breaks smartclient OSX Yosemite!

Postby Harjo » Wed Mar 11, 2015 12:20 pm

Mark, are you sure that javaws is the version of Java 8 update 40?
what does java -version tell you in a Terminal?
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Java 8 update 40 breaks smartclient OSX Yosemite!

Postby Mark Voorboom » Wed Mar 11, 2015 12:33 pm

Harjo wrote:Mark, are you sure that javaws is the version of Java 8 update 40?
what does java -version tell you in a Terminal?


Yes you are right Harjo, from there i see an other version then installed:

java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

In our application i see after starting with command-line "1.8.0_40"

hmmm strange...
Stb Software Development
SAN Partner
User avatar
Mark Voorboom
 
Posts: 20
Joined: Wed Aug 26, 2009 9:55 am
Location: Houten

Re: Java 8 update 40 breaks smartclient OSX Yosemite!

Postby Harjo » Wed Mar 11, 2015 12:59 pm

if you want to use java on the commandline, you need to have a JDK installed.

Look under: /Library/Java/JavaVirtualMachines
there you will find your JDK 1.8.0_20

I have updated also my JDK to Java 8 update 40 and I can confirm, what your are saying.
starting the smartclient just by launching the jnlp file, like this: javaws http://blabla/mysolution.jnlp, works!

It is definitely a bug in this version of Java.
reports are rolling in, at java bug tracker: https://bugs.openjdk.java.net/browse/JDK-8074669
https://bugs.openjdk.java.net/browse/JDK-8074668
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Java 8 update 40 breaks smartclient OSX Yosemite!

Postby Mark Voorboom » Fri Mar 27, 2015 4:38 pm

Today Java released EA release 8 update 60 b08.

https://jdk8.java.net/download.html

In this e.a.version the issue with the splash screen has focus is solved.

Just tested and it works.
Stb Software Development
SAN Partner
User avatar
Mark Voorboom
 
Posts: 20
Joined: Wed Aug 26, 2009 9:55 am
Location: Houten

Re: Java 8 update 40 breaks smartclient OSX Yosemite!

Postby Harjo » Mon Apr 20, 2015 4:49 pm

The Yosemite issue, and startup slowdowns of smart-client are both fixed in the just released: Java 8 update 45! :D
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Java 8 update 40 breaks smartclient OSX Yosemite! [fixed

Postby Providence1 » Tue Apr 21, 2015 5:35 pm

What version(s) of Servoy are you using?

Anyone using 6.1.6?
Providence
Providence1
 
Posts: 456
Joined: Tue Aug 17, 2004 2:36 am
Location: New York, NY

Re: Java 8 update 40 breaks smartclient OSX Yosemite! [fixed

Postby Harjo » Tue Apr 21, 2015 6:28 pm

We use 7.x.x
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands


Return to I'm just getting started

Who is online

Users browsing this forum: No registered users and 3 guests

cron