# Getting Servoy Developer to run in Java 1.5 on Mac OS X

**URL:** <https://forum.servoy.com/t/getting-servoy-developer-to-run-in-java-1-5-on-mac-os-x/6594>\
**Category:** Classic Servoy\
**Created:** [October 16, 2006, 5:38pm UTC](https://forum.servoy.com/t/getting-servoy-developer-to-run-in-java-1-5-on-mac-os-x/6594 "2006-10-16T17:38:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amisle](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@amisle](https://forum.servoy.com/u/amisle)\
**Post date:** [October 16, 2006, 5:38pm UTC](https://forum.servoy.com/t/getting-servoy-developer-to-run-in-java-1-5-on-mac-os-x/6594/1 "2006-10-16T17:38:35Z")

</div>

Hopefully this is a simple problem:

I am running Servoy 3.0 on Mac OS X 10.4.7 on a Mac Pro.

My CurrentJDK Symlink (/System/Library/Frameworks/JavaVM.Framework/Versions/) points to the 1.5 directory. When I do “java -version” in the Terminal, I get this:

```auto
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-113)
Java HotSpot(TM) Client VM (build 1.5.0_06-68, mixed mode)

```

So, in theory, Servoy Developer should run under Java 1.5, right? But no… in the Servoy about dialog, I get:

```auto
Servoy Developer
Version 3.0-build 371
Java version 1.4.2-67 (Mac OS X)

```

How do I make Servoy use Java 1.5?[/code]

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 16, 2006, 6:23pm UTC](https://forum.servoy.com/t/getting-servoy-developer-to-run-in-java-1-5-on-mac-os-x/6594/2 "2006-10-16T18:23:32Z")

</div>

Hi,

Servoy can be run under Java 1.5 with no problems.  
Just make sure you have the **all** the correct settings in /Applications/Utilities/Java/J2SE 5.0/Java Preferences.app

Here you see a screenshot of the settings. You need to set both top and bottom settings.

 ![java-preferences.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/b/b45602a3b117dd8acd29e79a4a8df34dac5e63db.png)

---

<div class="post-metadata">

**Author:** ![amisle](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@amisle](https://forum.servoy.com/u/amisle)\
**Post date:** [October 17, 2006, 4:57pm UTC](https://forum.servoy.com/t/getting-servoy-developer-to-run-in-java-1-5-on-mac-os-x/6594/3 "2006-10-17T16:57:46Z")

</div>

Thanks, Robert. That did the trick. I’m glad it really was a simple solution.

I figured that the J2SE 5.0 setting on top was enough, but indeed, reordering the bottom list to put 5.0 ahead of 1.4.2 is what enabled it. Re-reading it now, Servoy is a Java APPLICATION, not an Applet. Duh.

Now, bonus points to anyone who can tell me when the CurrentJDK symlink is looked at. I don’t understand why it’s necessary with the settings here in the Java Preferences application.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [October 17, 2006, 7:35pm UTC](https://forum.servoy.com/t/getting-servoy-developer-to-run-in-java-1-5-on-mac-os-x/6594/4 "2006-10-17T19:35:44Z")

</div>

Some applications ask specifically for a certain Java version. In that case the symlink is not used. Whenever that is not the case the symlink is used…
