I've not changed the classpath, the only difference is in the java source as shown.
-----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Staller, Allan Sent: 12 January 2012 14:18 To: IBM-MAIN@bama.ua.edu Subject: Re: z/OS Java JVM question CLASSPATH? <snip> Having successfully created the JVM I can then find my class and run the main method. However, if I add code the call a JNI routine the class can no longer be found; the source of my class is shown below with the JNI call code commented out. Any idea why the class can't be found? </snip> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN ------------------------------------------------------------------------ - This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 internal virus protection system. ------------------------------------------------------------------------ - ------------------------------------------------------------------------- This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 internal virus protection system. ------------------------------------------------------------------------- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN