Questions tagged [openjdk]

OpenJDK (Open Java Development Kit) is the reference implementation of JavaSE since version 7. It is free and open source.

37 questions
10
votes
3 answers

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. That answer mentions that you can get it from…
cocomac
  • 413
  • 3
  • 5
  • 18
6
votes
2 answers

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 Java 8 JDK (not the runtime) on a Debian 12?
realtebo
  • 799
  • 9
  • 23
6
votes
1 answer

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 I now search for other openjdk versions, I can…
MrPython
  • 81
  • 2
  • 5
3
votes
1 answer

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 Stretch. So I added backports to my sources…
lg2de
  • 133
  • 1
  • 1
  • 4
3
votes
1 answer

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... Done Building dependency tree Reading…
2
votes
2 answers

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 OpenJDK 15 available at java.net. I extracted the…
Fabiola
  • 21
  • 1
  • 3
2
votes
1 answer

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 MaxPermSize=256m; support was removed in…
lizard
  • 23
  • 1
  • 5
2
votes
1 answer

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 Java 13 I am able to install OpenJDK 11 from my…
Zhro
  • 2,495
  • 4
  • 28
  • 45
1
vote
1 answer

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/arch-arm --with-boot-jdk=$JAVA_BOOT But it tells…
kpwn Apps
  • 11
  • 2
1
vote
1 answer

"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 and click on the server.jar file, it then boots…
linuxlife
  • 41
  • 1
  • 10
1
vote
0 answers

How to yum downgrade to a specific version of packet like jdk?

I know it's sudo yum downgrade - but always can't find the packet. for example sudo yum --showduplicates list java-1.7.0-openjdk Installed Packages java-1.7.0-openjdk.x86_64 …
Beterhans
  • 11
  • 1
  • 2
1
vote
2 answers

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 I saw that it was removed from the Kali…
Dakota
  • 141
  • 2
  • 2
  • 11
1
vote
1 answer

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 packages SLOC count increase with year, like for…
Hazel
  • 33
  • 2
1
vote
1 answer

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 64-Bit Server VM (build 10.0.2+13-Debian-1, mixed…
lofidevops
  • 2,967
  • 6
  • 39
  • 58
0
votes
1 answer

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-1deb12u1) OpenJDK 64-Bit Server VM (build…
1
2 3