I'm having probelms with the setup of J2SE, please some assistance would be appreciated
I have two entries in my path for the java bin, but still cannot run java from any folder?
I don't know how to set the links for javac as described in other posts?
# rpm -iv jdk-1_5_0-linux-i586.rpm
# rpm -e jdkgcj
... package not installed ...
# java -version
... placeholder message ...
/etc/profile.d/java.sh file created with single line
... verified path update ...
# alternatives --remove java /usr/share/java/libgcj-java-placeholder.sh
# alternatives --remove javac /usr/share/java/libgcj-javac-placeholder.sh
... has not been configured as an alternative for javac ...
# alternatives --remove jar /usr/bin/fastjar
# alternatives --remove jar.1.gz /usr/share/man/man1/fastjar.1.gz
# cd /usr/bin
# ln -s /usr/java/jre1.5.0/bin/java java
... don't know how to set the links for javac ??? ...
bash: java: command not found
# /usr/java/jdk1.5.0/bin/java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)