PDA

View Full Version : openjdk or Sun Java?



jdunn
May 14th, 2011, 04:27 PM
I'm a grad student developing Java with Eclipse. In the near future, I plan to take courses in mobile apps (with Android) and Enterprise Java. I've mostly used Sun Java in the past. However, with the installation of Natty, I'm using OpenJDK, which has worked alright for jdbc, threading and other stuff, except for the occasional missing javadoc. I'm just wondering if I should stay with it for upcoming courses.

r-senior
May 14th, 2011, 04:56 PM
I've had some problems with OpenJDK but I keep trying it. Most things do work perfectly well but I've had applications using Java Server Faces (JSF) not run correctly.

I've had to install Sun's Java on 11.04 but I don't recall the reason exactly - I think perhaps Netbeans wouldn't run properly.

t1497f35
May 15th, 2011, 09:53 AM
Sure, openjdk improved a lot in the recent years, but it's still yields weird bugs and behavior here and there, so if you don't like surprises you should use openjdk only starting with Java 7 which is due this summer, until then sun-java is the best imo.