![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I am working with a Canadian Provincial Government and they have a JAVA environment on ovms. If I run: PEN DEV> java simplee things work fine, but if I add a classpath (cp) argument I get: PEN DEV> define _JAVA_LAUNCHER_DEBUG 1 PEN DEV> java -cp SYS$COMMON:[JAVA$141.JRE.LIB]classes12.JAR "simplee" ----_JAVA_LAUNCHER_DEBUG---- JRE path is /sys$common/java$141/jre jvm.cfg[0] = ->-classic<- jvm.cfg[1] = ->-native<- jvm.cfg[2] = ->-green<- 1 micro seconds to parse jvm.cfg Does `java$jvm_shr' exist ... yes. JVM path is java$jvm_shr 1 micro seconds to LoadJavaVM JavaVM args: version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 3 option[ 0] = '-Djava.class.path=.' option[ 1] = '-Djava.class.path=/sys$common/java$141/jre/lib/classes12.jar' option[ 2] = '-Dsun.java.command=simplee' 1 micro seconds to InitializeJVM Main-Class is 'simplee' Apps' argc is 0 1 micro seconds to load main class ----_JAVA_LAUNCHER_DEBUG---- java.lang.NoClassDefFoundError: simplee I just want to run a simle app that accepts and argument and it needs the jdbc package residing in classes12.jar. Thanks for any suggestions/help. Mark The Answer is : Please see topic (5051) for information on working with classpaths. Also ensure the jar file (if properly referenced) is a stream_LF file.
|