944,196 Members | Top Members by Rank

Ad:
Nov 27th, 2006
0

problem with java in fedora4

Expand Post »
hi!! i'm new to java and need some help! i installed j2sdk on fedora4.it installed successfully.i could also compile & run 2 programs successfully. but after i restarted the computer and tried compiling using javac it gave me an error...
javac:symbol lookup error:/usr/lib/libjc.so.6:undefined symbol : ztvn4java3awtgeo118

i tried it so many times and also reinstalled it,but it gives me the same message.somebody please tell me what is the problem
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
laddu is offline Offline
9 posts
since Nov 2006
Nov 27th, 2006
0

Re: problem with java in fedora4

You're in the wrong forum. Try posting in the Tech Talk/Unix and Linux forum for problems with Linux. This forum is about problems related to developing software with Java.
Reputation Points: 45
Solved Threads: 28
Posting Whiz in Training
Dukane is offline Offline
282 posts
since Oct 2006
Nov 28th, 2006
0

Re: problem with java in fedora4

well, you're not using the official JDK there.
Check your $PATH and $JAVA_HOME environment settings and make sure they point to your JDK installation.
As it is you're pointing to gcj which is to put it bluntly a disaster, I'm surprised you got anything to compile and/or run under it at all.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Nov 29th, 2006
0

Re: problem with java in fedora4

how to set the $PATH..i have no idea,plz help!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
laddu is offline Offline
9 posts
since Nov 2006
Nov 29th, 2006
0

Re: problem with java in fedora4

read some Unix tutorials.
This has nothing to do with Java per se, but core operating system knowledge.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Nov 29th, 2006
0

Re: problem with java in fedora4

Click to Expand / Collapse  Quote originally posted by laddu ...
how to set the $PATH..i have no idea,plz help!
To view what's currently in your PATH or JAVA_HOME variable:
# echo $PATH
# echo $JAVA_HOME
You'll see a list of paths seperated by colons. If the path where you installed Java is not in either of these, you should probably add them like so (add them to both, just to be safe):
# PATH=$PATH:/path/to/add
# JAVA_HOME=/where/java/is/installed
Of course, these paths are only temporary. To permenantly add them, you'll need to edit your .bash_profile or some other startup script that your distro uses. Again, refer to documentation for exact instructions.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Nov 30th, 2006
0

Re: problem with java in fedora4

i'm sorry for posting in the wrong forum

And thanx to all your help,my java is running now.I had to set $PATH & $JAVAHOME /etc/profile.Thanx a lot
Reputation Points: 10
Solved Threads: 0
Newbie Poster
laddu is offline Offline
9 posts
since Nov 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: DSL Apache (won't start with system)
Next Thread in Linux Applications and Software Forum Timeline: Debian linux c++ development





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC