Hi! Vijeyendra, thanks for replying but when I try to download folowing file RPM in self-extracting file (j2sdk-1_4_2_06-linux-i586-rpm.bin, 33.63 MB from the url you sent it opens the code but does not give me option to download it. Any idea
okay I was able to install java as directed by that url but now when I run java -version I am getting following ... java -version libgcj-java-placeholder.sh This script is a placeholder for the /usr/bin/java master link 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. gij (GNU libgcj) version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Theses alternatives is a system to manage symbolic links at a central place. I wasn't happy to have it and got rid of it. But perhaps you like it. If the hints don't lead you to a solution, mail again.
I am not expert in Linux I tried following.. sanand$man update-alternatives No manual entry for update-alternatives sanand$update-alternatives --help -bash: update-alternatives: command not found
Please explain in detail what's happening and what needs to be done.
This script is a placeholder for the /usr/bin/java master link 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.
SA
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. gij (GNU libgcj) version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This will make it so that your installation will be searched before other locations in the PATH. It looks like your shell is still trying to use the gcj instead of Sun's JDK.
thanks Layne!! it worked sanand$java -version java version "1.4.2_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) SA