A JNI error after sourcing setup
When I compile the code I got this below java error. Code seems to be compiled at the end.
das-cmssw el8 scram b
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/italiangrid/voms/clients/VomsProxyInfo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)
>> Local Products Rules ..... started
>> Local Products Rules ..... done
>> Entering Package Core/Ntupliser
>> Creating project symlinks
>> Entering Package Core/Objects
------- copying files from src/Core/Ntupliser/scripts -------
>> copied mkNtuples
>> copied rmNtuples
>> Leaving Package Core/Ntupliser
>> Package Core/Ntupliser built
>> Leaving Package Core/Objects
>> Package Core/Objects built
>> Subsystem Core built
>> Entering Package JMEAnalysis/JetToolbox
>> Leaving Package JMEAnalysis/JetToolbox
>> Package JMEAnalysis/JetToolbox built
>> Subsystem JMEAnalysis built
>> Subsystem BigProducts built
>> Building CMSSW version CMSSW_12_4_0 ----
gmake[1]: Entering directory '/eos/home-e/euslan/EL9/GeneratorWeightsWork/DasAnalysisSystem/CMSSW_12_4_0'
>> Local Products Rules ..... started
>> Local Products Rules ..... done
>> Creating project symlinks
>> Done python_symlink
>> Compiling python3 modules cfipython/el8_amd64_gcc10
>> Compiling python3 modules python
>> Compiling python3 modules src/Core/Ntupliser/python
>> Compiling python3 modules src/JMEAnalysis/JetToolbox/python
>> All python modules compiled
>> Plugins of all types refreshed.
>> Done generating edm plugin poisoned information
gmake[1]: Leaving directory '/eos/home-e/euslan/EL9/GeneratorWeightsWork/DasAnalysisSystem/CMSSW_12_4_0'
And same error when I try to initiate voms but this time command does not work at all.
[euslan@lxplus950 test]$ voms-proxy-init -voms cms -rfc -valid 192:00
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/italiangrid/voms/clients/VomsProxyInit has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)
[euslan@lxplus950 test]$