• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

"Sun" Java v/s OpenJDK

Posts: 11445
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recently upgraded my Ubuntu to 10.4 One of the things which I noticed was that the Sun/Oracle Java version which was previously the default is now being replaced by OpenJDK.

In such scenarios, would applications developed using say Sun JDK run with machines having Open JDK? Maybe now they will, but say in one years time? Or two?
Java Cowboy
Posts: 16084
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at http://openjdk.java.net/

OpenJDK is Sun's project to develop a 100% open source JDK. They started this project a few years ago, along with big announcements that Java would be open sourced. They couldn't make JDK 6 open source easily, because they used third-party components that they don't own the rights for.

The goal of the OpenJDK project is to replace those components with open source counterparts. One example is the font rendering.

For the future, JDK 7 should be fully based on OpenJDK and should become 100% open source.

Ofcourse the goal for OpenJDK is to be 100% compatible with Sun Java, so anything you've developed with the Sun JDK should run on OpenJDK Java and vice versa.

The Java 6 version of OpenJDK has been the default Java version for Ubuntu and a number of other Linux distributions for a while already. I haven't really used Ubuntu in a while, but a year or so ago there were still a number of incompatibilities in OpenJDK so that not everything worked flawlessly.
The fastest and most reliable components of any system are those that are not there. Tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic