Can't find class

General discussion on the JZOS batch launcher and toolkit
Post Reply
EarlHodil
Posts: 18
Joined: Thu Jan 17, 2013 1:46 pm

Can't find class

Post by EarlHodil »

I'm just trying to run the HelloWorld sample and Java (or is it JZOS?) gives me the following:
JVMJZBL2008E Could not find or load class: com.ibm.jzos.sample.HelloWorld

I tried running with the +I loglvl and sure enough, my jar is in the CLASSPATH. Where do I go from here?
EarlHodil
Posts: 18
Joined: Thu Jan 17, 2013 1:46 pm

Re: Can't find class

Post by EarlHodil »

Found the problem! My Eclipse system had the latest Oracle Java, 1.8, but z/os is at 1.7. Apparently the JVM won't even take a stab at running something that was compiled at a higher level, even though the code would probably run at the 1.1 level.
Post Reply