B4J Question Problem running jars in CentOS

roerGarcia

Active Member
Licensed User
Longtime User
to kill forgotten jars:
[robertor@metro usr]$ java -jar JarManager.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: [B]anywheresoftware/b4a/keywords/Common : Unsupported major.minor version 52.0[/B]
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
[robertor@metro usr]$

I want to run B4J apps in CentOs.
I try first with an application -mine- and get the same error shown. (same app works in windows 7)
Then, try the jarmanager found in the forum with the same error

The OS is CentOS, the B4J lsat version.

Where is the error, what is missing... ?

thanks in advance.

roer
 

roerGarcia

Active Member
Licensed User
Longtime User
java version "1.7.0_85"
OpenJDK Runtime Environment (rhel-2.6.1.3.el6_7-i386 u85-b01)
OpenJDK Server VM (build 24.85-b03, mixed mode)

[robertor@metro etc]$ more centos-release
CentOS release 6.7 (Final)

Tu hablas español. La aplicacion compila y corre en Windows. La transferi via ftp al CentOs solo para probar si funcionaba, en modo experimento-porque-no-tengo-mucho-que-hacer.

Deberia instalar el B4J en CentOS - alguien lo ha hecho ?

Saludos y gracias por contestar.
 
Last edited:
Upvote 0

udg

Expert
Licensed User
Longtime User
Upvote 0

roerGarcia

Active Member
Licensed User
Longtime User
It is a real, physical server I mean. It is within the company network.

But they already indicated (udg) to me that it is a question of the java versions.

Anyway, solving the problem I will report it here.
 
Upvote 0
Top