problem running java on redhat enterprise ws 3
I have a dell workstatation preinstalled with redhat enterprise linux ws3. I installed jdk and did following:
1. ln -s /opt/IBMJava2-141 /usr/local/jdk
2. add two lines in /etc/bashrc
export PATH=$PATH:/usr/local/jdk/bin
export JAVA_HOME=/usr/local/jdk
There was no problem after I did above setting up. After automatic "up2date", I have following problem.
When I try to run "java" or "javac", the system gives message:
"libgcj-java-placeholder.sh
This script is a placeholder for the /usr/bin/java and /usr/bin/javac
master links required by jpackage.org conventions. libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.
This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages. "
I also installed JBuilder FoundationX in this machine and it works well. I tried to make a symbolic link to the JDK in JBuilder, the problem is the same.
How sould I solve this problem? Your help is appreciated.
|