![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Programming Talk This forum is for all programming questions. The questions do not have to be directly related to Ubuntu and any programming language is allowed. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Apr 2006
My beans are hidden!
|
sun-java6-jdk vs. openjdk-6-jdk
Is the openjdk now the way forward. I currently have sun-java6-jdk. I just wanted clarification that the openjdk is now the offical install from here on out for the java programming language.
Thanks. |
|
|
|
|
|
#2 |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: Jun 2006
Location: The Netherlands
Beans: 2,120
Ubuntu 9.04 Jaunty Jackalope
|
Re: sun-java6-jdk vs. openjdk-6-jdk
The best version of Java to use at the moment is Sun Java 6.
OpenJDK is Sun's project to make their Java implementation fully open source. The next version of Sun Java (Sun Java 7, expected no sooner than March 2010) is going to be based on OpenJDK. The version of OpenJDK that's in the Ubuntu repository is a Sun Java 6-compatible version of OpenJDK; it's basically the same as Sun Java 6, but with some proprietary parts (that Sun didn't write themselves) replaced by open source software (parts of the font rendering, graphics and sound stuff). For the most part, OpenJDK works well with most Java applications, but unfortunately it is not 100% compatible with Sun Java 6, which causes problems with some Java programs, especially some online banking Java applets. For Java software development, it really doesn't matter if you take the Sun JDK or the OpenJDK JDK, because the APIs are exactly the same. Just the implementation is different.
__________________
MacBook Pro | 2.66 GHz | 4 GB RAM | nVidia 9400 + 9600 | 320 GB HDD | Mac OS X Snow Leopard Dell Mini 9 | 2 GB RAM | 32 GB SSD | Ubuntu Netbook Remix 9.04 Ubuntu on the Dell XPS M1530 |
|
|
|
|
|
#3 | |
|
Moco Java filled *untu
![]() ![]() Join Date: Feb 2008
Location: Cape Town, South Africa
My beans are hidden!
Ubuntu 8.04 Hardy Heron
|
Re: sun-java6-jdk vs. openjdk-6-jdk
Quote:
But generally if you code for openjdk and run your app on only openjdk it should be ok.
__________________
My Blog| How to ask Questions| Ubuntu Psychocats | Running Java | Php Tips | Installing Php |
|
|
|
|
|
|
#4 |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: sun-java6-jdk vs. openjdk-6-jdk
Thanks, I just tested it and realise that a swing app I have here displays a bit differently in truth, not as neat as the sun distribution.
|
|
|
|
|
|
#5 |
|
Day Old Decaf
![]() Join Date: Nov 2006
Beans: 1,134
|
Re: sun-java6-jdk vs. openjdk-6-jdk
Make sure to install the Lucida TrueType font. This has been the default font in Swing applications until OpenJDK. It is missing in the OpenJDK package but available separately.
|
|
|
|
|
|
#6 |
|
Quad Shot of Ubuntu
![]() Join Date: Jun 2006
Beans: 445
|
Re: sun-java6-jdk vs. openjdk-6-jdk
Some apps don't work at all with openjdk. Eg. BlueJ.
|
|
|
|
|
|
#7 |
|
Chocolate-Covered Ubuntu Beans
![]() Join Date: Jun 2006
Location: The Netherlands
Beans: 2,120
Ubuntu 9.04 Jaunty Jackalope
|
Re: sun-java6-jdk vs. openjdk-6-jdk
There's a package named sun-java6-fonts which will install fonts for Sun Java 6.
__________________
MacBook Pro | 2.66 GHz | 4 GB RAM | nVidia 9400 + 9600 | 320 GB HDD | Mac OS X Snow Leopard Dell Mini 9 | 2 GB RAM | 32 GB SSD | Ubuntu Netbook Remix 9.04 Ubuntu on the Dell XPS M1530 |
|
|
|
|
|
#8 |
|
Day Old Decaf
![]() Join Date: Nov 2006
Beans: 1,134
|
Re: sun-java6-jdk vs. openjdk-6-jdk
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|