jzhardy
Active User
Joined: 31 Oct 2006 Posts: 139 Location: brisbane
|
|
|
|
I'm trying to build a sample application to test the zip4j library.
I've copied the .jar and .class files to my USS directory with the correct -B (binary) option. When I attempt to run in JVM with :
Code: |
java -cp .:zip4j-2.11.5.jar ZipWithPasswordExample |
i get the following error :
Code: |
UnsupportedClassVersionError: JVMCFRE199E bad major version 64.0 ... the maximum supported major version is 52.0; offset=6 |
I suspect this is because zip4j.jar was built with a later version of java than what I have on my site, which is :
Code: |
java -version
java version "1.8.0_341"
Java(TM) SE Runtime Environment (build 8.0.7.16 - pmz6480sr7fp16- 20220830_01(SR7 FP16))
IBM J9 VM (build 2.9, JRE 1.8.0 z/OS s390x-64-Bit Compressed References
20220817_34480 (JIT enabled, AOT enabled)
OpenJ9 - 55f250a
OMR - f0ddca6
IBM - bf759bf)
JCL - 20220727_01 based on Oracle jdk8u341-b10 |
has anyone got an earlier build of zip4j.jar ? or, is there an easy way to build this without downloading an earlier version of the java sdk (onto my windows PC)? |
|