i downloaded jdk 1.6 and placed in /usr/java. When tried giving java -version , the above script(libgcj-java-placeholder.sh) is getting invoked stating below lines
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.
How to resolve this?