on my Mac with OS X 10.8.2 was installed Java 1.6.0_37.
Today I have installed the jdk-7u11-macosx-x64.dmg from the Oracle downloads site without an uninstall of the Java 6 version.
If I check now the Java version by Terminal with the command “java -version” I get the output:
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
But the Servoy Server Status of servoy-admin shows:
JVM Information
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.version=1.6.0_37
java.vm.info=mixed mode
java.vm.vendor=Apple Inc.
I don’t understand this issue. Is it possible to switch between the Java versions or do I have to uninstall the Java Version I don’t want to use?
Right-click the Servoy developer app icon and choose “show package contents”. You’ll find this file in “Contents/MacOS/servoy.ini”.
It’s just a settings file so it’s ok to monkey with the contents. We haven’t tried Java 7 out yet ourselves so would be interested in what it takes to get working if you figure it out.
@David thank you, but the same for me like @rioba has posted.
At this moment, I don’t think Servoy is running multiplatform as well.
I have so many trouble to get the customers solutions running on their Macs, but I believe the Servoy guys do their best and Apple causes the problems, or?
However, there is a bug with Eclipse where specifying the vm doesn’t work on Macs. For the record, it seems more like a by design decision to me. Either way you cut it, specifying the vm in this way will not work on Mac OS X.
One thing to remember if you go this route is that neither servoy.ini or Info.plist are used with this setup. So you’ll need to add the missing java-related lines from both.
Although I met with some success at the time, I didn’t wind up actively using it because Eclipse 3.6 (the version used in Servoy 6) was pretty unstable with Java 1.7 on the Mac. I’m trying to get it to start up now and I can’t; probably I updated the JDK since then or something. In any event, I’d be interested to know if you’re able to get this working.
If I have a bit more time I will play with this and try to get this working. But new versions of Servoy and Java require changing the settings, or?
Normally it would be the best for me to stay on Java 6 without major problems and make the change to Java 7 if all Servoy stuff is unrestricted running with it.
tgs:
At this moment, I don’t think Servoy is running multiplatform as well.
I have so many trouble to get the customers solutions running on their Macs, but I believe the Servoy guys do their best and Apple causes the problems, or?
tgs:
Normally it would be the best for me to stay on Java 6 without major problems and make the change to Java 7 if all Servoy stuff is unrestricted running with it.
A developer running Servoy developer and customers running Smart Client are two different issues. As you say, for a developer just don’t move to Java 7. I’m still on OS 10.6.8 for that matter. I’m due for a new machine this year though and every time I get one – making sure everything works is a process that I don’t look forward to.
As I’ve mentioned in other threads before all the recent Java issues, targeting customers with Smart Client is a dead end in my opinion. It’s either get on the browser bandwagon as fast as you can or call it quits.
From this perspective, I believe Servoy is still very much multiplatform.
Now I have checked out (tried) a bit more on my main developing iMac with Mac OS X 10.8.2, Java 1.6.0_37 and 1.7.0_13.
Servoy 6.1.3 developer opens and runs with Java 6, also the debug client. I have no need to run the Servoy dev. with Java 7 if it is working well with Java 6 and both installed Java versions could be managed without occurring problems on my Mac. So this should be totally ok for me.
If I open a Smart Client from an Application Server, the Java 7 JRE is starting automatically and the solution is working fine.
On other Computers my Servoy 5 and 6 solutions are working with Java 7 without problems on Win XP → 7 and Mac OS X 10.6.8 → 10.8.2.
I’m very happy with this.
Excuse me ? A story on how to Uninstall Java posted in a forum of a Java based tool?
Sounds like click-bait to me. Not at least because this has been your first post even.