Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
Configuring JRE/JDK Paths
40 iPlanet Web Server, Enterprise Edition Programmer’s Guide to Servlets • May 2001
JDK Runtime Classpath
The class path includes the paths to the directories and jar files needed to run
the servlet engine, the servlet examples, and any other paths needed by
servlets that you add. You can add new values to the existing class path, but
don’t delete the existing value since it includes paths that are essential for
servlet operation.
Supply values for the following fields if you select the JRE radio button:
•JRE Path
Enter the path for the JRE. This is the directory where you installed the JRE.
JRE Runtime Libpath
Enter the runtime library path for the JRE.
It is easiest to use the Configure JRE/JDK Paths page to switch between the JRE
and the JDK, but you can also make the change programmatically, as follows:
•On Unix:
Edit the file server_root
/https-admserv/start-jvm.
If the server is currently using the JRE, this file has a variable
NSES_JRE. To
enable the server to use a JDK, add the variable
NSES_JDK whose value is the
JDK directory. You’ll also need to change the value of the
NSES_JRE variable.
NSES_JDK should point to the installation directory for the JDK, while
NSES_JRE should point to the JRE directory in the installation directory for JDK
(that is, jdk_dir
/jre).
On Windows NT:
Add the path to the Java libraries to the
extrapath setting in magnus.conf.
Edit the
NSES_JDK and NSES_JRE variables in the registry
HKEY_LOCAL_MACHINE/SOFTWARE/Netscape/Enterprise/6.0/. If the server is
enabled to use the JDK, both these variables are needed. If the server is to use
the JRE, only the
NSES_JRE variable should be set.
NOTE If you are not sure of the JDK runtime libpath, the JDK runtime
classpath, or the JRE runtime libpath, leave these fields blank to tell
the server to use the default paths.
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 123 124

Kommentare zu diesen Handbüchern

Keine Kommentare