Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openjdk]

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

0
votes
0answers
9 views

How can I add -Dhttps.protocols = TLSv1.2 to maven?

Im using ubuntu 14.04 and jdk7,How can I add -Dhttps.protocols = TLSv1.2 to maven?
1
vote
0answers
15 views

In IntelliJ from snap I can't select openJDK 11 from apt-get

I am using Ubuntu 18.10 64 bit. I have installed IntelliJ IDEA 2018.3.1 via snap. I have installed openJDK 11.0.1 with apt-get. I now want to set openJDK as the SDK for IntelliJ. However when I ...
3
votes
0answers
56 views

Java 8 and Java 11 on Kubuntu

The frequent updates for Java versions is causing me headaches in my software engineering course. I have some students who are doing their project in Java 11, which is not available on the school's ...
0
votes
2answers
103 views

problem with installation of Java JDK 11

sudo apt install openjdk-11-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct ...
-1
votes
0answers
9 views

how to set netbeans home variable in ubuntu [duplicate]

i have installed 1. Netbeans 2. open jdk 8 (path set). when i try edit netbeans_jdkHome variable in ubuntu it open in read only read only mode and i am unable to edit it so please help. ...
0
votes
1answer
175 views

Unable to install openjdk-8-jdk in Ubuntu Server 18.04

I am running Ubuntu Server 18.04 and want to install opendjdk-8-jdk. I have tried doing these steps (referring to this). sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get ...
1
vote
1answer
201 views

How to install jdk 11 GA on ubuntu 18.04?

I'm on 18.04, with default-java -> java-1.11.0-openjdk-amd64/ java -version shows: OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode) I already did a apt upgrade and ...
1
vote
0answers
103 views

Minecraft doesn't work on Ubuntu 18.04

I recently updated to Ubuntu 18.04 and can't get Minecraft to work. The launcher works fine using both Java 8 and Java 11 runtime, but when I click Play, one of two things happens: either the ...
0
votes
1answer
66 views

Using update-java-alternatives with openjdk 8 updates java but not javac

I am using Ubuntu 14.04.5 and have several JDKs installed. When I use update-java-alternatives to select openjdk8, this updates java but not javac, which defaults to "auto" (which in my case selects ...
1
vote
1answer
338 views

Openjfx 11 after 18.10 upgrade

I'm developing an application that needs JavaFX. This week I upgraded to Ubuntu 18.10 and saw that the default version of OpenJDK is 11 and therefore the OpenJFX version is also 11. The "cosmic" ...
0
votes
0answers
100 views

jre and jdk folder in java-11-openjdk-amd64

I have installed java-11-openjdk-amd64 in Ubuntu 18 but there have no jre and jdk folder. I am getting a lot of error while ruining Hadoop, Spark and Hive. Please cooperate me.
0
votes
0answers
45 views

installation and run the eclipse

Trying to install and run the eclipse displayed the following message: OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Gtk-Message: 23:21:23.533: Failed ...
3
votes
0answers
232 views

How to get Scilab 6.0.1 working on Ubuntu 18.10?

I have installed clean Ubuntu MATE 18.10 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 (Applications ...
1
vote
0answers
47 views

Two programs written in Java won't install or run on 18.04

I have two programs that I've used successfully on Ubuntu for some years - Moneydance and PDF Studio Neither of these programs will install or run under Ubuntu 18.04 on my computer. All I get from ...
-2
votes
1answer
190 views

Can't run java program with terminal in Ubuntu 18.04.2 [closed]

I can't run any java program with terminal: openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.2) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-...
0
votes
1answer
92 views

JDK not found when installing Java ME SDK on Ubuntu 18.04

Ubuntu 18.04 user here! I'm going to use Java to program embedded systems such as the boards: Raspberry Pi STM32429I-EVAL 32F746GDISCOVERY Intel Galileo Gen. 2. They are not so many, but they are ...
2
votes
1answer
116 views

Getting Java Error Message - JAVA_HOME is not valid:

I'm trying to set up OpenDaylight which is a SDN controller on Ubuntu Virtual Box. The version of Ubuntu is 18.04. OpenDaylight requires java-8-openjdk-amd64 and I have installed it successfully: See ...
3
votes
1answer
690 views

Can not install jdk11 using update-alternatives --install

to try out the new features of jdk11 I installed it into /opt/ and want to use it using update-alternatives, like so: sudo update-alternatives --install /etc/alternatives/java OpenJDK-11 /opt/jdk-11/...
0
votes
0answers
166 views

update-alternatives: error: no alternatives for mozilla-javaplugin.so

I'm trying to switch from Java Development Kit (JDK) 8 to JDK 11 in Bionic. Installation went fine: $ sudo apt-get install openjdk-11-jdk $ sudo update-java-alternatives -l java-1.11.0-openjdk-amd64 ...
0
votes
1answer
224 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 ...
1
vote
0answers
39 views

How to I configure the home.java variable for vscode in ubuntu 16.04?

In Eclipse, java development is seamless and works just fine. However, Visual Studio Code doesn't seem to recognize the java installation and demands that you manually input its whereabouts. I've had ...
4
votes
1answer
793 views

Uninstall default-jdk

I'm on a fresh Ubuntu 18.04 install. I did a sudo apt-get install default-jdk. Result: java --version openjdk 10.0.2 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.1) ...
0
votes
0answers
135 views

change JDK path for Android studio

I have Android studio 3.1 which was working with oracle java 10. I have deleted all Java packages and alternatives according to this answer. now starting Android Studio I face Fatal error java.lang....
0
votes
1answer
133 views

java -version still shows old $JAVA_HOME

I unknowingly downloaded the wrong jdk onto my system (openjdk 11) and would prefer java 1.8.0_181 to be installed. I'm just looking to run an application so I believe that jre is all that is needed. ...
0
votes
0answers
30 views

How can I reinstall oracle-java-installer? [duplicate]

I tried to set Java 10 as default JRE but it deleted other ones, but when I closed it then it everything that tries to download now doesn't work that uses Java code. This comes when I try to download ...
1
vote
1answer
195 views

New version of gnome-initial-setup causes Java problems [duplicate]

I just did a minor upgrade, and then I suddenly started having Java Problems. The stack trace looks like: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper ...
0
votes
0answers
31 views

error while installing package trying to overwrite

PC shut down, while trying to install default-jdk, then I often get take this error "could not install properly", I installed it again thanks to the synaptic package manager. Now, ~$ java --version ...
2
votes
1answer
239 views

Java Issue with Minecraft Realms on Ubuntu 18.04.1

So when I first installed Ubuntu I downloaded Minecraft from the official website as a tar.gz. However when I started the launcher it gave me SSL errors, even though there was no problems with my ...
0
votes
2answers
1k views

How can I install a specific version of OpenJDK? (1.8.0_131)

All of the installation instructions reference using apt-get to install the default-jre package, which is fine, but as of this writing that installs OpenJDK Java 1.8.0_171. One of our applications ...
0
votes
0answers
159 views

java_home does not point to the jdk

i already installed openjdk jdk on my kali linux using this command " sudo apt-get install default-jdk " so i find two versions of jdk (8 and 10, i joined a screenshot of the jvm file) but the basic ...
2
votes
2answers
747 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-...
0
votes
0answers
79 views

Where JAVA_HOME is set? [duplicate]

I need to change my java_home path , when i tip echo $JAVA_HOME i get: /usr/lib/jvm/java-7-openjdk-amd64 however when i went to /etc/environment i only find the path is set : PATH="/usr/local/...
0
votes
0answers
443 views

JavaFX missing in KUbuntu 18.04

I have have Kubuntu 18.04 installed and I use the default jdk which says version 11 in the repositories but 10 when using java -version command. However, I cannot run JavaFX application because it's ...
1
vote
1answer
3k views

How to install openjdk 7 on ubuntu 18.04

Today I try to install openjdk 7 on my ubuntu 18.04 system. It always install oracle-java8-installer instead openjdk 7. Please help me apt-get install openjdk-7-jre
2
votes
0answers
265 views

update-java-alternatives jinfo file does not exist

I'm trying to learn how to quickly change which java version my system uses as described in this article: https://aboullaite.me/switching-between-java-versions-on-ubuntu-linux/ I've used apt-get ...
1
vote
2answers
2k 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,...
0
votes
1answer
1k views

Want to change default java version to 1.8.xx [duplicate]

I downloaded Oracle JDK-8 using sudo apt-get install oracle-java8-installer and set this version to default using sudo update-alternatives --config java but when I run java -version I get java ...
1
vote
0answers
435 views

Support / lifetime of OpenJDK 8 in Ubuntu Xenial 16 LTS

Public update of JDK8 will end 2019 - January as mentioned by Oracle http://www.oracle.com/technetwork/java/javase/eol-135779.html. But since Xenial has the package OpenJDK8 and Xenial is LTS until ...
0
votes
0answers
276 views

Why openjdk-10 is missing in 18.04 PPA where openjdk-11 is available? [duplicate]

$ sudo apt install openj openjade openjdk-11-jre openjdk-8-doc openjdk-8-jre-zero openjdk-11-dbg openjdk-11-jre-headless openjdk-8-jdk ...
1
vote
1answer
100 views

Unable to install OpenJDK 9 on 32-bit Lubuntu or 64-bit Ubuntu machines

I'm brushing up on Java, working from the Deitel book Java 9 For Programmers. The first 15 chapters required Java SE 8, and I remember the installation process being an easy command-line job - sudo ...
1
vote
0answers
655 views

Ubuntu 18.04 LTS, Oracle 8 JDK, and Tomcat 8

I installed Ubuntu 18.04 LTS as a Test server for some Java code where I am moving from WebLogic over to Tomcat. The code does not yet work with anything newer than Java 8, some of the packages I ...
1
vote
2answers
720 views

I can't install JRE and JDK on my Ubuntu 18.04 LTS

I can't install both the JRE and JDK. First of all, I have not attempted to install the JDK, but I assume that if I did, it wouldn't work because you need to install the JRE. Second, I can't install ...
0
votes
0answers
78 views

What are the files and directories installed for openjdk 8 for?

I installed openjdk on Lubuntu 18.04 by $ sudo apt install openjdk-8-jdk The files and directories it has installed under /usr/lib/jvm/ for openjdk-8 are $ ls -la /usr/lib/jvm total 28 drwxr-xr-x ...
47
votes
1answer
7k 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. ...
2
votes
2answers
2k views

Netbeans 8.1 won't make it past “Turning on modules” screen

This week I installed netbeans 8.1 in my fresh ubuntu 18.04 installation.Prior to that I have installed jdk,jre and configured the JAVA_HOME variable.After trying to open netbeans I get the netbeans ...
0
votes
1answer
70 views

Install and run Java app on Ubuntu 14.04 issue

I want to run just Selenium Standalone Server on Ubuntu 14.04. I had the same issue withopenjdk-8-jdk installation, but this topic solved it. Now I have another problem, I can't just run the Java ...
3
votes
2answers
5k 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 ...
2
votes
1answer
2k views

eclipse: class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Since the update yesterday (yes, the linux update), eclipse denies me to run even the most simple helloworld: has been compiled by a more recent version of the Java Runtime (class file version 53.0), ...
1
vote
1answer
575 views

Switch from openjdk-8-jre to openjdk-11-jre - trust anchor not found

Today I tried to upgrade my server running a DAVmail gateway. On my previous installation I used openjdk-8-jre-headless without any problem. Now that I upgraded to 18.04 and installed openjdk-11-jre-...
5
votes
2answers
7k 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 (...