buildozer fails to create apk. java error? - java

My buildozer configuration has suddenly stopped working. Everything has been working fine, but something must have changed - I don't know what. Maybe there's a problem with java - know I have a problem with geany and pyCharm, both of which use java
a section of my buildozer log is
My java version is
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
Can someone help?

Related

why Spring tool suite IDE shows error message as "JVM terminated. Exit code=127"

I tried to install spring-tool-suite 4.1(64 bit) on Cent OS-7, when i try to run installer, it shows message like "JVM terminated. Exit code=127"
I have a latest 16.0.2(64 bit) JDK version,
Edited the .ini file with correct jdk path, but still it shows the same error message
I faced the same problem while using eclipse installer also, tried the given solutions in stack overflow, none of them worked
This is the version I am using:
java -version
java version "16.0.2" 2021-07-20
Java(TM) SE Runtime Environment (build 16.0.2+7-67)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.2+7-67, mixed mode, sharing)
Make sure
using a 64 bit Java VM of the same architecture to run Eclipse (in your case x86_64) and
on Linux having GTK 3.20 or higher.

Java installation in folder with accents (diacritics)

I have a problem with java installed in folder with accents. Java is unable to start itself in this folder but when I run my project in Java I'm able to handle these special symbols. Test is with "zulu11.37.19-ca-fx-jre11.0.6-win_i686". Here is an example:
c:\test-ěščřž\bin>java.exe -version
Error occurred during initialization of VM
Unable to load native library:
Folder without accents:
c:\test-escrz\bin>java -version
openjdk version "11.0.6" 2020-01-14 LTS
OpenJDK Runtime Environment Zulu11.37+19-CA (build 11.0.6+10-LTS)
OpenJDK Server VM Zulu11.37+19-CA (build 11.0.6+10-LTS, mixed mode, emulated-client)
Any ideas please? Except running java from folder without accents.
Thank you
UPDATE:
Thanks to #Johannes Kuhn! The problem is related to Java version JDK-8242283. For me 11.0.6 and newer doesn't work in folders with accents. 11.0.5 works, but that folder must have atleast one regular letter in name. The rest can be accents letter (funny..). If not than the message is different thatn before but still doesn't work.
So 11.0.5 is kind of compromise between using new Java11 and fix for accents.
c:\ěšštčřžý\bin>java -version
openjdk version "11.0.5" 2019-10-15 LTS
OpenJDK Runtime Environment Zulu11.35+15-CA (build 11.0.5+10-LTS)
OpenJDK Server VM Zulu11.35+15-CA (build 11.0.5+10-LTS, mixed mode, emulated-client)
c:\ěšščřžý\bin>java -version
The system cannot execute the specified program.
Thanks to #Johannes Kuhn! The problem is related to Java version JDK-8242283. For me 11.0.6 and newer doesn't work in folders with accents. 11.0.5 works, but that folder must have atleast one regular letter in name. The rest can be accents letter (funny..). If not than the message is different thatn before but still doesn't work. So 11.0.5 is kind of compromise between using new Java11 and fix for accents.
c:\ěšštčřžý\bin>java -version
openjdk version "11.0.5" 2019-10-15 LTS
OpenJDK Runtime Environment Zulu11.35+15-CA (build 11.0.5+10-LTS)
OpenJDK Server VM Zulu11.35+15-CA (build 11.0.5+10-LTS, mixed mode, emulated-client)
c:\ěšščřžý\bin>java -version
The system cannot execute the specified program.

UnsupportedClassVersionError... but with same JAVA version

I am trying to migrate a tomcat server.
Both are using tomcat7 version and all is supossed to be ready to take my java/jsp files from one server to another.
I did and I got UnsupportedClassVersionError error.
It was normal as in the old one I had JRE 1.8 version and in the new installation I had JRE 1.7 version (both from Oracle).
I proceeded to upgrade the second to 1.8. And everything was fine as in the new the output for java -version is:
java version "1.8.0_191" Java(TM) SE Runtime Environment (build
1.8.0_191-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
While in the old one:
java version "1.8.0_131" Java(TM) SE Runtime Environment (build
1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
In both echo $JAVA_HOME outputs:
/usr/lib/jvm/java-8-oracle
I restarted tomcat and server itself... but the UnsupportedClassVersionError persists.
I don't know if:
Somewhere I still point to the JRE 1.7 installation
Or 1.8.0_191 is considered another version than 1.8.0_131
Note: the compiler is the same as they have not been recompiled. Just take the compiled ones from old server (where there is no problem version) to the new one.
Has anyone a hint for me?
Thank you very much
As pointed in comments, sometimes JAVA_HOME is not checked and the decision on what jvm should be used is taken with another criteria (can't say which ones). So removing the old version of java forced the process to choose the desired one as it was unique.

JGR crashes on launching

it seems that I am the only person having this problem, so I ask some help here:
I have just installed R and JGR, loaded the library(JGR) and launched JGR(). Unfortunately, it builds the windows but it becomes unresponsive and crashes in a few seconds.
Is anybody here able to lead me to the right direction to solve the problem?
Ubuntu 16.10
JAVA version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
I was having the exact same issue, and have managed to find a solution. The problem lies with the rJava package. The issue started with rJava 0.9-9, and has sadly continued with the recently release 0.9-10. But if you remove rJava and go back to version 0.9-8, JGR will start working again.

JWplayer suddenly not working - says Java not installed, but it IS (playback issue)

I was using openjdk 7, then all of a sudden I wasn't able to stream a video with JWplayer. I tried setting $PATH in Ubuntu 14.04 among lots of other things until I just gave up and purged openjdk completely. I installed Oracle 8, and I still get the same issue.
$ java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
The videos just say that Java is not installed, to install it and restart my browser, etc.
This is extremely frustrating. Any ideas?
JW Player does not make any use of Java at all. It is a script written in Javascript, which is simply part of your browser.

Categories

Resources