Go to: Search
FIB > Computing laboratory > Documentation > Information on the subjects > Information on JDK Català | Castellano


LEDA -IEA/EA- libraries
Information on FBD
Information on JDK
Information on Mathematica



Information on JDK

Last modified: 10-06-2002


Information for JDK users

Currently, Version 1.1.7 of JDK is installed on alabi/a. The executable files are in /usr/bin, the classes are in /usr/lib/classes.zip and the libraries are in /usr/shlib.

In order to use the JDK applications (compiler, appletviewer, emulator, etc.) We have to make sure that:

  • The PATH variable includes the folder containing the executable files.
  • The LD_LIBRARY_PATH variable includes the folder containing the libraries.

If you are having problems with netscape when viewing the applets, please check that:

  • the LD_LIBRARY_PATH variable includes the folder /usr/lib/netscape
  • the CLASSPATH variable is NOT defined. Netscape (Version 3.01) is problematic. If you want to use it, make sure the variable CLASSPATH is NOT defined. Otherwise, the applets will not be shown.
  • make sure you have Java support activated. You can check this in the Languages section under Network Preferences in the Options menu. Java support must be activated (Enable Java).

If you want to have a folder for keeping our own classes and you want JDK to find them when compiling, you can specify their location by using the classpath parameter:

Java -classpath /usr/lib/classes.zip:my_folder filename.java

If you don't need to use your own classes, or you have put them in the same folder, you won't need to give any paths because the JDK utilities will find them by default.

Documentation

lynx file:/usr/share/doclib/java/index.html


If you have any problem, doubt or suggestion, please send an e-mail to lcfibfib.upc.edu

printer friendly version