MATLAB BUILDER JA 2 Podręcznik Użytkownika Strona 259

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 258
Requirements for MAT LAB Builder for Java
“Java CLASSPATH Variable” on page 6-4
“Native Library Path Variables” on page 6-6
JAVA_HOME Variable
Java Builder uses the JAVA_HOME variable to locate the Java Software
Development Kit (SDK) on your sy stem. It also uses this variable to set the
versions of the
javac.exe and jar.exe filesitusesduringthebuildprocess.
Note If you do not set JAVA_HOME, Java Builder assumes that \jdk\bin
is on the system path.
Setting JAVA_HOME on Windows (Development Machine). If you are
working on Windows, set your
JAVA_HOME variable by entering the following
command in your DOS command window. (In this example, your Java SDK is
installed in directory
C:\java\jdk\j2sdk1.5.0.)
set JAVA_HOME=C:\java\jdk\j2sdk1.5.0
Alternatively, you can add jdk_directory/bin to the system path. For
example:
set PATH=%PATH%;c:\java\jdk\j2sdk1.5.0\bin
You can also set these variables globally using the Windows Control Panel.
Consult your Windows docum entation for instructions on setting system
variables.
Note The supported JRE version is 1.5.0. To find out what JRE you are using,
refer to the output of
'version -java' in MATLAB o r refer to the jre.cfg file
in
matlabroot/sys/java/jre/<arch> or mcrroot/sys/java/jre/<arch>.
Setting JAVA_HOME on UNIX (Developmen t Machine). If you are
working on a UNIX system, se t your
JAVA_HOME variable by entering the
following commands at the command prompt. (In this example, your Java
SDK is installed in directory
/java/jdk/j2sdk1.5.0.)
6-3
Przeglądanie stron 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag