All Questions
22 questions
0
votes
2
answers
302
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
51
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-...
13
votes
4
answers
34k
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
160
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
121
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
6k
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 ...
14
votes
3
answers
56k
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
41
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
12k
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
232
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
14k
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 ...
0
votes
0
answers
649
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
454
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-...
2
votes
1
answer
51
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 ...