22 Feb 2010, 11:43pm
Linux
by Matthias Rüedlinger

leave a comment

Eclipse with Ubuntu 9.10 (karmic)

I had some problems running eclipse 3.5 with Ubuntu 9.10 (Gnome 2.28.0 and GTK+ 2.18). When I clicked on an “open window” button nothing happens.

So after some googling I found that the problem is related with gtk. In version 2.18, GDK has been changed to use client-side windows.

I added the following start script for eclipse and the problem seems to be gone.

#!/bin/bash
GDK_NATIVE_WINDOWS=1  /home/mr/bin/eclipse-3.5/eclipse

Source:

http://library.gnome.org/devel/gtk/2.18/gtk-migrating-ClientSideWindows.html

https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/442078 9.10

Is Linux the better choice for Java developers?

Last week I had a discussion with some colleges from work, if it would be better when we used Linux instead of Windows. I don’t want to start a flame war with my blog. I personally use Linux because when I was a student I couldn’t effort the licenses cost :-) and since then I pretty happy with my choice. But I must say that I don’t’ have a problem to work with Windows, but sometimes I think it would be easier for me to work with Linux. But thats my personal opinion. I really miss a package manager (apt-get, emerge, etc.) under Windows and the shell (bash, etc).

I started to think about this topic when they did a update of the antivirus software last week. Suddenly the build of our Java application took longer, because the antivirus software scanned during the build all jar’s, war’s, ear’s and class files. It took about a day and the problem was fixed from the IT support! Now the problem is solved but there are still some points which could be improved, like to exclude XML files from the scan.

A big company mostly have a Java development crew and they have to customize the workstations for them. For example when you are lucky you have local administration rights and you can install a JDK. So would it be better to give them Linux workstations (or a MacBook Air…;-) with a Windows Terminal Server client to access the MS applications?

A interesting post is from Cay Horstmann about why Java developers should switch to Linux.
http://weblogs.java.net/blog/cayhorstmann/archive/2006/06/why_java_develo.html

And naturally a blog from Eitan Suez about Mac and Java.
http://weblogs.java.net/blog/eitan/archive/2004/11/java_developmen_1.html

 
 
  • Disclaimer

    This is a personal weblog. The opinions expressed here represent my own and not those of my employer.