BiglySoftware / BiglyBT

Feature-filled Bittorrent client based on the Azureus open source project
https://www.biglybt.com
GNU General Public License v2.0
1.53k stars 152 forks source link

Cannot install on debian 10 (buster) #1160

Closed tenzap closed 4 years ago

tenzap commented 5 years ago

When running the installer "sh BiglyBT_Installer.sh" I get the following error

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.

I user the default java version of buster : ie

openjdk version "11.0.3" 2019-04-16 OpenJDK Runtime Environment (build 11.0.3+7-post-Debian-5) OpenJDK 64-Bit Server VM (build 11.0.3+7-post-Debian-5, mixed mode, sharing)

However, when running biglybt from the unix .tar.gz version, everything is fine

Sanyy commented 5 years ago

Same error on Mint 19.

echo $JAVA_HOME /usr/lib/jvm/openjdk-11

parg commented 5 years ago

Try installing from the Unix .tar.gz ?

Sanyy commented 5 years ago

From .tar.gz it runs with some error:

Starting BiglyBT... Suitable java version found [java = openjdk 11.0.4 2019-07-16] Using swt/swt-x86_64.jar v4.924 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.biglybt.core.util.spi.AENameServiceJava9 (file:/home/user/Downloads/biglybt/BiglyBT.jar) to field java.net.InetAddress.impl WARNING: Please consider reporting this to the maintainers of com.biglybt.core.util.spi.AENameServiceJava9 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release .... ---------DONE DISPATCH AT 1564930206850;2802ms SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. DEBUG::Sun Aug 04 16:50:08 CEST 2019 Not using DorkBox SystemTray, SWT can do GtkStatusIcon better. ....

The installer script does not work.

parg commented 5 years ago

Those errors aren't generally that significant, please ignore them

TuxPaper commented 4 years ago

The installer at https://github.com/BiglySoftware/BiglyBT/releases has been updated to fix the "No suitable Java Virtual Machine". www.biglybt.com's installer will be updated within 3-4 hours depending on aws magic.

tenzap commented 4 years ago

Thanks. I just tested it and installer loads fine now.

csylvain commented 2 years ago

this error just now using the Release 2.8.0.0 GitHub_BiglyBT_Installer.sh with Ubuntu 20.04.3 LTS.

$ java -version
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment (build 17+35-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 17+35-Ubuntu-120.04, mixed mode, sharing)
$ dpkg -l "*jre*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version                  Architecture Description
+++-=============================-========================-============-==================================================
un  default-jre                   <none>                   <none>       (no description available)
un  default-jre-headless          <none>                   <none>       (no description available)
un  jre                           <none>                   <none>       (no description available)
rc  openjdk-11-jre-headless:amd64 11.0.11+9-0ubuntu2~20.04 amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
ii  openjdk-17-jre:amd64          17+35-1~20.04            amd64        OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-17-jre-headless:amd64 17+35-1~20.04            amd64        OpenJDK Java runtime, using Hotspot JIT (headless)