The officially official Devuan Forum!

You are not logged in.

#1 2019-05-29 07:14:53

Giorgos
Member
From: Greece
Registered: 2018-06-12
Posts: 47  

Any luck with the (Debian) backported OpenJDK-11?

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?  smile
TIA!

Last edited by Giorgos (2019-05-29 07:15:16)

Offline

#2 2019-05-29 18:21:25

James1138
Member
Registered: 2018-09-27
Posts: 45  

Re: Any luck with the (Debian) backported OpenJDK-11?

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

#3 2019-05-29 18:47:36

Giorgos
Member
From: Greece
Registered: 2018-06-12
Posts: 47  

Re: Any luck with the (Debian) backported OpenJDK-11?

Sorry James!  smile
I forgot to mention. I'm on ASCII x64.

I already installed v.11 of OpenJDK. The backported (to stretch) one.

Offline

#4 2019-05-30 14:38:29

Giorgos
Member
From: Greece
Registered: 2018-06-12
Posts: 47  

Re: Any luck with the (Debian) backported OpenJDK-11?

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

#5 2019-06-27 03:21:11

stanz
Member
From: Northern Earth ~ Brrrr
Registered: 2018-01-14
Posts: 162  

Re: Any luck with the (Debian) backported OpenJDK-11?

Greetings..
My questions might be on topic.. wink
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.

Giorgos wrote:

"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 ??

Giorgos wrote:

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!) smile

Thanks...

Last edited by stanz (2019-06-27 03:22:38)


miyoisomix.i2p

Offline

#6 2019-06-27 10:30:44

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: Any luck with the (Debian) backported OpenJDK-11?

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

#7 2019-06-27 11:20:41

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: Any luck with the (Debian) backported OpenJDK-11?

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

Board footer