You are not logged in.
I installed it today, replacing the repo version (8), but while it indeed works with some programs, some others are bringing up messages like:
"No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8 and at most 1.12.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM".
Any ideas?
TIA!
Last edited by Giorgos (2019-05-29 07:15:16)
Offline
Assuming you are running 64 bit - here is the link to download and install OpenJDK 11...
https://debian.pkgs.org/10/debian-main- … 4.deb.html
James
Indiana, USA
Offline
Sorry James!
I forgot to mention. I'm on ASCII x64.
I already installed v.11 of OpenJDK. The backported (to stretch) one.
Offline
Well...the only solution I found, is keeping both versions installed and switching to the newer one when needed and switching back to the normal one afterwards.
Offline
Greetings..
My questions might be on topic..
I'm running beowulf, 64bit...grabbed openjdk from devuan repos:
openjdk version "11.0.4-ea" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4-ea+9-post-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.4-ea+9-post-Debian-1, mixed mode, sharing)
I'm clueless about anything "Java", it's required to run the "BiglyBT" program on I2p.
Your error is very close to mine...which I don't know how to satisfy & continue with install.
"No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8 and at most 1.12.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM".
My output:
$ sudo bash BiglyBT_Installer.sh
don't need JNA
not wayland
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8 and at most 1.12.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
define INSTALL4J_JAVA_HOME ..???
{I noticed that "INSTALL4J" packaging thing, on their download page.}
To get java version I used -v and got this output:
$ java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I got something else to do? To 'create' or 'run' this JVM ??
Well...the only solution I found, is keeping both versions installed and switching to the newer one when needed and switching back to the normal one afterwards.
Would ya pass the info to do that...so I can get it going and move on!? (learn something to!)
Thanks...
Last edited by stanz (2019-06-27 03:22:38)
miyoisomix.i2p
Offline
I dont understand why, but at some point in the java releases, java -v nolonger displays the java version. Try:
java -version
If this returns the version then your java itself is running.
It sounds as though you may also need to have INSTALL4J_JAVA_HOME set, as an environment variable. Taking a guess, this may need to be set to JAVA_HOME, which is the directory where java is installed (the java directory that contains bin). As an example, if the java executable resides in /usr/bin/java/bin, then you would need env variable:
export INSTALL4J_JAVA_HOME=/usr/bin/java
I set my java env variables in /etc/bash.bashrc, but thats up to you.
Last edited by dxrobertson (2019-06-27 11:07:39)
Offline
I poked around at https://www.biglybt.com/download/ and at the bottom it mentions:
Our Windows, Linux, and Mac installers use Install4j, multi-platform installer builder
I believe the BiglyBT_Installer.sh installer needs the Install4j installer installed before it can install. Enough installs? Thus disregard my comment above about setting jINSTALL4J_JAVA_HOME to JAVA_HOME. It needs to point to Install4j, which you will have to 1st install.
Offline