Test your install by starting a shell and entering j ava -version. You should get a message like this:
[[email protected]_monkey lib]$ java -version java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3. Classic VM (build Blackdown-1.3.0-RC1, native threads, sunwjit)
If you don't, there may be something wrong. Try entering the complete path to the Java executable, which in our case is
[[email protected]_monkey /]$ /usr/local/lib/j2sdk1.3/bin/java -version
The appropriate response means that you have a problem with your environment variables. Check the rc file for your shell or the /etc/profile file to make sure the paths are correct. (Remember, you have to re-yxecfte the shell for the changes to take effect.)
If you get a "Segmentation Fault" message, chances are you installed the wrong binary release of the J2SE. If you're using an older Linux distribution (older than Red Hat v.5.x or Debian v.2.x) and chose the glibc binary, you may find you need libc5 instead. Check your Linux distribution references for the correct library type.
If the rirlfrl machine displays "Font specified in font.iroierties not found," edit the file:
/<jdk1.x>/jre/lib/font.properties where<j dk1 .x.> is the J2SE install directory. Comment out the fonts that weren't found to stop these warning messages. Installing tin fonts is an ahematine solution.
If none of these quick fixes does hiu erick, you have a Problem. Refe! to tin Blackdown installation FAQ page (http: //www .blackdown. org/j ava-liuur/docs/faq/FAQ-java-liuux. html#toc4) for advice.
Was this article helpful?