bevil wrote:Has anyone got any further with this?
7.4 will not start at all (an error has occurred).
Any suggestions would be welcomed... Hopefully this is not the end of the line for Servoy for Mac users...
Hi Bevil,
I too had issues when I got my M1 MBP with Servoy 7.4, but managed, with the help of the forums to get it working.
Install a 1.8 JDK (I used jdk1.8.0_131)
Open your Servoy app package & edit the Contents/info.plist adding/editing the Eclipse section similar to this, so that it points to your older Java
- Code: Select all
<key>Eclipse</key>
<array>
<!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options:
<string>-vm</string><string>/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands/java</string>
<string>-vm</string><string>/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java</string>
-->
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java</string>
<string>-keyring</string><string>~/.eclipse_keyring</string>
<string>-showlocation</string>
<!-- WARNING:
If you try to add a single VM argument (-vmargs) here,
*all* vmargs specified in eclipse.ini will be ignored.
We recommend to add all arguments in eclipse.ini
-->
</array>
Then launch (it's a bit slow to get going, but should work fine.
With newer, non-native versions, you can try to edit the (package contents) Eclipse/servoy.ini adding in a line pointing to a different Java stored somewhere (I used jdk-11.0.2) adding in a 'vm' line like
- Code: Select all
-vm
/Users/[my home]/jdk-11.0.2.jdk/Contents/Home/lib/jli/libjli.dylib
Now I can develop across all my old installs
Good luck!