Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Q&A regarding installation and issues getting started with Servoy

Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby huber » Tue Mar 31, 2015 3:26 pm

I deinstalled the Java Virtual Machine on my OS X machine to see if Servoy 7.4.3 still needs Java 1.6.0. It seems so as a dialog appeared to download Java 1.6. I thought I read in the Servoy forum that Servoy Developer doesn't need Java 1.6 any more. Not true?

Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby Harjo » Tue Mar 31, 2015 9:25 pm

Servoy 7.4.3 does not need Java 1.6....
it runs fine under Java 7 & 8, there is an issue, with the latest Java 8 wit Yosemite. (you can't get the cursor into fields)
you can workaround it: viewtopic.php?f=11&t=20808&p=111681&hilit=oracle#p111722

What dialog do you see??
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: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby huber » Tue Mar 31, 2015 10:57 pm

I uninstalled Java 1.6 in /System/Library/Java/JavaVirtualMachines/ so there is no Java installed at all any more on my Mac (and also no Java Developer Previews in /Library/Java/JavaVirtualMachines/).

Then I start Servoy Developer and get the attached dialog. I would have expected a dialog telling me to install the current JVM, not version 1.6.

Harjo wrote:Servoy 7.4.3 does not need Java 1.6....
it runs fine under Java 7 & 8, there is an issue, with the latest Java 8 wit Yosemite. (you can't get the cursor into fields)
you can workaround it: viewtopic.php?f=11&t=20808&p=111681&hilit=oracle#p111722

What dialog do you see??


Regards,
Attachments
install java 1.6.png
install java 1.6.png (62.13 KiB) Viewed 20862 times
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby Harjo » Tue Mar 31, 2015 11:54 pm

Ahh, You are talking about developer. Left OSX years oke, for developing in Servoy....
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: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby tgs » Wed Apr 01, 2015 4:33 pm

Hi Robert,

do you have any other Java Version installed on your Mac?

I did the same as you to uninstall Java 6 but installed Java 8 bevor starting Servoy Developer.
For me it's working, but I don't know where I can detect under wich Java version the Servoy Developer is running!?
BTW I'm still on OS X 10.9.5.

Regards

EDIT:
I have still Java 1.6.0.jdk in /System/Library/Java/JavaVirtualMachines/.
But "java -version" in the Terminal returns "build 1.8.0_40". Thought Servoy Dev. ist running with this JRE, but I'm obviously wrong!?
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby jcompagner » Thu May 21, 2015 10:33 am

you can see exactly where the developer runs with if you open the Help->About->Installation details ->Configuration

there you see a textarea with all the java options that are currently there/set

for example: java.version=1.8.0_20
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby huber » Thu May 21, 2015 11:40 am

It shows in my environment the following:
Code: Select all
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib
eclipse.home.location=file:/Applications/Servoy/developer/
eclipse.launcher=/Applications/Servoy/developer/servoy.app/Contents/MacOS/servoy
eclipse.launcher.name=Servoy
eclipse.p2.data.area=@config.dir/../p2/
eclipse.p2.profile=Servoy
eclipse.product=com.servoy.eclipse.core.ide
eclipse.startTime=1432200451190
eclipse.vm=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib
eclipse.vmargs=-Xms40m
-Xmx512m
...


So it seems to run on Java 1.8.0_x.
But then I am wondering why is the Servoy Developer asking to install Java 1.6.0 when this Java version is not installed? I have to install Java 1.6, as otherwise Servoy Developer does not run.

- OS X 10.9.5
- Servoy Developer 7.4.3
- There is Java 1.6.0 (need, see above) and Java 1.8.0 installed

Regards,


jcompagner wrote:you can see exactly where the developer runs with if you open the Help->About->Installation details ->Configuration

there you see a textarea with all the java options that are currently there/set

for example: java.version=1.8.0_20
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby jcompagner » Thu May 21, 2015 11:53 am

i see we tried to fix something for this: https://support.servoy.com/browse/SVY-7341

but that should be i think in 7.4.3 but its still a problem with the latest 7.4.4?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby huber » Wed May 27, 2015 10:54 am

The Application Server and the Servoy Developer Version 7.4.4 are still asking for Java 1.6 on OS X and not starting if one doesn't install Java 1.6. Can you please have a look at this problem again - thanks a lot!

jcompagner wrote:i see we tried to fix something for this: https://support.servoy.com/browse/SVY-7341

but that should be i think in 7.4.3 but its still a problem with the latest 7.4.4?


Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby jcompagner » Wed May 27, 2015 1:49 pm

what i don't get is your comment about the "application server"
that will for sure not ask for a java 1.6 thats just an .sh file that just starts "java xxxxxxxxx"


But if you do a clean install of server 7.4 .4 so get the installer and install a brand new clean install
then if you start the developer it wants java 6?

We are not talking here about a upgraded one, because upgrading does only upgrade plugins not the exe or anything related to the "app"
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby huber » Wed May 27, 2015 5:57 pm

With the hint to the Application Server I meant a stand alone Application Server will not start if no Java 6 is present. With stand alone I mean the Application Server which is not started by the Sevoy Developer, but started for example on OS X by the launch daemon and the launchctl list. For example with following line
Code: Select all
sudo launchctl load -w /Library/LaunchDaemons/com.servoy.server.plist


Of course, the one started by the Developer does also not start, but there the Developer previously says it's needing Java 6.

Hope this helps clarifying.
Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby ROCLASI » Wed May 27, 2015 6:28 pm

Hi Robert,

What does the servoy log say? This is for the Servoy server, not Developer.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby ROCLASI » Wed May 27, 2015 8:45 pm

Hi Robert,

I just tested 7.4.3 and 7.4.4 on a Mac OS X 10.10 environment with Java 7 on it and both versions don't ask for Java 6.
I tried both Developer and Server and both run without any issues.

The fact that Servoy server is not running for you might suggest there is something else going on. You say you uninstalled the Java Virtual Machine, do you still have Java 7/8 installed? Perhaps some symlinks/environment variables are not pointing to the Oracle JVM(s).
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby huber » Fri May 29, 2015 8:56 am

Hi Robert

Thanks for testing. I have the current Java 8 installed. Are you aware of a way to check the sys links and environment variables? I am going to check with a clean installation of the Developer (was not aware there is a difference between updated and clean installation concerning the Developer).

Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Does Servoy Developer 7.4.3 still need Java 1.6 on OS X?

Postby tgs » Tue Jul 21, 2015 11:51 am

Since I have installed Java jdk 1.8.0_51, I get the message for installing Java SE 6!!??

java6.png
java6.png (58.7 KiB) Viewed 20417 times

Servoy Dev. 7.4.4
Mac OS X 10.10.4

Servoy Dev. was starting without the message with the previous Version of Java 8!

p.s.
I have set the symlink by:
Code: Select all
ln -nsf /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home”
export PATH=$JAVA_HOME/bin:$PATH
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Next

Return to I'm just getting started

Who is online

Users browsing this forum: No registered users and 3 guests