Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 05-05-2007, 01:54 AM   #1
Registered: Mar 2007
Posts: 36

Rep: Reputation: 15
Unhappy problem with gcj java compiler and eclipse !

i have tried compiling java programs on the command line ( terminal ) , but it has failed , the gcj shows an error something lik '/usr/lib/gcc4./../../../ , bad reference to main ' , i do not understand this ,.... i use FC 6 , and i have Eclipse IDE on it , i do not know how to use it , and when i open it , the whole system gets slow , nothing else works , everything hangs up , ... even gcc with '-x java' option shows error ,...please help me !
Old 05-05-2007, 06:09 PM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Why don't you install sun jdk? As for Eclipse being slow, that may be related to the amount of RAM that is available to you. Eclipse is quite demanding in resources (if I remember correctly, the windows version required 1GB of RAM to run fluently - I don't think the Linux version can't be far off). And there is excellent documentation on if you need to get familiar with it; it's well worth the trouble reading it if you want to develop java applications of a certain complexity. Netbeans IDE can be an alternative but if you don't understand Eclipse, I doubt whether you'll find Netbeans any easier to use.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
gcj java compiler problem >> stuck with gnome install espo111 Linux - Newbie 1 09-14-2006 11:58 AM
GCJ, the java compiler daziplqa Programming 18 06-22-2006 02:09 PM
Synaptic Package Manager shows 'java-common' and 'java-gcj-compat' as Installed. swiadek Ubuntu 3 02-12-2006 12:54 PM
Eclipse and gcj as JDK foucault Linux - Software 0 10-23-2005 12:56 PM
Java (Sun, Eclipse, gcj, ...) rpz Linux - Software 3 08-08-2005 10:02 PM

All times are GMT -5. The time now is 02:09 PM.

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