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
1answer
21 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 ...
0
votes
0answers
23 views

Cannot work with javac or entire system

I keep trying to run my java program with: javac HelloWorld.java But it returns an error (yes, I am in the folder the file is in): Command 'javac' not found, but can be installed with: sudo apt ...
0
votes
0answers
15 views

NetBeans Eclipse OpenJDK Snaps Not Synching

I have Eclipse version 2019-12(4.14.0), Netbeans version 12.3 looking for Java 16: OpenJdk 64 Bit Server VM 16+36 Snap. I am using UBUNTU 20.04.2 LTS. They don't seem to work right. When I go on ...
0
votes
1answer
36 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 ...
-1
votes
0answers
37 views

Openjdk 8 EOL on Ubuntu & Ubuntu Pro

I am interested with long support of OpenJDK 8 on Ubuntu. Surprisingly, Ubuntu is the only distribution to no longer support OpenJDK 8 whereas other platforms (RedHat, Oracle, AdoptOpenJDK...) support ...
-3
votes
0answers
103 views

I' m working in ubuntu. I need to update the jdk with an oracle jdk

How do I update JRE/JDK in Ubuntu? I want to use oracle java JDK. I would like to get thru.
0
votes
1answer
97 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 { ...
1
vote
1answer
44 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. ...
0
votes
1answer
96 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 ...
0
votes
1answer
82 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 ...
0
votes
1answer
60 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 ...
0
votes
0answers
11 views

Hive Application pointed to unsintalled java version

I have java 8 and 11 installed in my ubuntu system and I removed /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java and updated the java 8 entry in bashrc. export JAVA_HOME=/usr/lib/jvm/java-1.8.0-...
0
votes
1answer
160 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]...
0
votes
0answers
31 views

Java Assistive Technology not found error

As I understand, there are many topic alike, however their solutions have not helped. I am attempting to run Minecraft Java 1.12.2, I have enabled the debug log and I get one fatal error: Unable to ...
0
votes
0answers
61 views

Upgrading OpenJDK Java 8 on Ubunutu 16.04

I am having a heck of a time running an update of my Ubuntu 16.04. Everything runs smoothly until I hit openjdk-8 and associated packages. openjdk-8-jre openjdk-8-jre-headless I receive the following ...
1
vote
1answer
1k 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....
3
votes
1answer
3k 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 ...
0
votes
0answers
44 views

JavaFX installation

How can run JavaFX application(program) in Ubuntu 20.04?
1
vote
1answer
82 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&...
0
votes
1answer
104 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 ...
0
votes
0answers
33 views

How to install openJDK-7 in Ubuntu 16.04 VM machine

I have followed below links to install OpenJdk 7 in ubunu VM 16.04 machine. https://www.youtube.com/watch?v=dMY0t7xJbRQ How do I install openjdk 7 on Ubuntu 16.04 or higher? Step: 1 : Downloaded ...
0
votes
0answers
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....
0
votes
1answer
299 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-...
4
votes
1answer
151 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 ...
0
votes
0answers
71 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 ...
0
votes
0answers
24 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 ...
2
votes
1answer
1k 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-...
2
votes
1answer
635 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 -...
0
votes
0answers
586 views

Java “Failed to write core dump” (minecraft)

I've switched recently to Ubuntu (XFCE) 20.04 and ive been having issues with a program (Minecraft) starting up with java # # A fatal error has been detected by the Java Runtime Environment: # # ...
0
votes
2answers
1k 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 ...
0
votes
0answers
25 views

How can I update Openjdk 13 to 14, Ubuntu 20.04 [duplicate]

I need to update Java 13 to Java 14 and how can I do that in Ubuntu. I have tried to install 14 like: ~$ sudo tee /etc/profile.d/jdk14.sh <<EOF > export JAVA_HOME=/opt/jdk-14 > export PATH=...
1
vote
2answers
220 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 ...
0
votes
0answers
31 views

how install openjdk-11.0.7 beside openjdk 11.0.8 [duplicate]

I would like to install openjdk 11.0.7 on ubuntu 20.04 The first thing that I did was run $apt-cache madison openjdk-11-jdk And got this output: openjdk-11-jdk | 11.0.8+10-0ubuntu1~20.04 | http://de....
7
votes
2answers
6k 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?
0
votes
0answers
747 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: ...
0
votes
1answer
3k 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 ...
0
votes
0answers
303 views

Downgrade openJDK to install Bamboo on Ubuntu 18 LTS

I am trying to install bamboo server on ubuntu 18 lts machine. Java openJDK 1.8 is required. I installed it and by running: $ java -version I got: openjdk version "1.8.0_265" OpenJDK ...
0
votes
0answers
112 views

Java.lang problem occurred when compiling Android source code in ubuntu 20.04.1, reinstallation can not solve it

I am trying to build this Android source code on Ubuntu 20.04 for Lineage OS on a Huawei phone for HWJMM (Honor 6C Pro or Honor V9 Play). I now have the Android source code and manufacturer binary ...
0
votes
0answers
324 views

Minecraft 1.12.2 and under won't launch, as well as forge

I've literally tried it on 3 distros but it won't launch. I reinstalled Ubuntu, installed java 8 with this cmd sudo apt install openjdk-8-jre, and installed Minecraft from official site. Everything ...
1
vote
1answer
861 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) ...
1
vote
1answer
1k 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 -...
0
votes
0answers
72 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 ...
1
vote
0answers
53 views

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

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 ...
0
votes
0answers
39 views

OpenJDK 8 security updates on 20.04?

I know that OpenJDK 8 will continue to receive security updates until April 2021 even though it's been moved to universe in 18.04 (see https://ubuntu.com/blog/announcing-openjdk-11-packages-in-ubuntu-...
2
votes
1answer
980 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-...
2
votes
1answer
661 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 ...
4
votes
1answer
646 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 | ...
0
votes
0answers
1k views

Error occurred during initialization of boot layer java.lang.module.FindException: Module java.transaction not found

I am a biologist and new to linux. I am trying to install cytoscape_3.7.1 from thislink. I downloaded the tar file, extracted it and tried /cytoscape.sh. It gave this error Error occurred during ...
0
votes
0answers
188 views

20.04: Can't run forge server

A problem occurred running the Server launcher.java.lang.reflect.InvocationTarge ...
0
votes
0answers
120 views

Switch from Oracle Java JDK to OpenJDK

Most people seem to want to go the other direction (OpenJDK to Oracle), but Oracle's licensing position and the inability to work seamlessly with "sudo apt upgrade" is pushing me to OpenJDK. Is there ...

1
2 3 4 5
12