summaryrefslogtreecommitdiffstats
path: root/readme.jmpi
diff options
context:
space:
mode:
authormark.hamzy <mark.hamzy>2007-01-16 20:19:56 +0000
committermark.hamzy <mark.hamzy>2007-01-16 20:19:56 +0000
commita2cffee970738d185b53adb6bb5a19db03cacfeb (patch)
treea2eab13400a11bf5be4a82d8c57ba911179c787f /readme.jmpi
parent587be52a4d8a5ccd7de4eaca20415f04d8b9b57d (diff)
downloadtog-pegasus-a2cffee970738d185b53adb6bb5a19db03cacfeb.zip
tog-pegasus-a2cffee970738d185b53adb6bb5a19db03cacfeb.tar.gz
tog-pegasus-a2cffee970738d185b53adb6bb5a19db03cacfeb.tar.xz
BUG#: 5938
TITLE: JMPI add client/server choice for libjvm.so DESCRIPTION: Adding PEGASUS_JAVA_TYPE.
Diffstat (limited to 'readme.jmpi')
-rw-r--r--readme.jmpi17
1 files changed, 13 insertions, 4 deletions
diff --git a/readme.jmpi b/readme.jmpi
index d1d4a34..d60a281 100644
--- a/readme.jmpi
+++ b/readme.jmpi
@@ -35,7 +35,7 @@ Java Manageability Programming Interface (JMPI)
JMPI is a bridge between clients and providers written in Java and the Open
Pegasus project.
-More information on JMPI's status can be found at
+More information on JMPI's status can be found at
http://www.openpegasus.org/page.tpl?ggid=799
@@ -55,6 +55,7 @@ You might need to adjust this to your system layout.
export JAVA_SDK=/usr/java/j2sdk1.4.2_08
export JAVA_SDKINC=${JAVA_SDK}/include
export PEGASUS_JAVA_ARCH=i386
+ export PEGASUS_JAVA_TYPE=client
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${JAVA_SDK}/jre/lib/${PEGASUS_JAVA_ARCH}/server:${JAVA_SDK}/jre/lib/${PEGASUS_JAVA_ARCH}/native_threads:${JAVA_SDK}/jre/lib/${PEGASUS_JAVA_ARCH}
export PATH=${JAVA_SDK}/bin/:${PEGASUS_HOME}/bin:${PATH}
export CLASSPATH=${CLASSPATH}:${PEGASUS_HOME}/lib/JMPIImpl.jar
@@ -82,13 +83,21 @@ Since we are using Sun's JRE, point to Sun's paths.
The fifth variable defines the Java architecture of the JMV
export PEGASUS_JAVA_ARCH=i386
-The sixth may be necessary to tell the linker where to load the JRE libraries.
+The sixth variable defines which version of the jvm library to link to (the
+client or the server).
+ export PEGASUS_JAVA_TYPE=client
+
+As a test to make sure your environment variables are correct
+ ls ${JAVA_SDK}/jre/lib/${PEGASUS_JAVA_ARCH}/${PEGASUS_JAVA_TYPE}
+should show you libjvm.so for Sun's JRE.
+
+The seventh may be necessary to tell the linker where to load the JRE libraries.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${JAVA_SDK}/jre/lib/${PEGASUS_JAVA_ARCH}/server:${JAVA_SDK}/jre/lib/${PEGASUS_JAVA_ARCH}/native_threads:${JAVA_SDK}/jre/lib/${PEGASUS_JAVA_ARCH}
-The seventh one may be necessary to get the JVM's executable files into the PATH.
+The eighth one may be necessary to get the JVM's executable files into the PATH.
export PATH=${JAVA_SDK}/bin/:${PEGASUS_HOME}/bin:${PATH}
-The eight tells the JRE to include JMPI's Java classes.
+The nineth tells the JRE to include JMPI's Java classes.
export CLASSPATH=${CLASSPATH}:${PEGASUS_HOME}/lib/JMPIImpl.jar
There are a couple of optional environment variables to determine how the JRE is initialized. These are