JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 22.12.2022, 17:54
secon25 secon25 is offline
Junior Loader
 
Join Date: Jun 2022
Posts: 10
Default Error when installing JD 2 on Ubuntu 22.04

Hello, I had a PC with Ubuntu 20.04, and JD 2 worked correctly. Today I formatted the PC and installed Ubuntu 22.04. I downloaded JD 2 from there https://jdownloader.org/jdownloader2 but now when i try to run the .sh file, I get this error:

Quote:
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 21.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
How can I to fix it?
Reply With Quote
  #2  
Old 22.12.2022, 19:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@secon25: The installer on linux no longer comes with bundled java.
You've got to install java on system first, see
tecadmin.net/how-to-install-java-on-ubuntu-22-04/
for example
Quote:
sudo apt update
sudo apt install openjdk-17-jdk
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 23.12.2022, 17:51
secon25 secon25 is offline
Junior Loader
 
Join Date: Jun 2022
Posts: 10
Default

Quote:
Originally Posted by Jiaz View Post
@secon25: The installer on linux no longer comes with bundled java.
You've got to install java on system first, see
tecadmin.net/how-to-install-java-on-ubuntu-22-04/
for example
It worked, thank you
Reply With Quote
  #4  
Old 23.12.2022, 17:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@secon25: Thanks for the feedback and you're welcome!
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 01:15.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.