iOS Question [Solved] Problem with B4iBuildServer

Louis Philippe

New Member
Licensed User
Longtime User
Hi everybody,

New to B4i and trying to install everything and make them work but no :-(...
I got this error message after entering that line of code "java -jar B4iBuildServer.jar":

B4X:
MacBook-Pro-de-Louis-126:b4i louesfera$ java -jar B4iBuildServer.jar
main._process_globals (java line: 265)
java.lang.UnsupportedClassVersionError: anywheresoftware/b4j/object/ServerWrapper : 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)
    at b4j.example.main._process_globals(main.java:265)
    at b4j.example.main.initializeProcessGlobals(main.java:252)
    at b4j.example.main.main(main.java:27)

Any advice ? Thanx in advance...
 

stevel05

Expert
Licensed User
Longtime User
You could try installing a newer version of Java, although 51 should be Java 7. Have you installed the JDK recently? or was it already in the Mac?
 
Upvote 0

Louis Philippe

New Member
Licensed User
Longtime User
You could try installing a newer version of Java, although 51 should be Java 7. Have you installed the JDK recently? or was it already in the Mac?

Hi Steve,
the JDK was installed a few months ago when I was trying to develop Android apps directly in Java :(...
searching "java" in Spotlight the only result is that folder/path :
/Applications/adt-bundle-mac-x86_64-20140702/sdk/platforms/android-L
 
Upvote 0
Top