iOS Question b4ibuildserver.jar installation issue

shasunder

Member
Licensed User
Longtime User
I am trying to install b4ibuildserver.jar in my local Mac Machine. I confirmed that I am using the latest version of Java. But when i try to install using terminal, i receive the below message.

iPhones-Mac:macserver iPhone$ 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)
 

Attachments

  • java.png
    java.png
    68.6 KB · Views: 300

shasunder

Member
Licensed User
Longtime User
You was correct Erel

iPhones-Mac:macserver iPhone$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

I manually uninstalled the existing JDK, again downloaded and installed the latest version of JDK and it helped. Please see below.

iPhones-Mac:macserver iPhone$ java -version
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
iPhones-Mac:macserver iPhone$ java -jar b4ibuildserver.jar
Build server version: 1.02
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2014-12-09 17:49:41.743:INFO::main: Logging initialized @1333ms
Loading default configuration file.
AppPath=/Users/iPhone/Documents/macserver
Creating key for: 192.168.247.137
2014-12-09 17:49:46.872:INFO:eek:ejs.Server:main: jetty-9.1.z-SNAPSHOT
2014-12-09 17:49:46.947:WARN:eek:ejh.MimeTypes:main: java.util.MissingResourceException: Can't find bundle for base name org/eclipse/jetty/http/encoding, locale en_US
2014-12-09 17:49:47.086:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@3f39ef5c{/,file:/Users/iPhone/Documents/macserver/www,AVAILABLE}
2014-12-09 17:49:47.100:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened /Users/iPhone/Documents/macserver/logs/b4j-2014_12_09.request.log
2014-12-09 17:49:47.325:INFO:eek:ejs.ServerConnector:main: Started ServerConnector@3b2d73bb{HTTP/1.1}{0.0.0.0:51041}
2014-12-09 17:49:48.405:INFO:eek:ejs.ServerConnector:main: Started ServerConnector@3ffc5306{SSL-http/1.1}{0.0.0.0:51042}
2014-12-09 17:49:48.406:INFO:eek:ejs.Server:main: Started @8081ms
Build server is ready
https://192.168.247.137:51042
http://192.168.247.137:51041
 
Upvote 0
Top