Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 03-09-2005, 07:47 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Java Failing to Run...

Can anyone explain what this means and how to fix it before Friday 5pm:
[lees01@OITLNX ~/cs210]$ gcj -o --main=SetCalculatorMain SetCalculatorMainPackage/
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/tmp/cclcOCaL.o(.text+0x31): In function `SetCalculatorMainPackage::SetCalculatorMain::main(JArray<java::lang::String*>*)':
: undefined reference to `SetCalculatorMainPackage::SetCalculator::class$'
/tmp/cclcOCaL.o(.text+0x44): In function `SetCalculatorMainPackage::SetCalculatorMain::main(JArray<java::lang::String*>*)':
: undefined reference to `SetCalculatorMainPackage::SetCalculator::SetCalculator()'
collect2: ld returned 1 exit status
Old 03-10-2005, 02:27 PM   #2
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Usually an error like that means that for whatever reason, it's not getting what it expects from the input file. In this case, it can't figure out what "SetCalculatorMain" is.

Unfortunately, I'm not at all familiar with gcj. Are you required to use that, or can you use good ol' javac?


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
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
run java and tomcat varunbihani Linux - Software 2 09-17-2003 04:05 AM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 02:37 PM
Java applets run fine in Konqueror, but won't run in MS IE. OAnimal Linux - Software 7 12-04-2002 06:32 AM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:08 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