It is possible to specify your own name for the output of the ld command by using the -o option. -t allows you to print the name of each file as it is processed. See the online manual for more details.
Several versions of JDK (Java Developers Toolkit) are
installed in /usr/lib/jvm as well as /exp/rcf/share/X11R5/jdkxxx. The default version is always installed
in /usr/bin.
To use a different JDK, you need to add its binary directory to your path. In
bash you can do it by typing:
export PATH=/usr/lib/jvm/java-6-openjdk-i386/bin:$PATH
For more information read the java and javac man pages.