Subscribe

License error when installing WFA 4.2 on RHEL

Getting this error when installing WFA-4.2.0.0.0-4664702 on RHEL 7.3.

 

Setting WFA license key.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/netapp/wfa/cli/Main : Unsupported major.minor version 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

Installation completes successfully otherwise, but logging into the web interface gives me this pop-up every time.

 

 

license_fault.png

 

Any thoughts on this? I tried uninstalling and reinstalling with the same result.

Re: License error when installing WFA 4.2 on RHEL

[ Edited ]

Ah, just figured it out. The system Java, in this case java-1.7.0-openjdk, conflicted with the JRE installed during WFA installation (jre1.8.0_144). Apparenlty the new JRE doesn't get set properly with /etc/alternatives.

 

At any rate, here's the fix.

 

# yum remove java-1.7.0-openjdk\*
# yum remove wfa

Then reinstall and see this.

 

Setting WFA license key.
Key was set successfully

No error pop-up after logging in.