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
1 vote
1 answer
2k 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 ...
Tesseeaye's user avatar
5 votes
3 answers
16k 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 ...
Garsty100's user avatar
0 votes
1 answer
1k 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 ...
Bruce's user avatar
  • 196
0 votes
1 answer
76 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 ...
Lojix's user avatar
  • 1
0 votes
1 answer
5k 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 { ...
lvr123's user avatar
  • 89
2 votes
1 answer
8k 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. ...
Lalit Verma 's user avatar
0 votes
1 answer
988 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 ...
rjmontan's user avatar
0 votes
1 answer
827 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 ...
user2994783's user avatar
0 votes
1 answer
309 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
2k 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]...
reizu's user avatar
  • 3
1 vote
1 answer
9k 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....
kannavkm's user avatar
6 votes
3 answers
52k 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 ...
kulsin's user avatar
  • 161
1 vote
1 answer
690 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&...
Richard's user avatar
  • 13
2 votes
1 answer
852 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 ...
Caranthir's 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....
GNK's user avatar
  • 101
1 vote
1 answer
3k 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-...
noobcoder's user avatar
4 votes
1 answer
796 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 ...
Jason Maximilian's user avatar
0 votes
0 answers
852 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 ...
hobik's user avatar
  • 101
0 votes
0 answers
35 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 ...
Mike G's user avatar
  • 5
3 votes
1 answer
5k 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-...
ParkeD's user avatar
  • 41
3 votes
1 answer
5k 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 -...
duffymo's user avatar
  • 269
0 votes
2 answers
5k views

How to install openjdk-14-jdk on Ubuntu 16.04?

I already tried to add such repos, but it didn't add 14th version: add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" add-apt-repository ppa:openjdk-r/ppa ...
pavelety's user avatar
  • 121
2 votes
2 answers
2k views

When I try to install OpenJDK 11, OpenJDK 10 got installed

I used the below apt command to install OpenJDK 11 sudo apt install openjdk-11-jdk But, OpenJDK 10 got installed, result of java --version openjdk 10.0.1 2018-04-17 OpenJDK Runtime Environment (build ...
YUVA PRASATH's user avatar
7 votes
2 answers
11k views

Is there a way to install OpenJDK 15 in Ubuntu bionic?

I would like to use newest Java (15) and I can't find it in ubuntu bionic repositories. Is there a ppa where I could get it?
Krzysztof Krasoń's user avatar
1 vote
0 answers
1k views

How to customize the start up icon of Nvidia Visual Profiler

According to this Nvidia Visual Profiler (nvvp) documentation, Java Runtime Environment (JRE) 1.8 must be available on the local system for it to work. The installation of OpenJRE can be done via: ...
Sun Bear's user avatar
  • 2,252
0 votes
2 answers
6k views

Minecraft 1.8.9 Won't launch even when changed Java version to 8

I recently switched to Ubuntu, and I'm new to Linux. I want to play Minecraft on version 1.8.9 on my Ubuntu machine. I heard that you need to set your java to version 8, so I did that, and now the ...
marzeq's user avatar
  • 1
1 vote
1 answer
1k views

BlueJ installed editor window not opened

I've just installed BlueJ .deb version over Ubuntu 20.04. Installed successfully and created new project also. But it doesn't open editor when I double clicked the java source file. I have openjdk(14) ...
laksys's user avatar
  • 143
1 vote
0 answers
3k views

Error: Could not create the Java Virtual Machine on linux system

I am trying to use bbmap (pileup.sh in= my.fa out=new.txt) to check the sequencing depth of assembly scaffolds derived from illumina reads. Using Linux, I installed java jdk as you see: $ java -...
Seraph's user avatar
  • 11
0 votes
0 answers
132 views

Issue in running Eclipse

Linux noob here. My pc runs lubuntu 18.04.4 lts(32-bit) I have installed jdk11 by typing sudo apt-get install openjdk-11-jre I just installed eclipse from the software center and opened it. and this ...
Sujay R's user avatar
  • 29
1 vote
0 answers
191 views

Error trying to install JDK 14, would not let me uninstall or reinstall, deleted the whole jvm folder [duplicate]

downloaded and ran deb file for latest jdk, pc crashed midway. restart and try again, says file not supported. ran java -version, says I have jdk 11. ran sudo apt install default-jdk, says "The ...
WOLFGANG343's user avatar
2 votes
1 answer
1k views

Can't launch Minecraft 1.12.2 and under

I cannot launch Minecraft version 1.12.2 and under. I read forums saying to use Java 8, and that still doesn't work. Following commands were executed followed by a computer restart: name@name-...
aient's user avatar
  • 21
2 votes
1 answer
3k views

I cannot set default java with update-alternatives

I have installed three Versions of Java. I tried to set a default option with update-alternatives. However, it didn't change the default. What am I missing? I know that one is from JRE and the other ...
E Todt's user avatar
  • 41
5 votes
1 answer
3k views

How to install java 8.0.232 Ubuntu 18.0.4

I need to install the 8.0.232 openjdk version. I am using sdkman and the result of sdk list java is: Java.net | | 15.ea.25 | open | | 15.ea.25-open | ...
Federico Taschin's user avatar
1 vote
1 answer
9k views

Why is apt unable to locate openjdk package on Ubuntu 20.04?

I am attempting to install OpenJDK on my headless server running Ubuntu 20.04. I've done this before on older versions of Ubuntu, but as it had been a while since then, I couldn't remember the package ...
Batchicken's user avatar
0 votes
1 answer
4k views

[ Solved ]: Cannot find version 14 of OpenJDK for Ubuntu 20.04

As of today (May 6th, 2020), the problem described below is now obsolate, because OpenJDK-14 has finally appeared in Ubuntu 20.04 repository. I've installed Ubuntu 20.04 Focal Fossa and was trying to ...
Adam Przedniczek's user avatar
3 votes
2 answers
5k views

Oracle JDK 11 Install and Setting to Default (NOT openJDK)

I have installed openJDK but want to default to regular JDK 11 (not OpenJDK). Steps I have taken: 1)java -version openjdk version "11.0.7" 2020-04-14 OpenJDK Runtime Environment (build 11.0.7+10-...
rbj's user avatar
  • 101
0 votes
1 answer
3k views

VLC not seeing that java is installed

Running Ubuntu 20.04 Java: openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09) OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) ERROR: Java ...
Poi1998's user avatar
0 votes
1 answer
2k views

How to install Java (not OpenJava) on Ubuntu 19.10

Please help! I have downloaded the .deb version of Java SE JDK from this site: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html This .deb file is saved in my Downloads folder. ...
rbj's user avatar
  • 101
0 votes
1 answer
489 views

Java run time error reported on running an application using Contiki_OS in Linux

I got the following error on compiling and executing an application in Contiki-NG using the Virtual Machine in Linux Ubuntu 16.04.06, The simulator stops around 1.4 seconds with a message given below:...
Martin Mathew's user avatar
0 votes
2 answers
479 views

Trying to compile java file without success on Ubuntu (CVE-2020-2555.java) [closed]

I am trying to compile the following file https://github.com/wsfengfan/CVE-2020-2555/blob/master/supeream/CVE_2020_2555.java in my Ubuntu server but without success. I tried 'javac CVE_2020_2555.java' ...
Gerald's user avatar
  • 47
1 vote
1 answer
363 views

Problems setting up Java on Ubuntu 19.10

I'm new to all of this, so I ask for your comprehension. A couple of days ago I installed Ubuntu 19.10 on my PC and I'm having trouble setting up Java. At the beginning, I just used the sudo apt-get ...
user avatar
1 vote
1 answer
364 views

Please help with this specific fatal error upon trying to run a third party .jar file

I would like to run the open source program Zettelkasten; it would be great for my work and I hope very much you can help me to get it running!! Thanks in advance!!! The program is this: http://...
Danny27's user avatar
  • 63
0 votes
1 answer
3k views

How to install and import OpenJFX?

I have installed openjdk 11 and openjfx (using "apt get install openjfx"). Tried to use "import javafx" and "import openjfx" in the code and javac always says that there is no such package.
R S's user avatar
  • 2,369
0 votes
1 answer
128 views

How to get sound with KGS go server with 16.04 or higher?

Before 16.04 we can get sound using the client cgoban-h.jar and openjdk-6 (and pulseaudio). But no more openjdk 6 for 16.04. The only sound working actually is the bell at the start of a game. :/ ...
Xzu's user avatar
  • 98
1 vote
1 answer
952 views

How to link a c++ program to jvm (java virtual machine)?

I am trying to follow this tutorial which creates a JVM from a c++ program. The program compiles but when it runs it fails with error while loading shared libraries: libjvm.so: cannot open shared ...
rur2641's user avatar
  • 115
1 vote
1 answer
1k views

I accidentally uninstalled java and now I can't use it

So I wanted to remove all the java versions from my computer and reinstall them. So I looked at all my java versions with: sudo update-alternatives --display java And one by one I deleted them with ...
tom q's user avatar
  • 13
2 votes
1 answer
881 views

How to run Scilab 5.5.2 on Ubuntu 16.04 LTS with all updates installed?

I have just ended clean installation of the Ubuntu 16.04 LTS. I installed Scilab here from the official repository as simple as sudo apt-get install scilab. Then I tried to launch it from the GUI, ...
N0rbert's user avatar
  • 99.7k
0 votes
1 answer
2k views

How to fix "error: cannot find symbol import io.vertx.core.json" Vertx

I followed these steps to install Vert.x on my machine. Intall OpenJDK : sudo apt-get install openjdk-8-jdk Test java installation: java -version which is giving me 3 outputs: openjdk version "1.8....
LoukMouk's user avatar
  • 255
0 votes
0 answers
163 views

Ubuntu distributed JDK and TCK

I searched quite a bit to find out if there are any online documents related to this. All I could find was RedHat/CentOS OpenJDK binaries were tested against TCK and explained here: https://access....
yurtesen's user avatar
  • 460
1 vote
1 answer
5k views

Unable to install default jdk package on Ubuntu 18.04 LTS through apt-get install

I recently installed Ubuntu 18.04 LTS in dual boot with Windows 10. I tried to install the default-jdk for java in Ubuntu 18.04 LTS but fails to install giving "failed to fetch"/"unable to fetch" ...
Mayank Lad's user avatar

1
2
3 4 5
12