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
0
votes
0
answers
53
views
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 ...
0
votes
2
answers
436
views
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 ...
0
votes
1
answer
921
views
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....
0
votes
1
answer
67
views
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-...
14
votes
4
answers
39k
views
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 ...
1
vote
1
answer
184
views
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/...
0
votes
2
answers
154
views
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 ...
1
vote
1
answer
7k
views
"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 ...
8
votes
2
answers
19k
views
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 ...
14
votes
3
answers
58k
views
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. ...
0
votes
0
answers
56
views
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 ...
0
votes
2
answers
16k
views
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 ...
0
votes
1
answer
715
views
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 && ...
1
vote
0
answers
4k
views
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-...
0
votes
1
answer
254
views
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 ...
1
vote
2
answers
15k
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 ...
2
votes
2
answers
6k
views
How to install latest OpenJDK on Debian?
I have Debian 10 and openjdk-11-jdk installed from the Debian repository. I have to run a program that was compiled with Java runtime version 58 so I need to update it.
I downloaded the .tar.gz of ...
0
votes
0
answers
689
views
javac -version command not found error in rhel 7.3
I followed this documentation to install java-1.8.0-openjdk-1.8.0.272.b10-1.portable.jdk.el.x86_64.tar.xz into RHEL 7.3.
In section 2.4. Installing OpenJDK on RHEL using an archive,
at the last step, ...
0
votes
1
answer
2k
views
Can't find jar binaries
I installed jdk8 and jdk14 on Arch Linux with
sudo pacman -S jre8-openjdk jre-openjdk
but I can't find the jar binaries file. If I run
jar
it tells me command not found.
I searched in both openjdk ...
0
votes
1
answer
581
views
Cannot open android-studio
I installed android-studio few days back along with openjdk. And it did work fine until yesterday. But now I cannot open it. The desktop icon is dead and when I run ./studio.sh it shows
JDK Required: ...
3
votes
1
answer
6k
views
How to get rid of MaxPermSize warning when trying to open Eclipse?
I'm brand-new to linux, using Mint. I installed Eclipse, but when I try to open it or do commands involving it I get an error. Earlier, this came up:
OpenJDK 64-Bit Server VM warning: ignoring option ...
0
votes
1
answer
481
views
How to make archlinux-java set ... not require sudo?
I have to bounce between Java 8 and Java 13 for different Minecraft versions to work properly, and doing that requires me to type sudo archlinux-java set java-8-openjdk or sudo archlinux-java set java-...
0
votes
1
answer
464
views
How to update OpenJDK 11 on Debian 10?
Debian 10 has OpenJDK 11.0.6 but I want to update to OpenJDK 11.0.7.
How to update or download?
2
votes
1
answer
57
views
When does Fedora provide extended support releases for Java?
I'm trying to run a jar file which checks the installed version of Java explicitly:
*** The version you have requested to build requires Java versions between [Java 8, Java 12], but you are using ...
0
votes
1
answer
2k
views
Can't reach Tomcat default page in localhost:8080 for Ubuntu 16.04 Docker container
I'm trying to run a simple Tomcat server. But I can't see the Tomcat default page.
1) I ran this command to run the container docker run -it --entrypoint bash e36658dffbd8
2) I opened up localhost:...
0
votes
1
answer
2k
views
Which of these Java install locations do I use to set the Java_Home path?
I am following this tutorial to install Android Studio on my Linux Mint. I have reached the stage where I have to set the JAVA_HOME environment variable to the location of my JDK installation.
I was ...
0
votes
1
answer
1k
views
How can I download OpenJDK 1.8 in a Centos machine and use the tar file to install Java in another Centos Machine
I want to install OpennJDK 1.8 in a Centos machine, which cannot be connected to internet. I am trying to download the file in another machine and copy to this machine. I am not able to find an option ...
0
votes
1
answer
213
views
What is the difference between java-openjdk and java-latest-openjdk?
I was looking at the packages available for Java on Fedora and saw this:
java-openjdk is version 12.0.0.33-4
java-latest-openjdk is version 12.0.2.9-1
It's obvious that "latest" is the most recent ...
0
votes
1
answer
420
views
OpenJDK 8 support period in Debian Stretch 9
According to the Debian releases page Stretch 9 has support until ~2022. What does this mean for the OpenJDK 8 package?
How long will security updates be available for OpenJDK 8?
3
votes
1
answer
13k
views
How to install openjdk-11-jre/jdk on Debian Stretch?
My server is currently running on Debian Stretch:
Linux *** 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19)
x86_64 GNU/Linux
I tried to install openjdk-11-jdk. This is not part of the stable ...
0
votes
0
answers
175
views
JavaEmbeddedFrame tray while starting Spark chat application
I'm getting a JavaEmbeddedFrame tray in my centos7 taskbar whenever I open the Spark Messenger application. This tray I'm not able to close and do any other actions. Is there any way to fix this ...
0
votes
1
answer
191
views
Can I use centOS and Redhat's JDK-11 altogether in my production server
As per the Oracle OpenJDK policy, there will not have any LTS support anymore, but Redhat OpenJDK will continue to have LTS support so far we have seen. Our current server is based on CentOS 7 and ...
0
votes
1
answer
1k
views
Upgrade from openjdk-7 to openjdk-8 on debian
I have the following Java-related packages installed on my Debian 8 machine
# sudo dpkg -l | grep -i java
ii ca-certificates-java 20140324 all Common CA ...
3
votes
1
answer
16k
views
Package 'openjdk-7-jre' has no installation candidate
I am trying to download XDM(xtreme download manager) on Ubuntu which requires openjdk-6-jre and openjdk-7-jre. But I couldn't install it:
sudo apt-get install openjdk-7-jre
Reading package lists... ...
1
vote
1
answer
159
views
Difference in openjdk-6, openjdk-7, and openjdk-8 in terms of SLOC count?
I'm calculating SLOC (Source Lines of Code) count of some of the packages for my research purposes. I'm downloading source of packages for different years from Debian snapshots. For most of the ...
1
vote
1
answer
6k
views
How can I run Apache Directory Studio with OpenJDK 10?
I have installed the OpenJDK 10 JRE on my PureOS system with:
$ sudo apt install default-jre
$ java --version
openjdk 10.0.2 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Debian-1)
OpenJDK ...