problem with java in fedora4

Thread Solved

Join Date: Nov 2006
Posts: 9
Reputation: laddu is an unknown quantity at this point 
Solved Threads: 0
laddu laddu is offline Offline
Newbie Poster

problem with java in fedora4

 
0
  #1
Nov 27th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 263
Reputation: Dukane is an unknown quantity at this point 
Solved Threads: 22
Dukane's Avatar
Dukane Dukane is offline Offline
Posting Whiz in Training

Re: problem with java in fedora4

 
0
  #2
Nov 27th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: problem with java in fedora4

 
0
  #3
Nov 28th, 2006
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 9
Reputation: laddu is an unknown quantity at this point 
Solved Threads: 0
laddu laddu is offline Offline
Newbie Poster

Re: problem with java in fedora4

 
0
  #4
Nov 29th, 2006
how to set the $PATH..i have no idea,plz help!
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: problem with java in fedora4

 
0
  #5
Nov 29th, 2006
read some Unix tutorials.
This has nothing to do with Java per se, but core operating system knowledge.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: problem with java in fedora4

 
0
  #6
Nov 29th, 2006
Originally Posted by laddu View Post
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.
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 9
Reputation: laddu is an unknown quantity at this point 
Solved Threads: 0
laddu laddu is offline Offline
Newbie Poster

Re: problem with java in fedora4

 
0
  #7
Nov 30th, 2006
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
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC