Questions tagged [openjdk]
Is a free and open source implementation of the Java programming language. It may be installed from the software centre.
92
questions
186
votes
15
answers
479k
views
How do I install Java?
How do I install Java, including in my browser, so websites with Java work?
32
votes
8
answers
78k
views
How to install Minecraft (Client)
How to correctly install Minecraft, including setting any needed packages or apps to install it and to troubleshoot the most common problems that Ubuntu users face when trying to use Minecraft.
I am ...
203
votes
9
answers
983k
views
How to completely uninstall Java?
How can I completely remove all traces of Java on my system?
I already know how to install it in case I need it again.
134
votes
8
answers
403k
views
How do I install openjdk 7 on Ubuntu 16.04 or higher?
I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7.
Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are ...
4
votes
5
answers
14k
views
Installing Java 7 in 16.04 and using multiple Java versions
I already installed Java 8, but I don't know how to install Java 7 and how to switch between the two Java versions.
I also want to switch between Java 7 and 8 to update a project I am working on. I ...
181
votes
6
answers
585k
views
Switch between multiple java versions
While installing Android Studio on Ubuntu 14.04 I get the message that my Java version (javac 1.7.0_79) is causing problems. I found a solution of how to install a newer Oracle version of Java:
sudo ...
72
votes
2
answers
21k
views
Why is OpenJDK 10 packaged as openjdk-11-*?
While looking to compile OpenJDK from source, the newest General Availability version (OpenJDK 10.0.1) insists on OpenJDK 9 or 10. JDK 11, however, is not due to be released until September 2018.
...
324
votes
12
answers
993k
views
How to install OpenJDK 8 on 14.04 LTS?
Java 8 is now available according to http://openjdk.java.net/projects/jdk8/, but http://openjdk.java.net/install/ does not yet mention how to install OpenJDK 8 (not Oracle Java) on Ubuntu 14.04 Long ...
9
votes
3
answers
25k
views
How to get Scilab 6.0.1 working on Ubuntu 18.04 LTS?
I have installed clean Ubuntu MATE 18.04 LTS and installed Scilab from repository here with
sudo apt-get update
sudo apt-get install scilab
After installation I tried to launch it from GUI (...
6
votes
3
answers
16k
views
Update to latest version of java after ppa is discontinued
I have been trying to install the latest version of java-8. However, I found out that the PPA ppa:webupd8team/java has been discontinued due to changes in the java licence.
How should I update my ...
3
votes
1
answer
4k
views
No 'Open with' option to open/run jar file with openjdk
I have run
sudo apt-get install openjdk-7-jre
It says
Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-7-jre is already the newest version.
...
41
votes
6
answers
209k
views
Setup and install IntelliJ with JDK
Is there any scripts for downloading and installing IntelliJ with JavaJDK or OpenJDK?
I don't know how I did it before using Ubuntu 12.10 but I'm now on a fresh 13.04 install and I have been looking ...
18
votes
2
answers
36k
views
Changing JVM in Java
I only recently discovered the different JVM's on the wiki page and thought I'd start tinkering. Its been difficult to find documentation on how to configure Java on Ubuntu though.
Lets say I wanted ...
92
votes
2
answers
64k
views
Can not install 'openjdk-9-jdk' because it tries to overwrite file aready included in 'openjdk-9-jdk-headless' [duplicate]
I'm running Ubuntu 16.04 Xenial desktop, 64 bit, and wanted to install openjdk-9-jdk (Java 9 development kit). The version available from the universe repository is 9~b114-0ubuntu1.
Running the ...
53
votes
8
answers
120k
views
Problems with Eclipse and Android SDK
I installed Eclipse, openjdk6 and downloaded and extracted the sdk manager file.
Now, When I created an Android project I got the following error:
2012-06-06 18:44:40 - contactManager] /home/catia/...
30
votes
3
answers
86k
views
How can I install OpenJDK on Ubuntu 16.04? [duplicate]
Since I upgraded to the latest version of Ubuntu, I cannot install the Java OpenJDK package needed to compile Android custom ROMs. When I run sudo apt-get install openjdk-7-jdk, the following error ...
15
votes
4
answers
31k
views
Minecraft with OpenJDK 7, I get "the trustAnchors parameter must be non-empty"
Im using Ubuntu 15.04 and OpenJDK 7, trying to run Minecraft. This is what I get.
EDIT: Minecraft is working now when I use sudo java -jar Minecraft.jar but doesn't work without super user, how would ...
14
votes
5
answers
81k
views
How can I make a .jar file executable?
I'm trying to run a jar application under Ubuntu, so I installed OpenJDK Java 7 Runtime, but when I open this application I got this message :
The file '/home/aimad/Programms/jMerise/JMerise.jar' ...
14
votes
5
answers
12k
views
Will Sun's Java be available from Canonical's partner repository?
I just discovered that Oracle's (Sun's) Java6 has vanished from the Canonical's partner repository.
Before Java was taken from all repositories I had purchased Minecraft for play in Ubuntu. After ...
85
votes
4
answers
200k
views
Setting JDK 7 as default
four@twenty:~$ file /etc/alternatives/java /etc/alternatives/javac
/etc/alternatives/java:symbolic link to `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java'
/etc/alternatives/javac:symbolic link to `/...
60
votes
7
answers
400k
views
How to uninstall OpenJDK?
I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message:
$ sudo apt-get purge openjdk-7-jre
Reading package lists... Done
...
54
votes
7
answers
226k
views
Installing Chrome Java Plugin
I've been trying to install the Java plugin for Chrome for a couple hours now, and I figured it was time to ask people with more experience. I can't seem to get it working. My current Java version is ...
5
votes
3
answers
25k
views
Can't reset my JAVA_HOME to new Open JDK 11 Java installation
OS: UBUNTU 18.04
I had installed Oracle Java 8 earlier. But decided to switch to open JDK 11.
it's successfully installed.
java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime ...
3
votes
2
answers
5k
views
How to fix Eclipse with OpenJDK 9
I have installed OpenJDK 9 in Ubuntu 17.10. I wanted to start developing in Java, and I did setup JAVA_HOME variable and did some stuff I found on the internet. I can compile a Java program and run it,...
104
votes
4
answers
459k
views
How can I tell what version of Java I have installed?
I want to start toying around with java (eventually getting to the point where I can write basic little programs for android or web), but I've managed to have java messed up on my computer (from past ...
24
votes
5
answers
27k
views
How to install the OpenJDK 8 (Ubuntu 19.04)?
Only openjdk-11-jdk and newer seem to be available. Is there any way to install the OpenJDK 8? Preferably without adding a PPA.
15
votes
3
answers
72k
views
IcedTea plugin for OpenJDK 8
I updated from OpenJDK 7 to 8. I uninstalled 7, which uninstalled the IcedTea plugin as well. I tried to reinstall IcedTea with
sudo apt-get install icedtea-7-plugin
But it doesn't work. When I ...
8
votes
4
answers
31k
views
How to make Firefox use the newest Java version, which is already installed?
Apparently, I have OpenJDK 6 JRE (openjdk-6-jre 6b27-1.12.6-1ubuntu0.12.04.2) and 7 JRE (openjdk-7-jre 7u25-2.3.10-1ubuntu0.12.04.2) installed in parallel – I don't know why I have both of them, I can'...
4
votes
3
answers
94k
views
How to setup Java-Home and Path in Ubuntu 12.04
we are new to Ubuntu.Recently we changed my server OS to ubuntu 12.04 from windows 7 . every one have their own login details. one of my college installed Open-Jdk7. I asked him, where you installed ...
2
votes
1
answer
2k
views
Why Oracle discontinued Oracle Java (JDK) Installer PPA? [closed]
I tried to install OracleJDK 8 using
sudo add-apt-repository ppa:webupd8team/java
But it's not working.
I searched the problem and found that
"The Oracle JDK License has changed for releases ...
59
votes
4
answers
108k
views
Replace openjdk with oracle-jdk on Ubuntu
I have an ubuntu system and I want to replace my openjdk with oracle-jdk.
However if I remove my open-jdk and then install oracle-jdk, when I try to install some packages they want to install ...
47
votes
8
answers
332k
views
How to set the JDK for Android Studio?
I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6.
To change it I go to File -> Project Structure and try to find the ...
27
votes
1
answer
70k
views
OpenJDK - Oracle is better? [closed]
From http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux
Type/Copy/Paste: java -version . If you're having
OpenJDK Runtime Environment (IcedTea6 1.10pre) (7b15~pre1-0lucid1)
OpenJDK 64-Bit ...
27
votes
5
answers
70k
views
17.10 openjdk and oracle jdk 8 and 9 the trustAnchors parameter must be non-empty
I've just installed 17.10 in a fresh VM. Trying to set up a development environment, when I run gradle or ./gradlew I get the following error:
* What went wrong:
Error resolving plugin [id: 'com....
20
votes
3
answers
33k
views
How can I select which Java to use?
I have installed both OpenJDK 6 and 7. When I run "java somefile" from the command line, OpenJDK 6 is invoked. I do not want to change this default behavior. What command can I use to run my non-...
20
votes
2
answers
30k
views
How to tell if a certain package exists in the apt repos? [duplicate]
I am specifically interested in determining whether a 32-bit version of OpenJDK 8 exists in the apt/Ubuntu repos.
According to this answer, you can install the 32-bit version of the Open JDK 7 ...
8
votes
1
answer
6k
views
How to prevent openjdk-6-jre-headless from clobbering Oracle JDK installation?
My automated build server runs a job that depends on Apache Ant. The script invokes apt-get install ant. Ant depends on openjdk-6-jre-headless which runs update-alternatives making itself the default ...
8
votes
9
answers
56k
views
IcedTea-8 cannot run any jnlp application (maybe due to openjdk-11?)
I'm on Ubuntu MATE 18.04. All the jnlp applications I tried give execution error. After inspection, some libraries seem to be missing in Java.
So I removed everything, started installation again, and ...
8
votes
5
answers
13k
views
OpenJDK-8/Oracle JDK 8 Font Patches for Ubuntu
Is there a patched version of OpenJDK-8 or Oracle JDK 8 for Ubuntu 14.10 which fixes ugly fonts in Java Applications (Jetbrains products, Netbeans etc.)?
I had previously installed a patched version ...
8
votes
4
answers
37k
views
How to install JDK8 on Ubuntu 16?
I needed JDK 8 for Bazel. I ran sudo apt-get install openjdk-8* on a freshly built Ubuntu 16.04.02 machine, but after installation update-alternatives --config java show two paths:
/usr/lib/jvm/java-...
7
votes
2
answers
15k
views
What's the difference between OpenJDK and Sun Java for the end user? [closed]
For users running Java application or applets in the browser, what difference does it make running either Sun Java or OpenJDK?
EDIT
Oracle will be retiring the DLJ, and basing the proprietary ...
6
votes
3
answers
4k
views
How to revert back to OpenJDK?
I had installed sun-java, but I want to revert back to OpenJDK 7. I was trying to re-install from the terminal using the command sudo apt-get install openjdk-7-jre, same from Synaptic and Software ...
6
votes
2
answers
2k
views
is OpenJDK Vulnerable to 0-Day Exploit?
I was curious to know if OpenJDK is also vulnerable to the Zero-Day Exploit that is currently afflicting Java 7 because of which experts are telling people to disable Java until a solution is found on ...
6
votes
3
answers
37k
views
How to install openjfx along with openjdk-11?
I am trying to use openjdk-11 on ubuntu, but my project requires javafx.
There is an openjfx package but it installs alognside with openjdk-8.
So far I only found instructions to build both openjdk ...
4
votes
4
answers
15k
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 ...
3
votes
2
answers
3k
views
How to make pdfsam work in (L)ubuntu 18.04?
I have the following versions of OpenJDK installed:
java-1.11.0-openjdk-amd64 1101 /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-...
3
votes
2
answers
7k
views
Problem running jar from gui in 15.04
I updated ubunut to 15.04 today. Now when I try starting a jar file from the gui it only opens the archive manager.
Checking the open with tab in Properties I can't find Openjdk. I got both Openjdk ...
2
votes
2
answers
6k
views
Setup JDK for android studio
I was setting up android studio and got this
So I followed the answer here and used
sudo update-alternatives --set java /usr/local/java/jdk1.7.0_17/jre/bin/java
sudo update-alternatives --set ...
0
votes
1
answer
2k
views
OpenJDK not running .jar files
I've downloaded the .jar file for Minecraft, and I installed OpenJDK 6 from the software center, and I tried with 7 as well, but it keeps throwing the message "The file '/home/hunter/Downloads/...
0
votes
1
answer
13k
views
JAVAFX_HOME path on ubuntu
So my problem is openjfx and using it on Scala-sbt project. The actual problem is JAVAFX_HOME path.
First of all I have java version 10.0.2 installed on my computer and openjfx (which I take as JavaFX)...