Questions tagged [openjdk]

Is a free and open source implementation of the Java programming language. It may be installed from the software centre.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

Not beaing abel to run a java executable

I am currently trying to install forge (forge-1.18.2-40.0.36-installer.jar) on my new ubuntu 22.04 install. I have already installed minecraft (with the .deb), show the "secret" .minecraft ...
user avatar
0 votes
1 answer
18 views

Downgrade openjfx on Ubuntu 22.04

I'm trying to Install the package Burai (https://nisihara.wixsite.com/burai) for DFT calculations. This package depends on the openjfx library and becaus of recent bug in the openjfx I'm getting the ...
user avatar
  • 142
0 votes
0 answers
38 views

Java not insalled after "sudo apt-get install openjdk-8-jre / sudo apt-get install openjdk-8-jdk"

I am getting the follwoing error message: Command 'java' not found, but can be installed with: sudo apt install default-jre # version 2:1.11-72, or sudo apt install openjdk-11-jre-...
user avatar
  • 11
0 votes
0 answers
85 views

IntelliJ Idea not able to detect Java JDK Path

I have openjdk 11.0.4.1 Installed In my System I'm trying to do development in java using IntellijIDEA IDE of Jetbrains. Whenever I try to start a new JAVA project I see no SDK in SDK path. So, ...
user avatar
0 votes
0 answers
31 views

Install/run latest JabRef 5.x

I'd like to try out JabRef as a reference manager, since Mendeley doesn't play nicely with bib files. Now JabRef in the repo is hopelessly outdated so I wanted to try to install the .deb from the ...
user avatar
1 vote
1 answer
271 views

How to run Minecraft 1.18.x in (k)ubuntu 20.04 / java 17 throwing errors

How do I get Minecraft 1.18.x to run? I have openjdk-17 installed and Minecraft 1.16.x runs fine with openjdk-8. The relevant errors in the console are: [16:37:00 ERROR]: Game ended with bad state (...
user avatar
5 votes
1 answer
628 views

How do I run a specific program that requires a different version of Java without changing the default system version of Java?

I am using Ubuntu Server to host multiple Minecraft servers. For the latest versions of Minecraft, I need the latest version of Java; however, I would like to run a modded server as well and some of ...
user avatar
0 votes
1 answer
46 views

Remove alternative paths of Openjdk

I want to remove 0 and 1(in Selection Column) and keep only 2. How can i do it?
user avatar
1 vote
1 answer
104 views

Can't open smartgit, Java error

I've installed smartgit via ppa and tried to open it via GUI and it didn't. I tried to run smartgit command in terminal and it gave me this: Ignoring following line in file /usr/share/smartgit/bin/...
user avatar
  • 47
4 votes
3 answers
12k views

Do I have log4j on my Ubuntu 18.04.6?

I'm obviously worried about this vulnerability, but I wonder if I even have this library on my machine? The machine is a webserver running a couple of node expressjs frameworks over nginx, plus a ...
user avatar
1 vote
0 answers
71 views

Does Ubuntu 20.04 LTS have an upper memory limit for Java processes?

I've got this problem: There is a server running "Ubuntu 20.04.1 LTS" and a JDK 8 application. The machine has 256 GB of memory. Currently the JVM is started with the arguments -Xms25g -...
user avatar
  • 503
0 votes
2 answers
82 views

"Helloworld" c program failed on my new ubuntu 20.04

when i build hello world program on eclips they are showing this when i build helloworld program on c on eclips this is shown on console:- 10:21:36 **** Build of configuration Debug for project sample ...
user avatar
  • 9
0 votes
0 answers
45 views

Java installed, but command isnt working

A bit ago, when i didn't know how to use Linux, I was messing around with my filesystem. I must have deleted something important for java, because when I try to use the command, it doesn't work. I've ...
user avatar
0 votes
0 answers
77 views

No .jinfo file. Adding Openjdk 16.0.2 to update-java-alternatives

I want to add /opt/jdk-16.0.2 to update-java-alternatives, but there is no .jinfo file. File should be there, because I have openjdk 16.0.2 I had no problems with adding java to update-alternatives ...
user avatar
0 votes
1 answer
107 views

Why is openjdk-8 not installed well?

I installed openjdk-8-jdk, but at /usr/lib/jvm/java-8-openjdk-amd64, there is only bin, include, lib, man. Also, /usr/lib/jvm/java-8-openjdk-amd64/bin has just 2 files (appletviewer, jconsole). So I'...
user avatar
0 votes
0 answers
75 views

Installed Oracle JRE 8, but don't see it installed & can't select it

Running UbuntuStudio v20.04 Trying to get Oracle Java selected instead of OpenJDK in order for my Trading Platform to work - using a JNLP file. It must use the Oracle version. Have installed latest ...
user avatar
  • 1
1 vote
1 answer
72 views

Accept options when installing Java in terminal

How can I install Java (OpenJDK) on an Ubuntu system with regional preferences set int the command itself, so that it runs through the complete setup without needing user input? I am using this ...
user avatar
  • 63
0 votes
1 answer
52 views

How do I run mutiple Java applications with different versions?

I am using Ubuntu 18.04 LTS and I have 2 apps which need to run with different Java versions. My 1st app (Mirth Connect) needs to run on jre1.8.0_171 and my second app (Power Assist) needs to run on ...
user avatar
0 votes
0 answers
336 views

failed reallocation of scalar replaced objects

I have a file consisting of 26618 rules and when I execute it with Alpha it gave me a memory exception: “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space: failed ...
user avatar
  • 11
1 vote
1 answer
209 views

Java 11 installation complains about dependencies

I have installed Java 11 from this site - https://bell-sw.com/pages/repositories/#apt by using the following commands: wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key ...
user avatar
  • 179
0 votes
1 answer
381 views

Open JDK error when I Install Android Studio Arctic Fox on Xubuntu?

I am trying to install Android Studio Arctic Fox on my Xubuntu 20.04 using the official guide from here : https://developer.android.com/studio/install#64bit-libs I downloaded the .zip file and unzip ...
user avatar
0 votes
1 answer
202 views

BioX 4.6 won't launch: "An illegal reflective access operation has occurred."

BioX won't launch when using JRE 11 on two PCs running Ubuntu 20.04.2 and Pop!_OS 21.04. The BioX program however works fine without problems in openSUSE (Leap 15.2 and 15.3) which I replaced with ...
user avatar
  • 13
1 vote
0 answers
579 views

unrecognized algorithm name: PBEWithSHA1AndDESede

I am trying to use elasticsearch-certutil to generate a certificate sudo /usr/share/elasticsearch/bin/elasticsearch-certutil cert -out /usr/share/elasticsearch/config/elastic-certificates.p12 -pass &...
user avatar
0 votes
1 answer
246 views

How to fix java.lang.ClassNotFoundException: gnu.io.CommPortIdentifier with libRXTX on Ubuntu 20.04?

I have the following error: $ sudo java -jar /home/fadedbee/tc65sh-1.4.0/bin/tc65sh.jar -Djava.library.path=/usr/lib/jni/ -cp /usr/share/java/RXTXcomm.jar -p /dev/ttyUSB0 -b 115200 -f push.txt tc65sh ...
user avatar
  • 706
0 votes
0 answers
29 views

Repairing ProjectLibre Grainy Font Issue on Ubuntu [duplicate]

On Lubuntu 20.04.1, I've installed ProjectLibre, which I assume is a Java Swing app. It's using OpenJDK Java 8. The fonts are very grainy. StackExchange, unfortunately, smooths the image out and so ...
user avatar
  • 2,232
0 votes
1 answer
614 views

$ sdk current java is showing Not using any version of java

I have sdkman installed in my linux ubuntu 18.04. $ sdk version SDKMAN 5.11.5+713 I installed amazon java correto 11 using the below command. $ sdk install java 11.0.11.9.1-amzn java 11.0.11.9.1-amzn ...
user avatar
0 votes
1 answer
216 views

Update Maven causes JAVA_HOME problem

I broke maven... I wanted to change from 3.6.0 to 3.8.1 and nothing is working yet wget https://downloads.apache.org/maven/maven-3/3.8.1/binaries/apache-maven-3.8.1-bin.tar.gz tar xf apache-maven-*....
user avatar
0 votes
0 answers
209 views

OpenJDK 64-Bit Server VM warning: Cannot open file /var/log/cassandra/gc.log due to Permission denied ,apache cassandra is not connecting after intal

i am new to ubuntu environment so , i am trying to install cassandra on ubuntu 20.04 after installing it is showing me "connection failed error" so i searched more after getting some ...
user avatar
0 votes
1 answer
91 views

Intellij not able to access jdk

I am using Linux mint 20 (Posting it here as mint is based on Ubuntu😅). It has OpenJdk 11 (Checked it using --version), but Intellij doesn't recognise it. So, I tried adding it manually. I found that ...
user avatar
1 vote
1 answer
552 views

How to get Minecraft Server to boot with system?

I'm trying to figure out how to get my Minecraft server to start with my system. I'm currently on Ubuntu 21.04, kernel 5.11 and my DE is Gnome 3. I was following this post over on the Ubuntu ...
user avatar
4 votes
3 answers
5k views

how do I find openjdk-11 that I just installed?

I'm currently trying to install ghidra on my Ubuntu 20.04 machine. While installing, I get this: ****************************************************************** JDK 11+ (64-bit) could not be found ...
user avatar
0 votes
1 answer
808 views

Open JDK 14 for Ubuntu 18.04

I have read tons but can't find the answer to this. I want to install openjdk14 on ubuntu 18.04. I do not want oraclejdk14. I do not want openjdk11. Countless articles claim you can just apt install ...
user avatar
  • 196
0 votes
1 answer
47 views

Desktop Entry for JavaFIBS

I'm trying to create a Desktop Entry for a game called Java FIBS. It uses jre as its environment. This is the file I've created, but can't seem to get it to execute: [Desktop Entry] Encoding=UTF-8 ...
user avatar
  • 1
0 votes
1 answer
2k views

java.lang.NoClassDefFoundError: javafx/application/Platform despite JavaFx added as Maven dependency

My application is not a JavaFx application but is using some JavaFx librairies (JavaFx Media). The following code is running fine under Windows. But not Ubuntu: static void initJavaFx() { try { ...
user avatar
  • 103
1 vote
1 answer
949 views

Change Java Version from 11 to 8

I'm working on some of my projects using Java 11, but some libraries are not available in this version. So I want to move to Java 8. However, I'm not able to remove Java 11 version and install Java 8. ...
user avatar
0 votes
1 answer
502 views

line 56: /bin /java: no such file or directory

I have this problem running zmprov on Ubuntu 16.04: /opt/zimbra/bin/zmjava: line 56:/bin/java: no such file or directory. I run the required commands but cannot fix the problem, here is some useful ...
user avatar
0 votes
1 answer
478 views

NetBeans: classpath problem

I am trying to run a simple program on NetBeans in Ubuntu 18.04: package testing1; public class Testing1 { public static void main(String[] args) { // TODO code application logic here ...
user avatar
0 votes
1 answer
101 views

Java OpenJDK installation not working [closed]

I recently dual booted Ubuntu with my Windows so I am completely new. I coded in Java on my Windows machine, but would like to do it on Ubuntu now. However, when trying to follow tutorials (e.g. How ...
user avatar
0 votes
1 answer
858 views

Default JRE 8 not installing

I'm trying to install Open JDK's JRE 8 for Minecraft. and its not working. I've tried everything. I'm running Ubuntu 18.04 LTS Can someone help me? (xenial)reizu@localhost:~$ sudo apt-get update [sudo]...
user avatar
  • 3
1 vote
1 answer
4k views

Unable to find tools.jar in JDK in Ubuntu

I have used the following command to install openjdk sudo apt install openjdk-11-jdk But there seems to be no lib/tools.jar present. I am sure that it is the jdk that I have downloaded and not the jre....
user avatar
  • 13
5 votes
2 answers
20k views

Unable to locate package openjdk-15-jdk

Getting error while install openjdk-15-jdk on my Ubuntu 20.04.1 LTS Command I'm using: sudo apt-get install openjdk-15-jdk Error: E: Unable to locate package openjdk-15-jdk I used similar command to ...
user avatar
  • 151
1 vote
1 answer
99 views

Program using java runs on root fine, but errors with user

I have a shell script that loads a jar file. When executed with sudo, it loads. However, when not using sudo, I get errors and it will not load. Shell Script: #!/bin/bash jversion=$(java -version 2&...
user avatar
  • 13
0 votes
1 answer
306 views

Which OpenJDK Build does Ubuntu use?

Which OpenJDK 11 Build does Ubuntu install by default? My understanding is that beginning by OpenJDK 11, Oracle doesn't support OpenJDK long term. That is why that other builds like AdoptOpenJDK ...
user avatar
0 votes
0 answers
27 views

Unable to install OpenJDK 7 in ubuntu 18.04 [duplicate]

Unable to install openJDK 7 in Ubuntu machine. getting error like below : $ sudo apt-get install openjdk-7-jre Reading package lists... Done Building dependency tree Reading state information....
user avatar
  • 101
1 vote
1 answer
1k views

Cannot Install OpenJDK on Ubuntu 18.04

I tried several ways to install openjdk and here is what I get when I do: java -version openjdk version "11.0.4" 2019-07-16 OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-...
user avatar
4 votes
1 answer
403 views

JDownloader 2 Tray isn't supported

I'm new when it comes to using Linux as a whole and I've just switched from Windows to Ubuntu. I've installed JDownloader 2, however, it seems the tray option for JDownloader isn't working. Here's the ...
user avatar
0 votes
0 answers
513 views

Java Version Problem

Ubuntu version: 16.04 I was using the Java 11 last times and also I have java 11 on my computer. Somehow reason some program doesnt work with java 11 so I decide the remove it but. It doesnt remove I ...
user avatar
  • 1
0 votes
0 answers
27 views

Are there two or more environment files on Ubuntu Server 18.04.5 LTS?

Hi: I am trying to install OpenJDK on my Ubuntu Server 18.04.5 LTS. The problem is I need to modify my $PATH variable to contain the OpenJDK path instead of the oracle java. java -version gives me ...
user avatar
  • 13
2 votes
1 answer
3k views

Problem with openjdk-8-jre upgrade

I am suddenly getting this error while trying to update my Ubuntu 20.04 system. The following packages have unmet dependencies: openjdk-8-jre:i386 : Depends: openjdk-8-jre-headless:i386 (= 8u272-b10-...
user avatar
  • 21
2 votes
1 answer
2k views

Changing Default JDK On Ubuntu 20.10

I'm having trouble changing the default version of Java on Ubuntu 20.10. I want to change the default version of Java JDK from Graal to OpenJDK 13. I start by checking the default version: $ java -...
user avatar
  • 239

1
2 3 4 5
12