unavailable java SDK

0 votes

You can not use exception of the following occur when you use the 2.3 or 2.2 version of App42_JAVA_SDK. I can successfully use version 2.1. 

 
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/shephertz/app42/paas/sdk/java/App42Exception: Unsupported major.minor version 51.0 
at java.lang.ClassLoader.defineClass1 (Native Method) 
at java.lang.ClassLoader.defineClassCond (ClassLoader.java: 637) 
at java.lang.ClassLoader.defineClass (ClassLoader.java: 621) 
at java.security.SecureClassLoader.defineClass (SecureClassLoader.java: 141) 
at java.net.URLClassLoader.defineClass (URLClassLoader.java: 283) 
at java.net.URLClassLoader.access $ 000 (URLClassLoader.java: 58) 
at java.net.URLClassLoader $ 1.run (URLClassLoader.java: 197) 
at java.security.AccessController.doPrivileged (Native Method) 
at java.net.URLClassLoader.findClass (URLClassLoader.java: 190) 
at java.lang.ClassLoader.loadClass (ClassLoader.java: 306) 
at sun.misc.Launcher $ AppClassLoader.loadClass (Launcher.java: 301) 
at java.lang.ClassLoader.loadClass (ClassLoader.java: 247) 
 
Please tell me how to solve.
asked Jul 30, 2014 in App42 Cloud API-BaaS by appwarp (20 points)

1 Answer

0 votes

Hi,

Thanks for writing to us.

Kindly download the our new App42_JAVA_SDK2.3.1 which has a fix making it compatible with lower versions of JRE. 

Here is the link to the same  https://github.com/shephertz/App42_JAVA_SDK

 

//Naresh

answered Jul 30, 2014 by naresh (350 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...