The setenv
commands given below assume that your
command shell is csh or tcsh. If you are using a
different shell, you will have to modify the commands accordingly.
This release supports both the MIPS o32 and n32 ABI's; releases
prior to 3.1 supported only o32. For a basic description of the MIPS
ABI's, you can use the following command to refer to the man page for
abi(5)
:
man abi
This release contains both o32 and n32 versions of the Java software, and both are installed by default; see Correctly Installing Java and Related Software.
SGI_ABI
SGI_ABI
environment variable in
one of the following ways:
setenv SGI_ABI -o32
setenv SGI_ABI -n32
-o32
and -n32
-o32
and -n32
command-line options can
also be used, and they override the setting of the
SGI_ABI
environment variable. For example:
java -n32 mypkg.MyClass
javac -n32 MyClass.java
appletviewer -o32 MyApplet.html
These options (and the thread package options, described in Threads) must precede all other options on the command line.
All the tools in the JDK use n32 by default. To achieve the same
behavior as in releases 3.0.1 and earlier (in terms of ABI), you
must use the -o32
flag or set SGI_ABI
appropriately. In both the command-line and environment variable
cases, -32
is a synonym for -o32
.
Choice of an ABI has further ramifications if you are using
applications that contain native code (code written in C, C++,
assembly language, etc., and then compiled into a DSO). If so, see
our suggestions for setting up your
environment to run Java correctly, particularly the section on
LD_LIBRARY_PATH
and LD_LIBRARYN32_PATH
.
To support both ABI's, our distribution has additional
lib32
and bin32
directories which are
analogous to the familiar lib
and bin
directories; o32 components are under lib
and
bin
, and n32 components are under lib32
and
bin32
.
Java and other Java-based names are trademarks of Sun Microsystems, Inc., and refer to Sun's family of Java-branded technologies. Sun, Sun Microsystems, and the Sun Logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.