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
0answers
11 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
20 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
53 views

20.04: Can't run forge server

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

Do i need all these JDK related folders?

im trying to free space from my disk and i was looking to find where my java jdk and jre are located. I found that are located in that path: /usr/lib/jvm/ . Inside here i found my jdk files ,the jre ...
0
votes
0answers
21 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 ...
0
votes
0answers
31 views

JetBrains Clion doesn't show up

I was using Clion installed with JetBrains ToolBox on my Ubuntu 18.04.4 LTS smoothly and nicely. However, after I click the icon it hasn't showed up recently. I've tried to investigate the problem but ...
0
votes
0answers
65 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 ...
0
votes
1answer
133 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 ...
3
votes
2answers
136 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-...
0
votes
0answers
58 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 ...
0
votes
1answer
96 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. ...
0
votes
1answer
37 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:...
0
votes
2answers
74 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' ...
1
vote
1answer
71 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 ...
1
vote
1answer
39 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://...
0
votes
0answers
66 views

Maven can't read my JAVA_HOME correctly

I just installed maven in my Ubuntu machine (I already installed openjdk11 in my system) and set my JAVA_HOME variable correctly. Maven can't find the JDK of my installation. I am getting this error ...
0
votes
1answer
77 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.
0
votes
0answers
9 views

Debugging a C++ program with Eclipse CDT crashes when Java Virtual Machine is instantiated with JNI

I am trying to develop and debug a C++ program using Eclipse CDT. The program uses java Native Interface (JNI). When JNI_CreateJavaVM() is called, the program crashes. If the program is run through ...
0
votes
0answers
37 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. :/ ...
1
vote
1answer
60 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 ...
1
vote
1answer
115 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 ...
0
votes
0answers
291 views

Ubuntu 18.04 Java Command Not Found Despite Being Installed

I initially had default-jdk and default-jre installed on Ubuntu 18.04. Attempted to host a Minecraft Server for a friend, but was given the error found here I followed the commentor's advice to ...
0
votes
0answers
31 views

Ubuntu 18.04 using java-8-openjdk but cannot do javafx and none of the related answers have worked [duplicate]

I am using Ubuntu 18.04 and have tried all the fixes and approaches I have found through ask ubuntu. Nothing has worked. I am using java-8-openjdk-amd64 but can't use javafx. Very frustrating as I ...
0
votes
0answers
59 views

Ubuntu 19 Java JAR (Java 8) GUI blank screen

I'm trying to launch a JAR file which requires Java 8 (not higher/lower). When I install Java 8 and I launch the application it opens a window but the content of the window is just blank. I've tried ...
2
votes
1answer
375 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, ...
0
votes
1answer
115 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....
0
votes
0answers
54 views

How to remove a package without installing alternative using “ansible”

I have a problem where I need to remove openjdk-8-jdk. But apt always wants to install openjdk-11-jre-headless in its place. (due to tomcat being installed and apt wants to install alternative java ...
0
votes
0answers
219 views

Change OpenJDK 64-Bit to Client VM

I want to change OpenJDK to use Client VM instead of Server VM. I installed java by using sudo apt install default-jre, sudo apt install openjdk-11-jre-headless and sudo apt install default-jdk. java ...
0
votes
0answers
30 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....
1
vote
1answer
517 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" ...
1
vote
1answer
2k views

Package 'openjdk-11-jdk' has no installation candidate

When trying to install OpenJDK 11 in Ubuntu, I got an error sudo apt-get install openjdk-11-jdk Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
146 views

JAVA_HOME exporting issue while installing jep through pip3

I am trying to install jep system-wide from pip3 by the following command sudo pip3 install jep I get the following error: Complete output from command python setup.py egg_info: Error: ...
1
vote
1answer
117 views

How do I get rid off undesirable Java version?

I need to replace Java JDK 11 with 8 because that's the only Java version that works with Buildozer. 11 is installed on my machine: openjdk 11.0.5 2019-10-15 OpenJDK Runtime Environment (build 11.0....
0
votes
1answer
510 views

JavaFX on WSL - java.lang.NoClassDefFoundError: javafx/application/Application

I'm following this guide on openjfx.io to compile and run HelloFX.java. Ubuntu 18.04.2 LTS, via Windows Sybsystem For Linux Installed openjdk via apt install openjdk-11-jre Downloaded JavaFX from ...
0
votes
0answers
63 views

Installing Netbeans 9.0 with openJDK 8

So I need to install Netbeans, and the instructions I found here were really helpful, but after downloading the file (installing from binaries) I couldn't figure out what they meant. I'm not sure ...
0
votes
1answer
61 views

Ubuntu terminal displays a message each time it is opened: “bash: /usr/lib/jvm/java-8-openjdk-amd64: No such file or directory”

I am using Ubuntu 18. I have completely uninstalled OpenJdk8 following these steps: sudo apt-get remove openjdk* sudo apt-get remove --auto-remove openjdk* sudo apt-get purge openjdk* ...
0
votes
1answer
147 views

Can't find OpenJDK 8 in Application

(Sorry but I am new to using Ubuntu) I installed OpenJDK 8 and I am trying to run an application but I can't find it when I choose "Open with other application" then "All applications". I know for ...
0
votes
0answers
85 views

Which java version am I using and how should I del with JAXBException?

I run java --version and get the following: openjdk 11.0.5-ea 2019-10-15 OpenJDK Runtime Environment (build 11.0.5-ea+10-post-Ubuntu-0ubuntu1) OpenJDK 64-Bit Server VM (build 11.0.5-ea+10-post-Ubuntu-...
0
votes
1answer
291 views

How do i open jar files created by netbeans in ubuntu?

I'm trying to execute a jar file developed in Apache NetBeans 11.2 in Ubuntu 19.10 by double clicking it or launching via terminal (java -jar filename.jar) but it doesn't launch - nothing happens. It ...
0
votes
1answer
280 views

update-java-alternatives: Only java, but not javac is changed

I have Java 8 and Java 11 installed in parallel on my Ubuntu 16.04 machine: $ update-java-alternatives --list java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.8....
0
votes
0answers
509 views

Java Applet on Ubuntu 18.04

Here's list of askubuntu questions that I've tried: Askubuntu Question 1 Askubuntu Question 2 Askubuntu Question 3 And some more None of them worked. I've installed IcedTea, Firefox 52 ESR, OpenJDK ...
2
votes
0answers
268 views

Can't Run Gephi 0.9.2 On Ubuntu 19.04

I've downloaded gephi-0.9.2-linux.tar.bz to my Ubuntu 19.04 laptop. I have three different OpenJDK versions installed: 8, 11, and 13: sudo update-java-alternatives --list java-1.11.0-openjdk-amd64 ...
0
votes
0answers
141 views

Meeting.jnlp Files Not launching

I've followed several tutorials for installing JDK and IcedTea so that I can run a .jnlp file. I type this in the terminal cd Downloads(enter) javaws meeting.jnlp(enter) Then, IcedTea opens, and ...
0
votes
1answer
102 views

GeoNode installation issue with Openjdk

I'm following the official guide to install GeoNode on Ubuntu 18.04. After typing of sudo update-java-alternatives --jre-headless --jre --set java-1.8.0-openjdk-amd64 I see this error: update-...
0
votes
1answer
830 views

dockerfile - openjdk-8-jdk have unmet dependencies openjdk-8-jre & openjdk-8-jdk-headless

Below is the docker file: ENV CA_CERTIFICATES_JAVA_VERSION 20140324 RUN set -x \ && apt-get update \ && apt-get install -y \ openjdk-8-jdk="$JAVA_DEBIAN_VERSION" \ ...
0
votes
1answer
414 views

No Java command after installing Java 8, removing Java 11, despite no err msgs after installation

I'm having a great deal of trouble installing Java 8 onto Kubuntu 18.04 rather than the default Java 11, and would appreciate any help, as the advice from the usual web sites is not helping. In my ...
0
votes
0answers
13 views

Oracle Java 7 Installation Issue [duplicate]

I am having issues installing java 7 and I dont know what Im doing wrong. I even added the repository and ran the update command. This is what I ran: sudo add-apt-repository ppa:webupd8team/java ...
1
vote
0answers
456 views

How install JavaFX SDK on Ubuntu

I to try to install JavaFX SDK as here to say, with these command, java --module-path /home/ss/openjfx-11.0.2_linux-x64_bin-sdk/lib/javafx-sdk-11.0.2 and to come, Output from javafx installation ...
1
vote
1answer
530 views

Can't get javavws IcedTea to work (JRE OpenJDK version 8) in Ubuntu 18.04

I can't get javavws (IcedTea) to work (JRE OpenJDK version 8) in Ubuntu 18.04. I installed IcedTea via: sudo apt install default-jre icedtea-netx The active version of my JRE is: OpenJDK 8: franc@...
3
votes
1answer
3k views

How to set JAVA path to JDK 8

Was trying to contribute to some open-source project. And I tried finding the answer online, tried Wikipedia how to set it. None works. This is getting irritating. I need to commit my work. As I run ...

1
2 3 4 5
11