LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 04-12-2006, 06:08 AM   #1
piggysmile
Member
 
Registered: Apr 2004
Location: Philippines
Posts: 175

Rep: Reputation: 30
Importance of GCJ vs. JDK


Is JDK still needed if you have GCJ installed?
What are the advantages of having both?
 
Old 04-12-2006, 08:56 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 70
You don't really need jdk if you have gcj installed. From personal experience, jdk is a lot better than gcj because some apps simply refuse to work properly with gcj but work fine with jdk.
 
Old 04-12-2006, 11:27 AM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,858
Blog Entries: 1

Rep: Reputation: Disabled
If you want a "real Java", you should really download the Sun JDK. Specifically:

1. Sun's JDK is (by definition) 100% conforming to the Java standard. GJC isn't.

2. Sun's JDK writes Java byte code that will run on any platform. GJC doesn't.

3. If you want to work with an IDE like NetBeans or Eclipse, you should download the Sun JDK.

4. If you want to use any of the new Java 5.0 features, you must download the Sun JDK.

IMHO .. PSM

Last edited by paulsm4; 04-12-2006 at 11:29 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gcj javac instead of jdk javac rvindiola Linux - Newbie 2 03-29-2006 08:18 PM
Hard drive warranty length importance? elfoozo Linux - Hardware 4 12-11-2005 04:25 PM
opensuse => importance of /home/name/bin ? ungua Suse/Novell 3 12-02-2005 08:48 AM
Eclipse and gcj as JDK foucault Linux - Software 0 10-23-2005 11:56 AM
Importance of IT certifications rbr28 Linux - Certification 3 04-06-2004 05:16 PM


All times are GMT -5. The time now is 03:40 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration