I have installed Servoy 5.2.2 on Linux Ubuntu 9.10 with Java version 1.6.0_18 and i have tried running several examples solutions provided with Servoy developer.
With Web Browser it’s all OK, but when i try to start Smart Client, the entire developer shut down after few seconds without make appear smart client.
I’ve tried also with Ubuntu 10.04 64-bit with same version of Java and I’ve the same problem.
I’ve installed Servoy Developer in my home directory with my user credentials (I’ve not installed Servoy developer with root).
I lunch developer by terminal with this script:
PATH=/usr/local/servoy/application_server/postgres_db/lib/postgresql:$PATH
cd ~/servoy/developer
./servoy
I see the same thing with Servoy 5.2.1 on Ubuntu 10.04 32-bit.
I get the launch window (with the progress bar) and it stops halfway and seconds later it crashes or sometimes just hangs.
Nothing shows up in the .log file in the workspace in either situation.
Edit: Updated to 5.2.2 and first launch managed to see the debug client window for a second just before developer crashed again. Tried it again and Developer hangs.
Fabry67:
I have installed Servoy 5.2.2 on Linux Ubuntu 9.10 with Java version 1.6.0_18 and i have tried running several examples solutions provided with Servoy developer.
With Web Browser it’s all OK, but when i try to start Smart Client, the entire developer shut down after few seconds without make appear smart client.
I’ve tried also with Ubuntu 10.04 64-bit with same version of Java and I’ve the same problem.
I’ve installed Servoy Developer in my home directory with my user credentials (I’ve not installed Servoy developer with root).
I lunch developer by terminal with this script:
PATH=/usr/local/servoy/application_server/postgres_db/lib/postgresql:$PATH
cd ~/servoy/developer
./servoy
Is PostgresQL running? Were the tables from repository created? I had problems with the installation due to problems with PostgreSQL (as a bundled and separate installation).
I am using KDE, but if I remember well, I also saw that on a Mint/Gnome install I tried.
Servoy uses eclipse which uses the swt-gtk binding on Linux, both on Gnome and KDE.
I think the problem is with the mix of swing(awt) and swt libraries we use when you start the smart client (swing) from developer (swt).
The regular smart client, started using webstart, works fine because this is swing-only.
Servoy only works on Linux with KDE , in all the Linux that I have tested Servoy Develeper
crash when you star a solution with SmartClient.
In openSUSE 11.3 32 bits with KDE and KUBUNTU 10.10 32 bits Servoy works fine.
I would prefer to use the Gnome environment if possible. It sounds like my only option on Gnome may be to downgrade to Sun Java 5 which reached end of life over a year ago. Is Servoy working to correct the problem so I can use a supported version of Java? What problems would I run into if I used OpenJDK?
If Servoy Developer only works on Linux with KDE, it would have saved me a lot of trouble if that was explained in the installation instructions and tutorials.
Could the problem be that the Kunststoff Look and Feel has problems with Gnome? I thought I reported this problem in the forums months ago. See: viewtopic.php?f=11&t=14578#p77373
I don’t believe that Servoy Developer is incompatible with Gnome.
I have a VM setup with Mint/Gnome and Servoy Developer 5.2.x working happily on it (with the BrowserSuite using SWT as well).
It didn’t work from the start though, and I’m not entirely sure what did the trick.
But what I remember doing was:
1/ Uninstall the build-in OpenJDK which was part of the distribution
2/ Install Sun Java JRE 1.6
3/ Install Servoy developer
At this point, launching the debug client was quitting Servoy, as you have experienced.
4/ Install Sun Java JRE 1.5 (from the Sun binary download, I couldn’t find it elsewhere in any available verse)
5/ update-java-alternatives to JRE 1.5
At this point, making sure that I was actually using 1.5, this was working, but I did change the look and feel (trying to find one that was no too ugly - I could do that now from the preferences of the Smart client in debug mode). I think I was using the Metal L&F when I decided to give it another go:
6/ update-java-alternatives back to JRE 1.6
The debug client was now launching properly.
7/ I even went as far as uninstalling Java 1.5 entirely to make sure that under Java 1.6 it wasn’t using some 1.5 classes or binaries.
And it is still working with 1.6
This inclines me to agree with you that the problem might actually be with the L&F…
That being said, I’m no Linux geek, so I didn’t investigate any further.
All I can say is that Servoy IS working fine with Gnome for me now.
ngervasi:
Installing SUN Java in Ubuntu is quite easy now, in the past it was a pain in the ass…
It is easy if you want the latest available.
If you need a specific (possibly obsolete - one that is not available to apt-get) version, it’s not that straightforward, try installing 1.5.0_12 for example… good luck!
That’s true but with Java 6 I don’t have much problems, I must admit though that I’m using it heavily only for server purposes and not so much for servoy clients.