Questions tagged [openjdk]
OpenJDK (Open Java Development Kit) is the reference implementation of JavaSE since version 7. It is free and open source.
36 questions
0votes
0answers
31views
On a Linux machine with JDK 11 that is used for development, how should I satisfy OpenOffice's requirement for JRE?
On a Linux machine that has JDK 11 installed, what should I do to allow OpenOffice to run? As it stands right now, it throws this error: /opt/openoffice4/program/soffice: line 121: 18205 Segmentation ...
0votes
2answers
304views
Removing Gradle with all dependencies
I have installed Gradle via Synaptic Package Manager. During the installation process, two auxiliary packages were installed, plus a large amount of different dependencies, and the process was quite ...
0votes
1answer
758views
Install JDK17 on raspberrypi
I am trying to install JDK17 on raspberrypi but it keeps on telling me E: Unable to locate package openjdk-17-jdk pi@raspberrypi:~/Downloads $ sudo apt install openjdk-17-jdk -y Reading package lists....
0votes
1answer
51views
How to replace stock java with downloaded binary?
In Debian Stable the latest openjdk version available is 17. $ which -a java /usr/bin/java /bin/java $ java --version openjdk 17.0.8 2023-07-18 OpenJDK Runtime Environment (build 17.0.8+7-Debian-...
13votes
4answers
34kviews
How can I install Java 8 on Debian 12 (bookworm)?
Under Debian 11, we typically use OpenJDK from adoptopenjdk.net. This organization will no longer provide new releases: https://adoptopenjdk.jfrog.io/ui/native/deb/dists/ Is there a way to install ...
1vote
1answer
160views
configure: error: Could not find alsa!
I'm trying to cross compile jdk for android. I run: ./configure --with-toolchain-path=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64 --with-sysroot=$ANDROID_NDK_HOME/platforms/android-21/...
0votes
2answers
121views
How to use early jdk with archlinux-java?
I'm using archlinux-java set java-xx-openjdk to switch between regularly installed jdk versions, and that works, but I want to use the latest or the early version from https://jdk.java.net/ that I ...
1vote
1answer
6kviews
"Too small maximum heap" Java error in Manjaro Linux running through terminal
Really don't know what to do about this one. I'm trying to start a minecraft server with more RAM but the commands in the terminal give me this error. The server works only if I go to the file manager ...
8votes
2answers
17kviews
OpenJDK 17 for CentOS 7
Currently there is no possibility to install java-17-openjdk through sudo yum install java-17-openjdk on a CentOS 7 system (CentOS Linux release 7.9.2009 (Core)) as it was possible some time ago. When ...
14votes
3answers
56kviews
How can I install Java 8 on Debian 11 (Bullseye)?
This answer explains why it was removed. I'm not interested in the reason, instead, I need to install it. This VM is solely dedicated to my Java app, so I'm not really interested in using a container. ...
0votes
0answers
41views
two java sdks in one system
I installed java using the sudo apt install openjdk-17-headless-jdk but for some reason my intellij IDEA community edition couldn't find the jdk when I tried to create a maven project. Since it was an ...
0votes
2answers
12kviews
How to uninstall versions of Java openJDK
I am using Linux Mint XFCE 20. Recently I installed Java by running sudo apt-get install openjdk and it automatically installed versions 8 and 11 of both JRE and JDK, including JRE headless. It turns ...
0votes
1answer
686views
Failed to install openjdk in Debian Stretch
My Dockerfile is: FROM python:3.7-slim-stretch RUN echo "deb http://security.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list RUN apt-get update && ...
1vote
0answers
4kviews
How to yum downgrade to a specific version of packet like jdk?
I know it's sudo yum downgrade <package_name>-<version_info> but always can't find the packet. for example sudo yum --showduplicates list java-1.7.0-openjdk Installed Packages java-1.7.0-...
0votes
1answer
232views
RHEL7 - very long start times on JRE
I'm using RHEL7, and I've ran into problems with Pycharm where it takes a very long time to start, a few minutes. According to the logs, it's mostly waiting for the JRE/JVM to start. So I tried to ...