Questions tagged [openjdk]

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

OpenJDK is a free and open source implementation of the Java programming language.

The package that provides the Java Runtime Environment is openjdk-?-jre Where ? is a number that depends which version of Ubuntu you are using. In 16.10, for example, it is openjdk-9-jre To see which version is available for your distribution, use apt search openjdk to see all packages matching the name. To install the full Java Development Kit, install the openjdk-?-jdk package, which includes the JRE.

To be able to use OpenJDK in browsers, the package icedtea-?-plugin (where ? is a number that depends which version of Ubuntu you are running, 8 in 16.10) needs to be installed.

591 questions
14
votes
5 answers

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' is not marked as executable. If this was…
Croviajo
  • 1,154
6
votes
4 answers

JAVAC and JPS are not present in /usr/lib/jvm/java-8-openjdk-amd64/bin folder

Below is the java I installed in ubuntu 16.04, but I am unable to find Javac and Jps in this. Can someone help how to get them. $ java -version openjdk version "1.8.0_131" OpenJDK Runtime Environment (build…
6
votes
3 answers

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 and openjfx from scratch. Any easier way? Edit:…
3
votes
2 answers

How to make openJDK automatically update-alternatives?

Well, I've made a fresh Ubuntu 11.10 install and I installed openJDK 7. It updated alternatives just after installing, so it was all good. Then, I compiled a source and executed it and it didn't worked, then I noticed that java was using the version…
cgc512
  • 85
2
votes
0 answers

How to make openjdk-8 default java version and remove openjdk-7

I have intalled openjdk-8 (from official repo) with apt-get install openjdk-8-jre-headless openjdk-8-jre openjdk-8-jdk and updated alternatives with update-alternatives --config java now $ update-alternatives --get-selections|grep java appletviewer …
solsTiCe
  • 9,231
2
votes
1 answer

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 apt-get install ... etc. At the end of Chapter 16…
PaulS
  • 31
1
vote
0 answers

How to downgrade OpenJDK from 1.8 to 1.7?

I somehow installed openJDK 1.8 by mistake. And one of my process cannot run as normal as before. I have to downgrade the OpenJDK version to 1.7 but I am unable to do it. Can someone provide a solution?
1
vote
0 answers

JRE failed even after open jdk as well as oracle

$ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority …
1
vote
1 answer

Unmet dependencies when installing openjdk 7 on arm v7 running ubuntu

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following…
1
vote
1 answer

Downgrade openjfx on Ubuntu 22.04

I'm trying to Install the package Burai (https://nisihara.wixsite.com/burai) for DFT calculations. This package depends on the openjfx library and becaus of recent bug in the openjfx I'm getting the following error. Error: Could not find or load…
brownser
  • 161
1
vote
1 answer

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) and openjfx(11) installed. Thanks.
laksys
  • 143
  • 6
1
vote
2 answers

JAVA_HOME is not valid?

I'm really hoping someone can help me to fix the issue I'm having and would be extremely grateful for anyone to offer a solution to this issue. … When I try and launch OpenDaylight, I get the following error: karaf: JAVA_HOME is not valid:…
1
vote
1 answer

Logisim hangs in Ubuntu 18.04 with openjdk-11

I have tried both sourceforge download and sudo apt install logisim with default-jdk and default-jre. In both cases, I get a white window just after logisim finishes loading and nothing else happens. What do I do? I'm running Ubuntu 18.04 and dwm as…
3N4N
  • 123
0
votes
1 answer

A recent 14.04 update broke a java app

The app that broke is an older Adaptec Storage Manager (v4.30), which has worked faithfully for years now until a recent Ubuntu 14.04 update. The best I can tell is that the problem occurred when openjdk-7-jdk was updated, but I am not sure which…
ChasW
  • 119
0
votes
0 answers

open jdk install error

dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack): trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64…
1
2