MacOS X 10.7 Lion that will be released in a few days, will not support PowerPc applications. So, if there is any Mac with Servoy developer 3.5 (or earlier) still installed you should consider migrating to a more recent version of Servoy or not adopting Lion.
Hi,
What part of Servoy 3.5 (or earlier) is PPC native ?
Perhaps the bundled Sybase is but you can use any SQL database (including the new Sybase 11) with Servoy 3.5 (or earlier).
Okay, I just tested Servoy 3.5 on Lion and it all works fine. Only thing that doesn’t work is the Servoy.app .
But you can launch Developer fine just by clicking the servoy_developer.jar.
Just be aware that Lion comes (when downloaded) only with Java 6 (32/64-bit) so perhaps even older versions of Servoy that support only Java 1.4 and 5 might not work properly.
You are right. I was surprised at first being Servoy a Java application. I thought it had something to do with the way it is compiled. I know almost nothing of Java. I was just checking the list of PowerPc applications using System Profiler and Servoy R2 2.0 was listed as PowerPC. I tried it and just refused to start. I did not think I could bypass the app by directly clicking servoy_developer.jar.
Does anyone know how hard it would be to create a new servoy_developer.app which did work with lion.
I know this is not supported, but as some users are still using this as a standalone, it would give them something they can put in their dock!
David
I guess an AppleScript will do it.
I will look into it.
Here is the source of the AppleScript:
set text item delimiters to ":"
set _aPath to (every text item of (path to me as string))
set _aPath to items 1 thru ((count items in _aPath) - 2) of _aPath
set _oFullPathToApp to ((_aPath & "servoy_developer.jar") as string) as alias
tell application "Finder" to open _oFullPathToApp
I also attached the executable (zipped since it’s a bundle). Just place the app in the same directory of the servoy_developer.jar and it should work.
Then you can place this AppleScript app in the Dock and you are done.
Hope this helps.
ServoyLauncher.app.zip (55.1 KB)
ROCLASI:
Just be aware that Lion comes (when downloaded) only with Java 6 (32/64-bit) so perhaps even older versions of Servoy that support only Java 1.4 and 5 might not work properly.
If anybody is interested in installing Java 5 on Lion, Brice Dutheil explains how to on his blog. There is also a very useful script that will automate everything. A similar approach could be used for Java 1.4.
rioba:
If anybody is interested in installing Java 5 on Lion, Brice Dutheil explains how to on his blog. There is also a very useful script that will automate everything. A similar approach could be used for Java 1.4.
I guess a direct URL would be nice
It’s http://blog.arkey.fr/2011/08/22/script- … cosx-lion/
And if you can’t read french here is the google translation into english.
http://translate.google.com/translate?s … 2F&act=url
Rioba, thanks for this tip!
I am really sorry for the missing link. Thanks to the ever vigilant Roclasi for fixing this.
Where does the Jar file get its memory settings from for developer?
I use this as standalone an my plist file had the settings
-XX:PermSize=256m -XX:MaxPermSize=512m -Xmx800m -Xms512m
i think i am getting some memory issues now when opening developer using the Jar file (and the great little .app you created).
Are those settings in the servoy.properties file or does this need opening with some command line additions (which i never understand) like the server file in order to tell it to mimic these memory settings?
Thanks
David
Hi David,
The following AppleScript is even simpler and does what you want:
set servoyFolder to do shell script "dirname \"" & (POSIX path of (path to me)) & "\""
do shell script "cd \"" & servoyFolder & "\";java -XX:PermSize=256m -XX:MaxPermSize=512m -Xmx800m -Xms512m -jar servoy_developer.jar Servoy"
Again I attached the .app (with custom icon) for your convenience. Just place it in the same directory as the servoy_developer.jar .
Hope this helps.
ServoyLauncher.app.zip (54.3 KB)
I have a 3.5 install on Lion that I can open by clicking on the .jar file - so far, so good
However, the database supporting it is Sybase 9 which will not run under Lion
Any thoughts on how to get past this hurdle ??
Cheers
Harry
Re: Sybase 9 on OS X Lion - Problem Solved
I simply repointed the servoy repository to a MySQL database and reimported the solutions
All db connections were still valid as they were in MySQL so all is well with the world - albeit a world populated by old versions
Cheers
Harry