LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-24-2005, 05:32 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
Blackdown java and offical sun java


Is the blackdown java JDK compatible with the offical sun microsystems version of java. ie I can develop applications using both of them. As at uni I use sun but at home I use blackdown. The sun micorsystems amd64 bit version doesn't come with a browser plugin.
 
Old 12-24-2005, 06:10 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Well for one thing Blackdown only has Java 1.4, while Sun uses Java 1.5; so you may want to be careful about that.
 
Old 12-24-2005, 06:41 PM   #3
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
but as long as am careful about the functions am using then it's ok then right?
 
Old 12-24-2005, 07:45 PM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally Posted by linuxmandrake
but as long as am careful about the functions am using then it's ok then right?
No, Java 1.5 uses a new bytecode format. If you compile on Java 1.5, the class files will not run on 1.4 and before; unless you avoid using any new Java 1.5 language features and then use "javac -target 1.4" or something like that to make it compile into 1.4 format. If you DO need to use new Java 1.5 language features, you can check out Retroweaver.
 
Old 12-24-2005, 10:05 PM   #5
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
ah thanks alot thankfully i dont think i would need any 1,5 specifics. I will be able to avoid them in my case phew
 
Old 12-25-2005, 03:14 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
As far as I know, Blackdown Java is not a different JVM implementation, but is actually Sun's code ported to Linux.
It was interesting before Sun released JREs/JDKs for Linux too, but these days I'm wondering if there is really a difference (outside differing subrelease version numbering, and Java 5.0 and 6.0 missing in Blackdown).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Blackdown Java v1.1.8 in SUSE v9.3 hanasi SUSE / openSUSE 2 09-02-2005 05:01 PM
Installing Blackdown Java v1.1.8 hanasi Linux - Software 2 08-26-2005 12:58 AM
Blackdown Java raysr Linux - Software 10 12-15-2003 02:33 PM
Blackdown Java Help! saiz66 Slackware 6 06-24-2003 11:30 AM
RedHat 8 and Blackdown Java MarcRJacobs Linux - Newbie 21 04-11-2003 02:38 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration