Questions tagged [openjdk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
62 views

trying to run solr and getting an error?

I am trying to run solr-9.4.0 and following exactly the instructions, running it through bin/solr start -p 8984 but getting the error: % cat server/logs/solr-8984-console.log OpenJDK 64-Bit Server VM ...
kloop's user avatar
  • 111
1 vote
1 answer
4k views

Java 17 is required instead of Java 11: Android CI-CD GitHub Actions

I have started to implement the CI-CD using GitHub Actions and integrate lint into main.yml, but I am getting errors like: Run ./gradlew lintDebug Downloading https://services.gradle.org/distributions/...
Alex's user avatar
  • 21
1 vote
1 answer
199 views

How to assert a specific minimum Java version before running an ansible task?

I would like to ensure Java is installed and the oldest acceptable version is 11. How can I achieve that in ansible? I have tried - name: Fetch Java version shell: java -version 2>&1 | grep ...
Human's user avatar
  • 553
2 votes
0 answers
226 views

openjdk@11 is already installed but not found in JavaVirtual Machines folder

I am working on macOS ventura 13.2.1 If i run brew install openjdk@11 i get Warning: openjdk@11 11.0.18 is already installed and up-to-date. java -version gives me The operation couldn’t be ...
Ourania's user avatar
  • 21
0 votes
0 answers
2k views

I cannot install JDK 18 because of "installation in progress: Another Java Installation in progress. You must complete the install.." Error Message

I was trying to install the latest version of JDK(Java Development Kit) which is version 18.0.1.1 during the installation, my computer suddenly switched off. I switched it on and try the installation ...
Nelmatrix's user avatar
0 votes
1 answer
2k views

OpenJDK 18 is installed, but BuildTools thinks its Java 11?

I'm trying to run Minecraft Spigot BuildTools.jar on Fedora 35, but it says I only have Java 11 installed. The runtime environment version is 18. What am I doing wrong here, or is this a bug? [banana@...
TheLabCat's user avatar
0 votes
1 answer
2k views

Run java application with OpenJDK

I am trying to run this application on my machine (Windows 11). I installed the latest version of OpenJDK from here. In my command line I can write > java -version openjdk version "17.0.2"...
Mark's user avatar
  • 169
2 votes
0 answers
461 views

Why is my installation of latest Java OpenJDK failing?

I am trying to build the latest Java OpenJDK on Windows 11 from source using Cygwin, from the Git repo https://github.com/openjdk/loom Following the instructions in the README.md there, I see If you ...
Vinny Gray's user avatar
0 votes
0 answers
493 views

Could not start the game server

I tried to run the game as explained here... https://www.minecraft.net/en-us/download/server But got this error: # java -Xmx1024M -Xms1024M -jar server.jar nogui Error: LinkageError occurred while ...
shantanuo's user avatar
  • 2,783
1 vote
1 answer
589 views

How to install Open JRE in RHEL 8.3 without registration

When I try to install packages to RHEL 8.3, I see : Updating Subscription Management repositories. Unable to read consumer identity. This system is not registered to Red Hat Subscription Management. ...
Meysam Javadi's user avatar
4 votes
1 answer
6k views

Upgrade from OpenJDK 11.0.7 to 11.0.11 causes SSLHandshakeException: No Appropriate protocol (protocol is disabled or cipher suites are inappropriate)

I have a Java application that connects to an IMAP store and checks for messages. This runs on an Ubuntu 20.04.2 LTS focal on AWS. It is running on Java 11 (OpenJDK). All was working fine, until on ...
jbx's user avatar
  • 195
1 vote
1 answer
1k views

How to install Java 8 on Kali Nethunter

Guys I need to install jdk 8 for my programs to work better, many programs do not support the version higher than Java 8 so I want to install Java 8 to run better, I tried to install via apt-get, but ...
Dakota's user avatar
  • 153
5 votes
3 answers
1k views

On Fedora, why do I have to install a devel package to get javac?

From what I've heard 'JDK' stands for Java Development Kit, and on Debian based systems you install default-jdk to get a running javac. However on Fedora (at least the recent ones) installing java-...
frans's user avatar
  • 1,039
3 votes
3 answers
4k views

Freemind on Windows: EXE wrapper not recognizing OpenJDK

I am trying to run Freemind 1.0.1 on a Windows 10 machine with OpenJDK. When I try to launch it from the Start menu or try to open a .mm file in File Explorer, I get an error message saying This ...
user149408's user avatar
  • 1,100
1 vote
1 answer
1k views

How to use vscode-java v0.65.0 with older java jdk<11 (64bit) or with any compatible jdk at all (32bit)?

32bit and 64bit This question is tailored for those who do some research on how to use an older java than java 11 (e.g., Java 8) on vscode-java, thus for those who do not run into the error of "...
questionto42's user avatar
  • 2,267
0 votes
1 answer
199 views

Why I can't start pycharm 2019.3.1 on ubuntu?

First, I downloaded pycharm using snap, and I edited the pycharm64.vmoptions file. Then I wasn't able to launch the software, so I uninstalled it. After that, I downloaded the pycharm.tar.gz file ...
Mosa Abbas's user avatar
0 votes
2 answers
955 views

How does IHOP calculated in G1 GC for starting concurrent marking cycle?

I'm trying to understand how G1 GC calculates the marking threshold and how it uses the values of -XX:InitiatingHeapOccupancyPercent and -XX:+G1UseAdaptiveIHOP determine the marking threshold and with ...
babu's user avatar
  • 1
5 votes
1 answer
5k views

Debian 10 - Oracle JDK not showing up in update-alternatives

Inside a Debian 10 VM I have first installed OpenJDK 11, and it was all OK. Then I have installed Oracle JDK 13 according to instructions posted in Computing for geeks, that means wget-ting the .deb ...
Sandman42's user avatar
1 vote
1 answer
5k views

Uninstall openJDK 12

I need to replace JDK 12 with JDK 8. However, I cannot figure out how to uninstall it. I searched a lot through the internet and everywhere they recommend just to use the common uninstall via apps. ...
oleksii.sapov-erlinger's user avatar
0 votes
2 answers
921 views

OpenJDK 11 missing default localization

I have a problem with a Java Swing application I wrote. Since JDK8 there were always standard localization texts for all the Swing components. These were chosen by the locale set in the Java ...
mrdlink's user avatar
  • 101
1 vote
1 answer
2k views

How to install open jdk 12 on debian?

I tried to install openjdk 12 using sudo apt install openjdk-12-jdk, but throughout installation process, it changed to the Oracle jdk 12 package.
user1077261's user avatar
6 votes
1 answer
5k views

Is Java Control Panel still available in OpenJDK?

My team has upgraded from JDK 8 to JDK 11. Previously we configure web proxy settings in Java Control Panel (javacpl.exe); now we can't find this utility in JDK 11. We don't have jre folder in the JDK ...
Franklin Yu's user avatar
4 votes
0 answers
1k views

cannot find openjdk-11 for RHEL7

I have been trying to install java-11-openjdk-devel required for NetApp AIUM 9.6 on a RHEL 7.5 server. As per Redhat developer portal "https://developers.redhat.com/openjdk-install/#" package could ...
Hitesh Thappa's user avatar
4 votes
3 answers
10k views

openjdk-8 for Debian 10

I need to install openjdk-8 on a docker container based on the latest python image (debian 10), but the openjdk-8-jdk package has been removed from the stable debian repository. I've already tried ...
Emil Chitas's user avatar
0 votes
1 answer
2k views

Install Open JDK 8 on CentOS 7.4

I have an Ec2 instance running CentOS 7.4.1 and I'm trying to install open JDK 8 onto it. This is the command I'm using to install Java: sudo yum install java-1.8.0-openjdk-devel It produces the ...
Chris's user avatar
  • 111
1 vote
1 answer
856 views

IntelliJ doesn't see JDK in Linux Mint

I installed IntelliJ 2019.1 on Linux Mint, but it doesn't recognize the JDK. I'm used to it automatically detecting it. I have tried: Manually adding the JDK.  I go to Project Structure and try to ...
Hadya's user avatar
  • 11
1 vote
1 answer
564 views

OpenJDK doesn't get recognized even though the system variables are set

Basically what the title says. The error is "This application requires a Java Runtime Environment 1.6.0" The application I am trying to run is the FTP legacy launcher which is a Minecraft launcher. ...
Hormoz's user avatar
  • 165
1 vote
2 answers
7k views

How to install open-jdk 7?

I need to install open-jdk 7. I know it used to be possible to simply type sudo apt install openjdk-7-jdk, but this doesn't work any more. I know that Java 7 has become quite obsolete, but it is ...
quinao's user avatar
  • 13
9 votes
1 answer
30k views

Does OpenJDK contain a JRE?

I recently uninstalled all Oracle Java products and installed OpenJDK from https://jdk.java.net/11/, on my Windows 10 system, because I'm planning to develop some Java applications. In order to ...
LuxGiammi's user avatar
  • 213
0 votes
0 answers
321 views

DocFetcher can't run because it is missing java even though openJDK is installed

Problem: I'm trying to run DocFetcher. But I do have it installed: What do?
Grumpy ol' Bear's user avatar
6 votes
3 answers
28k views

OpenJRE instead of Oracle JRE

Is there an equivalent openJRE like openJDK? I would like to use openJRE if possible to enable java in Internet Explorer instead of Using Oracle Java Is it possible to Enable Java Applet in Internet ...
SeanClt's user avatar
  • 2,227
0 votes
1 answer
2k views

Tomcat 8.5.37 failling to run application with Open JDK 8.u192 from AdoptOpenJDK in Eclipse

I was using the Oracle JDK but to avoid license issues I'm migrating to OpenJDK. I've opted for Windows AdoptOpenJdk 8_192, but I'm having some issues when running it with Tomcat 8.5 in Eclipse (this ...
Eduardo Dorneles's user avatar
10 votes
3 answers
13k views

Are there performance differences between OpenJDK and Oracle?

Oracle has recently decided to start charging for commercial use of their JVM. Our team has started to switch over to using OpenJDK instead, and are finding everything seems to be working fine, ...
Brad Parks's user avatar
  • 2,998
3 votes
1 answer
5k views

Fedora 28's "JDK" is missing the compiler, javac; How do I properly install it?

I installed a fresh download of Fedora Server 28 and it didn't come with Java. Fine. I ran yum list, and found some packages to install and installed all the most suitable looking JDK packages. ...
Richard T's user avatar
  • 477
1 vote
2 answers
77 views

Dependices doesn't fit (java 8) installing JOSM on Linux

I wanted to install JOSM on old Mint (https://josm.openstreetmap.de/wiki/Download#Ubuntu). So I added file josm.list to sources.list.d containing one line: deb https://josm.openstreetmap.de/apt ...
Bartek's user avatar
  • 11
0 votes
0 answers
169 views

Matlab R2016a on Ubuntu 14.04 and JDK 1.7; Needed? Alternatives?

I have already successfully installed Matlab 2016a on Ubuntu 14.04. As the installer finished wrapping up, it notified me that I was missing some necessary compilers. I noticed that I had forgotten to ...
MechanicalMan's user avatar
0 votes
1 answer
850 views

Debian 8 openjdk-8-jre-headless installation fail

I have a VM I'm using to test out things with tomcat8. Since, my PC has java8 installed (and I personally don't want to fall back to java7), I tried installing JRE 1.8 on the "server" vm. Since I'm ...
N. Silvestrin's user avatar
1 vote
0 answers
637 views

Java installations are not working for me

So I have been having some troubles with Java. It turned out I had the 32 bit version installed of jdk, not sure why. I uninstalled it to install the 64 bit version instead. However I can't get the ...
Bartel-jaap1234's user avatar
2 votes
1 answer
1k views

Download Java 1.7.0 JDK for CentOS

I have a CentOS 5.2 32-bit machine, which I can't connect to the internet. As Java Oracle does not seem to work, I would like to try using OpenJDK, but therefore I need to install OpenJDK first (...
Dominique's user avatar
  • 2,243
1 vote
1 answer
4k views

Install openjdk 8 on Mint 17.3

I am trying to install openjdk 8 on my Mint 17.3 It is based on Ubuntu 14.04 which does not have openjdk 8 in its repositories. Although, I was able to find a link where someone just says that it is ...
firen's user avatar
  • 111
0 votes
1 answer
4k views

Update Debian8 JRE 1.7 => 1.8

The OpenJDK website reports installation is a simple one line operation. Debian/Ubunutu is specifically referenced in the instructions. http://openjdk.java.net/install/ sudo apt-get install openjdk-...
StackAbstraction's user avatar
0 votes
1 answer
1k views

Update Path of JGrasp to use Different Compiler Settings

I have a Cloud 9 programming hosted workspace from which I run a vnc client. This client is an X11 interface which I can access through an updating html page, and I have the following problem (yes, ...
Addison Crump's user avatar
0 votes
0 answers
257 views

Prevent OpenJDK from overriding Oracle's Java installation

Currently using Lubuntu 15.04 x64. I have had this problem twice now. I install the official Oracle Java (version 1.8) successfully, after which an automatic update (at some point later in the week) ...
Roland's user avatar
  • 111
3 votes
3 answers
28k views

Can't start Pycharm due to inability to detect graphics settings

I just downloaded the PyCharm IDE on my Feodra to play around with Django. I am unable to run it due to some graphics environment problem, which doesn't tell me much. I have downloaded and installed ...
sztyrymytyry's user avatar
0 votes
2 answers
10k views

Configure Java 7 Firefox Plugin on 64-Bit Cent OS

I configured Java on my Cent OS 64-bit machine by running the following command yum install java-1.7.0-openjdk.x86_64 But I cannot find the "libnpjp2.so" file as mentioned here: http://www.oracle....
roosevelt's user avatar
  • 101
0 votes
0 answers
93 views

Recompiling open-jdk, there is no makefile

I have modified a source file in open-jdk-6 and now want to rebuild it. In all guides it is stated that the build process is done via make. However I don't see any Makefile or target. $ pwd /usr/...
mahmood's user avatar
  • 1,285
1 vote
2 answers
2k views

OpenJDK crashing and autoclosing programs

I use Debian Wheezy, and frequently make use of Java applications that are famous for being memory-hungry (namely Eclipse variants NetBeans and Aptana Studio 3 on RadRails or PyDev modes). I was ...
gchiconi's user avatar
  • 145
3 votes
3 answers
2k views

Remove openjdk without removing tomcat

When i want to remove openjdk it says that tomcat will be removed too. apt-get remove openjdk-6-jre-headless Reading package lists... Done Building dependency tree Reading state information......
user2361682's user avatar
1 vote
1 answer
85 views

OpenJDK JRE textboxes become read-only after window loses focus

I have had this glitch happen in the DrJava IDE and in the Arduino IDE. I can edit code and stuff just fine until I switch to another window and back. All I can do at that point is position the ...
Skylar Ittner's user avatar
0 votes
1 answer
304 views

Fail to build openjdk 7 update 6

I downloaded the archive of openjdk 7 update 6 from this page: https://jdk7.java.net/source.html I tried to build it by following the README-builds.html but failed with lots of errors like "...
user avatar