README Java Linux Native Threads Pack Version 1.1.7v1a ======================================================================= INSTALLATION ----------------------------------------------------------------------- To install the Native Threads Pack on your machine, execute the following commands: % cd directory_where you installed_jdk117v1a/jdk117_v1a % tar -zxvf ntp.tar.gz ======================================================================= USING THE NATIVE THREADS PACK ----------------------------------------------------------------------- The THREADS_FLAG Environment Variable --------------------------------- All the tools in the JDK use green threads as a default. To specify that native threads should be used, set the THREADS_FLAG environment variable: % setenv THREADS_FLAG native You can revert to use of green threads by setting THREADS_FLAG to the value green: % setenv THREADS_FLAG green The -native and -green Convenience Options ---------------------------- You can specify that the JDK tools should use either native threads or green threads by using the -native and -green convenience options. If you use -native or -green, they must be the first option specified on the command line. The convenience options can be used as in these examples: % java -native mypkg.MyClass % javac -native MyClass.java % appletviewer -green MyApplet.html The convenience options override the setting of the THREADS_FLAG environment variable.