Skip to Content Java Solaris Communities Partners My Sun Sun Store United States Worldwide

»  Spotlight Articles
»  Projects
»  Publications
»  People
»  Awards
»  Events
»  Downloads
»  Internships
»  Contrarian Minds
»  About Sun Labs

OPJ Tutorial: Setting up the Environment

The OPJ system includes a complete Java Development Kit and requires no unusual environment settings. We recommend that you put path to the Java tools on your PATH. For example, if you installed the system in /usr/local/opj, you could do this with the following csh command:
  setenv PATH /usr/local/opj/bin:$PATH
The additional classes that comprise the OPJ application programming interface are included in the standard bootstrap classes jar file and are therefore available at compile time and run time without any changes to the CLASSPATH. The location of application-specific classes must, as usual, be specified using either the CLASSPATH environment variable or using the -classpath argument to the OPJ Virtual Machine. N.B. Once a store has been created, it is only necessary to set the CLASSPATH if classes additional to those already in the store will be loaded during the execution of the application. This is typically the case on the first execution before the first checkpoint. The location of the JDK and OPJ classes can always be omitted, since the wrapper script for the interpreter encapsulates their location.


NEXT:  Introduction to Basic Concepts, Tutorial Home Page
Last changed: Nov 15th 1999

Questions and comments to forest-info@sunlabs.com
Would you recommend this Sun site to a friend or colleague?
Contact About Sun News Employment Privacy Terms of Use Trademarks Copyright 1994-2008 Sun Microsystems, Inc.