[root@sv2lxdpdsedi01 gse]# sh -x /usr/bin/389-console
+ . /usr/share/java-utils/java-functions
++ _JAVA_HOME=
++ '[' -f /etc/java/java.conf ']'
++ . /etc/java/java.conf
+++ JAVA_LIBDIR=/usr/share/java
+++ JNI_LIBDIR=/usr/lib/java
+++ JVM_ROOT=/usr/lib/jvm
+++ JAVACMD_OPTS=
++ '[' -f /root/.java/java.conf ']'
++ '[' '!' -z '' -a -d '' ']'
++ '[' -z '' -a -d /usr/lib/jvm/java ']'
++ JAVA_HOME=/usr/lib/jvm/java
++ '[' -z /usr/lib/jvm/java -a -d /usr/lib/jvm/jre ']'
+ '[' -f /etc/java/389-console.conf ']'
+ . /etc/java/389-console.conf
++ for file in '/etc/java/*-389-console.conf'
++ '[' -f '/etc/java/*-389-console.conf' ']'
++ mylang=en
++ ADDITIONAL_JARS=389-console_en.jar
++
ADDITIONAL_OPTIONS='-Djava.util.prefs.systemRoot=/root/.389-console
-Djava.util.prefs.userRoot=/root/.389-console'
+ '[' -f /root/.389-consolerc ']'
+ MAIN_CLASS=com.netscape.management.client.console.Console
+ BASE_FLAGS=
+ BASE_OPTIONS=
+ BASE_JARS='jss4.jar ldapjdk.jar idm-console-base.jar
idm-console-mcc.jar idm-console-mcc_en.jar
idm-console-nmclf.jar idm-console-nmclf_en.jar'
+ set_jvm
+ '[' -n /usr/lib/jvm/java ']'
+ return
+ set_classpath jss4.jar ldapjdk.jar idm-console-base.jar
idm-console-mcc.jar idm-console-mcc_en.jar
idm-console-nmclf.jar idm-console-nmclf_en.jar
+ jars='jss4.jar ldapjdk.jar idm-console-base.jar
idm-console-mcc.jar idm-console-mcc_en.jar
idm-console-nmclf.jar idm-console-nmclf_en.jar'
+ '[' -n 389-console_en.jar ']'
+ jars='jss4.jar ldapjdk.jar idm-console-base.jar
idm-console-mcc.jar idm-console-mcc_en.jar
idm-console-nmclf.jar idm-console-nmclf_en.jar
389-console_en.jar'
++ /usr/bin/build-classpath jss4.jar ldapjdk.jar
idm-console-base.jar idm-console-mcc.jar
idm-console-mcc_en.jar idm-console-nmclf.jar
idm-console-nmclf_en.jar 389-console_en.jar
+ LOCAL_CLASSPATH='/usr/bin/build-classpath: error:
JAVAVER_JNIDIR /usr/lib/java-1.5.0 does not exist or is not a
directory'
+ CLASSPATH='/usr/bin/build-classpath: error:
JAVAVER_JNIDIR /usr/lib/java-1.5.0 does not exist or is not a
directory:'
+ set_flags
+ FLAGS=
+ '[' -n '' ']'
+ set_options
+ OPTIONS=
+ '[' -n '-Djava.util.prefs.systemRoot=/root/.389-console
-Djava.util.prefs.userRoot=/root/.389-console' ']'
+ OPTIONS=' -Djava.util.prefs.systemRoot=/root/.389-console
-Djava.util.prefs.userRoot=/root/.389-console'
+ run
+ set_javacmd
+ '[' -x '' ']'
+ set_jvm
+ '[' -n /usr/lib/jvm/java ']'
+ return
+ '[' -x /usr/lib/jvm/java/jre/sh/java ']'
+ '[' -x /usr/lib/jvm/java/bin/java ']'
+ JAVACMD=/usr/lib/jvm/java/bin/java
+ '[' '!' -x /usr/lib/jvm/java/bin/java ']'
+ '[' -n '' ']'
+ return 0
+ '[' -n '' ']'
+ exec /usr/lib/jvm/java/bin/java -classpath
/usr/bin/build-classpath: error: JAVAVER_JNIDIR
/usr/lib/java-1.5.0 does not exist or is not a directory:
-Djava.util.prefs.systemRoot=/root/.389-console
-Djava.util.prefs.userRoot=/root/.389-console
com.netscape.management.client.console.Console