R roerGarcia Active Member Licensed User Longtime User May 9, 2020 #1 [CODE lang="b4x" title="to kill forgotten jars"][robertor@metro usr]$ java -jar JarManager.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: anywheresoftware/b4a/keywords/Common : Unsupported major.minor version 52.0 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]$ [/CODE] 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
[CODE lang="b4x" title="to kill forgotten jars"][robertor@metro usr]$ java -jar JarManager.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: anywheresoftware/b4a/keywords/Common : Unsupported major.minor version 52.0 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]$ [/CODE] 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
TILogistic Expert Licensed User Longtime User May 9, 2020 #2 centos 6 or 7 java -version ?? and you java version B4J compile ?? Upvote 0
R roerGarcia Active Member Licensed User Longtime User May 9, 2020 #3 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: May 9, 2020 Upvote 0
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.
udg Expert Licensed User Longtime User May 9, 2020 #4 B4J – RAD development tool for cross platform desktop, server and IoT solutions B4J is a 100% free programming tool, similar to B4A that generates desktop, server and web applications. www.b4x.com Q: What are the requirements for UI apps developed with B4J? A: Java 8u40+ is required. B4J UI apps will run on Windows, Mac and Linux computers. Click to expand... Java 1.8.40 is the minimum version supported. Upvote 0
B4J – RAD development tool for cross platform desktop, server and IoT solutions B4J is a 100% free programming tool, similar to B4A that generates desktop, server and web applications. www.b4x.com Q: What are the requirements for UI apps developed with B4J? A: Java 8u40+ is required. B4J UI apps will run on Windows, Mac and Linux computers. Click to expand... Java 1.8.40 is the minimum version supported.
R roerGarcia Active Member Licensed User Longtime User May 9, 2020 #5 Ok, deja investigar si puedo actualizar el java. Luego reporto lo que resulte. Gracias. Upvote 0
TILogistic Expert Licensed User Longtime User May 9, 2020 #6 Java JRE Updating issue with CentOS I have just recently installed CentOS on my little server box. I am in the process of transferring my servers from Windows Server to Linux/CentOS, and I'm running into a small problem. I checked " stackoverflow.com Upvote 0
Java JRE Updating issue with CentOS I have just recently installed CentOS on my little server box. I am in the process of transferring my servers from Windows Server to Linux/CentOS, and I'm running into a small problem. I checked " stackoverflow.com
TILogistic Expert Licensed User Longtime User May 9, 2020 #8 sorry to the english forum Post your question in spanish forum Do you have VPS or Hosting? Upvote 0
R roerGarcia Active Member Licensed User Longtime User May 10, 2020 #9 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
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.