Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
14
votes
4
answers
36766
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 Java 8 *JDK* (not the runtime) on a Debian 12?
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
(1035 rep)
Jun 26, 2023, 03:16 PM
• Last activity: Mar 16, 2025, 02:46 PM
0
votes
0
answers
34
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 fault (core dumped) "$sd_prog/$sd_binary" "$@" `java -XshowSettings:properties -version` shows this:...
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 fault (core dumped) "$sd_prog/$sd_binary" "$@"
java -XshowSettings:properties -version
shows this:
java.home = /usr/lib/jvm/java-11-openjdk-11.0.7.10-0.fc30.x86_64
This machine previously had JavaSE 8 JDK installed, and OpenOffice worked. Then Java SE JDK was wiped clean, and JDK 11 installed. Since then OO did not work.
SuperAl
(151 rep)
Jul 19, 2024, 12:59 PM
0
votes
2
answers
355
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 lengthy. Since the Gradle build was old (4.4.1) and useless, I removed it, via Synaptic. But I'm no...
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 lengthy. Since the Gradle build was old (4.4.1) and useless, I removed it, via Synaptic. But I'm not sure that Synaptic removed all the dependencies. How I can check this? I have Java 17 and JDK installed.
EDIT:
I tried a simulated dry run apt-get -s autoremove gradle
, and this gives absolutely unacceptable results - the removal a plenty of legitimate packages .
minto
(575 rep)
Jul 14, 2024, 12:28 PM
• Last activity: Jul 15, 2024, 02:41 PM
8
votes
2
answers
18599
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 I now search for other openjdk versions, I can find the packages java-1.6.0-openjdk java-1.7.0-...
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 find the packages
java-1.6.0-openjdk
java-1.7.0-openjdk
java-1.8.0-openjdk
java-11-openjdk
java-latest-openjdk (OpenJDK 18)
Also looking at https://rpmfind.net/linux/rpm2html/search.php?query=java-17-openjdk I cannot find an entry for CentOS 7.
I need OpenJDK 17. Is there some possibility to install it through a rpm package or any other alternative?
MrPython
(219 rep)
May 23, 2022, 09:19 AM
• Last activity: Jul 9, 2024, 03:45 PM
0
votes
1
answers
808
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... Done Building dependency tree Reading state information... Done E: Unable to locate p...
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... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openjdk-17-jdk
I even tried zulu jdk using https://docs.azul.com/core/install/debian but it stills says the same .
pi@raspberrypi:~/Downloads $ sudo apt install zulu17-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zulu17-jdk
My Raspberry pi config is
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/ "
SUPPORT_URL="http://www.raspbian.org/RaspbianForums "
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs "
Has anyone ever tried to successfully install jdk17 . I am installing jdk17 as its a preq for neo4j .
arpit joshi
(445 rep)
Dec 2, 2023, 11:51 AM
• Last activity: Dec 2, 2023, 01:05 PM
0
votes
1
answers
57
views
How to replace stock java with downloaded binary?
In Debian Stable the latest ```openjdk``` version available is ```17```. ```bash $ 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 17.0.8+7-Debian-1deb12u1, mixed mode, shari...
In Debian Stable the latest
version available is
.
$ 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 17.0.8+7-Debian-1deb12u1, mixed mode, sharing)
I wanted to test out
which will be released soon so I downloaded the binaries directly.
$ curl https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_linux-x64_bin.tar.gz
$ tar -xzf openjdk-21_linux-x64_bin.tar.gz
$ cd jdk-21
$ ./bin/java --version
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35-2513)
OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)
$ 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 17.0.8+7-Debian-1deb12u1, mixed mode, sharing)
I would like all my scripts to use the new java binaries without having to manually edit all
entries in them. That is, when invoking
I would like the new binaries to run. Can I replace stock
by simply copy pasting to /usr/bin/
and /bin/
? That is, will this work?
$ mv ./bin/* /usr/bin/
$ mv ./bin/* /bin/
Do I also need to copy other folders in -21
such as
and
? Can replacing stock java cause any side effects?
yyhh344
(1 rep)
Aug 28, 2023, 10:32 PM
• Last activity: Aug 29, 2023, 01:19 AM
14
votes
3
answers
56791
views
How can I install Java 8 on Debian 11 (Bullseye)?
[This answer](https://unix.stackexchange.com/a/542288/495409) 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 t...
[This answer](https://unix.stackexchange.com/a/542288/495409) 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 the Stretch repos, but I don't want to create a Franken-Debian, so I'm not sure if that's a good idea or not. I need to install the Java 8 JRE, from OpenJDK. I installed Debian 11, and used an advanced installation due to a hypervisor bug*.
Here's what I did to install it:
$ sudo apt update
...
$ sudo apt install openjdk-8-jre
Reading package lists... Done
Building dependency tree... Done
Building state information... Done
Package openjdk-8-jre is not available, but is referenced to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sources
However the following packages replace it:
nvidia-openjdk-8-jre
E: Package 'openjdk-8-jre' has no installation candidate
If it helps, here is my /etc/apt/sources.list
file:
... commented lines ommitted ...
deb http://deb.debian.org/debian/ bullseye main non-free contrib
deb-src http://deb.debian.org/debian/ bullseye main non-free contrib
deb http://security.debian.org/debian/security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
deb http://deb.debian.org/debian/bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian/bullseye-updates main contrib non-free
So, I tried [searching for it](https://packages.debian.org/search?keywords=openjdk&searchon=names&suite=stable§ion=all) ... and it isn't there (I'm using Bullseye/11 - the current stable release). Interestingly, [it is there in Debian Stretch](https://packages.debian.org/search?suite=stretch&searchon=names&keywords=openjdk) . Except... I want to use Bullseye, as it is stable, not Stretch. So how should I install the OpenJDK 8 JRE in Bullseye?
Should I just add the Stretch repos to my sources.list
? [They advise against doing that](https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian) , so what is the proper way to get Java 8?
---
*My hypervisor requires that grub-install
has the --removable
flag when using UEFI. IDK why it requires that, but I had to use the advanced install to enable the removable flag. That should be irrelevant, though.
cocomac
(545 rep)
Apr 18, 2022, 11:35 PM
• Last activity: Mar 16, 2023, 09:15 AM
1
votes
1
answers
170
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/arch-arm --with-boot-jdk=$JAVA_BOOT But it tells me that i need to install `libasound2-dev` wich i have...
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 me that i need to install
libasound2-dev
wich i have installed already. How could i fix this? I installed it using: sudo apt-get install libasound2-dev
kpwn Apps
(121 rep)
Jan 29, 2023, 02:18 PM
• Last activity: Jan 29, 2023, 05:05 PM
0
votes
2
answers
129
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 have installed manually in /opt (for example) I'm unable to switch to `/opt/jdk-19` java version, I a...
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 have installed manually in /opt (for example)
I'm unable to switch to /opt/jdk-19
java version, I also tried to create a symlink in /usr/lib/jvm/
beside the other versions, but it's not detected.
- how does archlinux-java status
work? Could I register custom jdk?
- how could I package it if I want to create a regular installation?
pdem
(481 rep)
Sep 26, 2022, 03:13 PM
• Last activity: Sep 26, 2022, 04:18 PM
0
votes
1
answers
1631
views
Which of these Java install locations do I use to set the Java_Home path?
I am following this [tutorial][1] 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 offered this [link][2] to follow. So far I have installed Java using this command: > sudo ap...
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 offered this link to follow.
So far I have installed Java using this command:
> sudo apt-get install openjdk-9-jre-headless -y
Next, I have used this command to see where Java is installed:
> locate openjdk
Which gives the following result:
In the tutorial , it says :
However, I do not have a path similar to the path shown in the tutorial:
> /usr/lib/jvm/java-9-openjdk-amd64
I am trying to avoid unnecessary mistakes. So that's why I want to know which of the paths given by the ***locate openjdk*** should I use to set Java_Home path.


Ahmed Ghrib
(121 rep)
Jan 19, 2020, 08:43 AM
• Last activity: Sep 10, 2022, 08:10 PM
1
votes
1
answers
6734
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 and click on the server.jar file, it then boots up like normal with the GUI and everything. The pro...
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 up like normal with the GUI and everything. The problem is that I can't set RAM parameters through there, only through commands.
I've tried:
`
sudo java -Xmx1024 -Xms1024 -jar server.jar
`
`sudo java -Xmx4096 -Xms1024 -jar server.jar
`
`sudo java -Xmx8164 -Xms1024 -jar server.jar
`
`sudo java -Xmx1000000 -Xms1024 -jar server.jar
`
`sudo java -Xmx3072 -Xms2048 -jar server.jar
`
`sudo java -Xmx2048 -Xms512 -jar server.jar
`
`sudo java -Xmx1024 -Xms512 -jar server.jar
`
`sudo java -Xmx512 -Xms256 -jar server.jar
`
All result in the exact same error every time:
"Error occurred during initialization of VM"
"Too small maximum heap"
I've tried these with -nogui too, same error.
linuxlife
(53 rep)
Jun 15, 2022, 11:14 PM
• Last activity: Jun 15, 2022, 11:27 PM
0
votes
0
answers
44
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 emergency I selected the download jdk option and downloaded the `Oracle open jdk-17.0.1` version....
I installed java using the
Using terminal when I navigated to
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 emergency I selected the download jdk option and downloaded the
Oracle open jdk-17.0.1
version.
I would like to know if this would cause any issues in the future or not.
Since I selected 17.0.1 from the intellij options so I already know the version. But when I typed java --version
it gave me:
➜ ~ java --version
openjdk 17 2021-09-14
OpenJDK Runtime Environment (build 17+35-Ubuntu-1)
OpenJDK 64-Bit Server VM (build 17+35-Ubuntu-1, mixed mode, sharing)
**Note:** Even before installing Intellij I checked if java installed correctly. It was working perfectly fine.
I also tried:
➜ ~ whereis java
java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz
But unfortunately when I tried to locate the jdk in intellij and navigated to the /usr/bin
I only saw a lots of x11
marked folder.

/usr/bin
I couldn't find the /java
folder.
**N.B:** I'm logged in as root if that information is needed
I would like to know if there is anything I can do to check the different sdks and what can I do to clear up the situation.
user458847
Nov 14, 2021, 09:35 PM
0
votes
2
answers
14570
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 out that I needed only openjdk 16 to run what I wanted to, and having other versions of java are k...
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 out that I needed only openjdk 16 to run what I wanted to, and having other versions of java are kinda pointless. My main issue is that programs default to version 8 and I can't seem to fix it.
So how can I uninstall both versions 11 and 8 and just keep 16?
linuxlife
(53 rep)
Oct 2, 2021, 03:36 AM
• Last activity: Oct 4, 2021, 10:11 AM
0
votes
1
answers
694
views
Failed to install openjdk in Debian Stretch
My Dockerfile is: ```Dockerfile 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 && apt-get install \ --no-install-recommends -qq -y \ apt-utils \ poppler-utils \ build-essential \ cmake \ libfreet...
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 && apt-get install \
--no-install-recommends -qq -y \
apt-utils \
poppler-utils \
build-essential \
cmake \
libfreetype6-dev \
libfontconfig-dev \
libjpeg-dev \
libopenjp2-7-dev \
libcairo2-dev \
pdftk \
ghostscript \
autoconf \
automake \
libtool \
autoconf-archive \
pkg-config \
libpng-dev \
libjpeg62-turbo-dev \
libtiff5-dev \
zlib1g-dev \
imagemagick \
wget \
procps \
curl \
locales \
libicu-dev \
libpango1.0-dev \
libcairo2-dev \
g++ \
make
RUN mkdir -p /usr/share/man/man1 && apt install -y openjdk-8-jdk
ENTRYPOINT [ "/bin/bash", "-l" ]
But it started to fail during installation of openjdk-8:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/sh -c mkdir -p /usr/share/man/man1 && apt install -y openjdk-8-jdk' returned a non-zero code: 100
I've got it to work adding stretch-backports to sources list, but I don't know why it works. As far as I know, backports are disabled by default:
RUN echo "deb http://security.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
I would like to know why it starts to break only now and why adding stretch-backports or http://security.debian.org/debian-security oldoldstable/updates main
to sources make it works.
Kafka4PresidentNow
(145 rep)
Sep 22, 2021, 09:41 PM
• Last activity: Sep 23, 2021, 12:28 AM
0
votes
1
answers
238
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 focus on getting Java to start faster, and that seems to have issues starting in other situations as...
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 focus on getting Java to start faster, and that seems to have issues starting in other situations as well. I tried just getting the version, and even that would take a long time (although not the second time immediately after, when it was in memory):
[wile_e8@wile_e82 wile_e8]$ time java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
real 0m41.814s
user 0m0.039s
sys 0m0.020s
[wile_e8@wile_e82 wile_e8]$ time java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
real 0m0.076s
user 0m0.047s
sys 0m0.027s
So when it isn't already in memory, it takes 41 seconds for the JRE to start up just to print the version. This is a relatively new computer. Is this just a memory thing, or is there something I could change with the JRE configuration so Java programs start faster?
wile_e8
(111 rep)
Jul 20, 2021, 07:18 PM
• Last activity: Aug 4, 2021, 12:33 PM
1
votes
0
answers
4354
views
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 1:1.7.0.261-2.6.22.1.el6_10 @C6.10-updates Available Packages java-1.7.0-openjdk.x86_64 1:1.7.0.181-2.6.14.10.el6 C6.10-ba...
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 1:1.7.0.261-2.6.22.1.el6_10 @C6.10-updates
Available Packages
java-1.7.0-openjdk.x86_64 1:1.7.0.181-2.6.14.10.el6 C6.10-base
java-1.7.0-openjdk.x86_64 1:1.7.0.191-2.6.15.4.el6_10 C6.10-updates
java-1.7.0-openjdk.x86_64 1:1.7.0.201-2.6.16.0.el6_10 C6.10-updates
java-1.7.0-openjdk.x86_64 1:1.7.0.211-2.6.17.1.el6_10 C6.10-updates
java-1.7.0-openjdk.x86_64 1:1.7.0.221-2.6.18.0.el6_10 C6.10-updates
java-1.7.0-openjdk.x86_64 1:1.7.0.231-2.6.19.1.el6_10 C6.10-updates
java-1.7.0-openjdk.x86_64 1:1.7.0.231-2.6.19.2.el6_10 C6.10-updates
java-1.7.0-openjdk.x86_64 1:1.7.0.241-2.6.20.0.el6_10 C6.10-updates
java-1.7.0-openjdk.x86_64 1:1.7.0.251-2.6.21.0.el6_10 C6.10-updates
java-1.7.0-openjdk.x86_64 1:1.7.0.261-2.6.22.1.el6_10 C6.10-updates
1:1.7.0.201-2.6.16.0.el6_10 is the version i want
then I issue
sudo yum downgrade java-1.7.0-openjdk.x86_64-1:1.7.0.201-2.6.16.0.el6_10
No package java-1.7.0-openjdk.x86_64-1:1.7.0.201-2.6.16.0.el6_10 available.
Nothing to do
I tried
sudo yum downgrade java-1.7.0-openjdk-1:1.7.0.201-2.6.16.0.el6_10
No package java-1.7.0-openjdk-1:1.7.0.201-2.6.16.0.el6_10 available.
Nothing to do
Can anyone help???
Beterhans
(11 rep)
Jul 28, 2021, 04:07 AM
0
votes
1
answers
202
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 version. But what is the difference otherwise? Both are on a rolling release. Is the latest package...
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 version. But what is the difference otherwise? Both are on a rolling release. Is the latest package just bleeding-edge with more potential bugs?
Zhro
(2831 rep)
Aug 25, 2019, 10:24 PM
• Last activity: Jun 26, 2021, 11:08 AM
1
votes
2
answers
14529
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 I saw that it was removed from the Kali repository because very old. Can anyone help me how to ins...
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 repository because very old. Can anyone help me how to install? When I run the command uname -m
it shows me that the architecture is aarch64 can someone tell me how to install Java 8 on Nethunter for aarch64? Thanks in advance :)
Dakota
(141 rep)
Feb 26, 2021, 02:40 AM
• Last activity: Feb 28, 2021, 02:34 PM
2
votes
2
answers
5264
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 OpenJDK 15 available at [java.net][1]. I extracted the file in `/usr/local/bin` since it was listed...
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 file in /usr/local/bin
since it was listed in my PATH
variable. I run update-alternatives --list java
but I have only OpenJDK 11 listed.
How can I install correctly OpenJDK 15?
Fabiola
(21 rep)
Feb 17, 2021, 09:58 AM
• Last activity: Feb 17, 2021, 08:52 PM
0
votes
1
answers
561
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: Cannot load a JDK class: com.sun.jdi.Field. Please ensure you run the IDE on JDK rather th...
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: Cannot load a JDK class: com.sun.jdi.Field.
Please ensure you run the IDE on JDK rather than JRE.
But openjdk
is still there. I am runnning on fedora32. android-studio is in opt/
and openjdk in var/lib/
Rio_Nyx
(31 rep)
Aug 4, 2020, 07:23 PM
• Last activity: Jan 15, 2021, 08:23 AM
Showing page 1 of 20 total questions