| | |
problem with java in fedora4
Thread Solved |
•
•
Join Date: Nov 2006
Posts: 9
Reputation:
Solved Threads: 0
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
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
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.
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.
To view what's currently in your PATH or JAVA_HOME variable:
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):
Of course, these paths are only temporary. To permenantly add them, you'll need to edit your
# echo $PATH # echo $JAVA_HOME
# PATH=$PATH:/path/to/add # JAVA_HOME=/where/java/is/installed
.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.
All my posts may be freely redistributed under the terms of the MIT license.
![]() |
Similar Threads
- facing problem in database connectivity in java to mysql (Java)
- JNDI/JDBC lookup problem with Sun Java Application Server 8.2 (Java)
- problem in java (Java)
Other Threads in the *nix Software Forum
- Previous Thread: DSL Apache (won't start with system)
- Next Thread: Debian linux c++ development
| Thread Tools | Search this Thread |






