Skip to main content

Questions tagged [jdk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12 votes
3 answers
25k 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 ...
realtebo's user avatar
  • 987
0 votes
2 answers
688 views

Yum install not recognizing specific version of JDK package on Oracle Linux 7.9

I am trying to install jdk 1.8.0_311 using yum install. However, I am getting an error stating that there is "nothing to do" when attempting to install. I have used yum --showduplicates list ...
Howdy's user avatar
  • 3
0 votes
0 answers
228 views

Exception in thread "main" java.lang.UnsatisfiedLinkError

Context: Trying to install Oracle WebLogic Infrastructure 12.2.1.4.0 on Oracle Linux 8.5. JDK 7 & JDK 8 are installed. Issue:
Axel's user avatar
  • 1
0 votes
0 answers
1k views

WARNING: environment variable DISPLAY is not set (netbeans)

I was trying to install Netbeans in Xubuntu. I had installed Netbeans using Snapd. sudo snap install netbeans --classic I was trying to start Netbeans then I got an error which was looking like this ...
Unknown's user avatar
1 vote
0 answers
9k views

curl: (35) Encountered end of file

First, search the avaliable java version: [root@izbp19pke6x0v6ruecuy1yz ~]# sdk list java ================================================================================ Available Java Versions ======...
Dolphin's user avatar
  • 653
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 ...
Dakota's user avatar
  • 141
0 votes
1 answer
357 views

Install JDK 9 on debian 10

For specific reasons I need to install JDK 9 on my Debian 10. But it seems like mission impossible. Can anyone share a tutorial ?
Dakado's user avatar
  • 29
0 votes
1 answer
5k views

command to install java jdk latest version on kali

I want to do programming in java 15 for that I need jdk . What is the command to download latest jdk in kali-linux. sudo apt install -y default-jdk Is the above command will install latest jdk I am ...
devpa's user avatar
  • 123
0 votes
2 answers
3k views

How to install Java 13 to Kali Linux?

I downloaded jdk-13.0.2_linux-x64_bin.deb from oracle and installed using dpkg. However, update-alternatives --config java doesnt show java13. How do i get the java -version to java13 now?
Machine Yadav's user avatar
0 votes
1 answer
2k views

How to install Amazon Corretto on Manjaro?

I'm trying to install Amazon Corretto on Manjaro Linux. As it's available on AUR, I installed it using Yay. However, whenever running any command, it's not found. How do I properly set it?
MrAnderson's user avatar
0 votes
1 answer
235 views

Can't install Oracle JDK in Linux Mint 19.2

I have downloaded Oracle JDK 11 and I'm trying to install it on my Linux Mint (x64). After downloading the tarball, I extracted it to my /usr/lib/jvm and exported it to PATH: export PATH=$PATH:/usr/...
FearX's user avatar
  • 246
0 votes
1 answer
1k views

Maven-compiler-version for Amazon Corretto

we are migrating our project from JDK1.8 to Amazon Corretto 8 version. wondering which version should i need to mention in the maven-compiler-plugin in pom.xml. This is the existing pom setup for ...
Suresh's user avatar
  • 1
2 votes
1 answer
204 views

Install Java 10 using Oracle JDK

I have updated my system, then added a third-party PPA to Ubuntu with the following command. sudo add-apt-repository ppa:linuxuprising/java But this is what I got: $ sudo apt install oracle-java10-...
Shanon.Saga's user avatar
1 vote
1 answer
6k views

jstat not found even though we installed java JDK

We installed the following RPMs (part of the Java development kit), on Red Hat Enterprise Linux 7.5: $ rpm -qa | grep jdk java-1.8.0-openjdk-headless-1.8.0.171-8.b10.el7_5.x86_64 java-1.8.0-openjdk-1....
yael's user avatar
  • 13.5k
1 vote
1 answer
6k views

How to add and configure JDK 11 on Linux mint 19

I'm having trouble to configure oracle JDK 11 to the system. I have extracted the JDK and ran the following in the terminal ~$ export JAVA_HOME=/opt/jdk-11.0.2 ~$ export PATH=$PATH:$JAVA_HOME/bin ...
Gooner4Life's user avatar
2 votes
1 answer
24k views

Keytool utility not available

I know that in order to use keytool, JDK must be installed -- which it is in my server -- but the keytool utility is not available. [root@Linux ~]$ java -version openjdk version "1.8.0_181" OpenJDK ...
muku's user avatar
  • 51
2 votes
1 answer
761 views

When will OpenJDK 9 be available on FreeBSD? [closed]

JDK 9 GA has been out for a while (since September 21, 2017), when will it be available natively on FreeBSD?
Walter's user avatar
  • 1,234
0 votes
1 answer
97 views

How two types of variable usage behave different [closed]

I have written a bash script which is executing a .jar file with some options. Surprisingly, I found out that using variables with different methods results in different behavior. Usage 1: JAR_FILE="...
Zeinab Abbasimazar's user avatar
-2 votes
1 answer
1k views

How to install jdk1.8 and set its path on fedora28? [closed]

How to install jdk1.8 and set its path on fedora28?
amit kumar's user avatar
0 votes
1 answer
45 views

6 JDK options when installing netbeans IDE on Linux, which one must we select?

Notes fedora 27 (KDE plasma 5). netbeans-8.2-javase-linux.sh Hello pals, I installed before on my system: java-1.8.0-openjdk-devel One known path about this is/usr/lib/jvm/java-1.8.0-openjdk. ...
christianbueno.1's user avatar
0 votes
1 answer
2k views

Using apt, how to install JDK 7 when JDK 8 is already installed?

java-8-openjdk-amd64 is already installed by default on my Debian testing system (Buster), and I would like to keep it installed. openjdk-7-jdk is not in my testing package list. According to its ...
Albizia's user avatar
  • 201
2 votes
1 answer
782 views

Install Java Open JDK 9 32bit?

I would like to install the Java Open JDK 9 and Scala 2.12. I thought I would start with Java Open JDK, so I went to their site, but I can't see a download for 32bit! My Debian is a 32bit install! ...
J86's user avatar
  • 403
1 vote
0 answers
324 views

Applications using JRE and graphics crashing

We recently updated our computers to Fedora 27 and one of our applications (COMSOL) has stopped working. When I attempt to run COMSOL, I get the following error: A fatal error has been detected by ...
user12308's user avatar
1 vote
1 answer
3k views

Ways to configure alternative installations of Oracle JDK on Ubuntu?

When installing the latest Oracle JDK (8 or 9) on Ubuntu 16.04, I found several discussions: https://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-jdk-6-7-8-or-jre/ ...
Tim's user avatar
  • 104k
3 votes
1 answer
836 views

jdk install on centos

On Ubuntu I can do: sudo apt-get install default-jdk What is the equivalent of that on CentOS? If I do yum install default-jdk tt says No package default-jdk available. Error: Nothing to do
user3079275's user avatar
1 vote
0 answers
1k views

cannot change Debian 9 alternatives to point to openjdk 9

I have been trying to install openjdk 9 on Debian 9 and get everything to point to that install. However, something is off and does not want to update where the default java command in the terminal ...
resu's user avatar
  • 133
2 votes
0 answers
707 views

Icedtea-web error while accessing KVM Console through CIMC

I want to access the KVM Console through CIMC but icedtea-web keep showing the below error. Currently I'm using Distribution: Fedora 26 icedtea-web.x86_64 1.7-6.fc26 openjdk version "1.8.0_151" ...
BDN's user avatar
  • 341
1 vote
1 answer
5k views

linux java -version only works for root user [closed]

I have downloaded and installed jdk1.8.0_151 from oracle website. I defined JAVA_HOME and added it to the PATH variable in my /etc/environment. Problem is when I type java -version command from ...
Ali insan Soyaslan's user avatar
-2 votes
1 answer
3k views

I have 2 java installations /usr/lib/jvm/java-8-oracle/bin/java AND /usr/bin/java. I want to remove one (/usr/bin/java) [closed]

This is what i have, i want the top one gone
Dudus's user avatar
  • 31
1 vote
1 answer
3k views

Installing Oracle JDK 1.7 -- 404 error

I'm trying to install Hadoop 2.7.3. on Elementary OS (which ~ Ubuntu, I believe) following the instructions in the BUILDING.txt that came with the Hadoop files. The file indicates that I need to ...
patrick's user avatar
  • 1,022
0 votes
0 answers
1k views

How to set Java version to all users

I set the JAVA_HOME parameters in the etc/environment/ and when I do echo $JAVA_HOME, I can see the latest version which I have set. But when I do java -version it shows a different version, which is ...
Prime's user avatar
  • 757
3 votes
2 answers
240 views

Removing unneeded (?) folder after installation

I've installed the Java Development Kit, following this guide: How to install JDK on Fedora I've installed the JDK with the following commands: cd /opt/jdk1.8.0_121/ alternatives --install /usr/bin/...
phomod's user avatar
  • 31
2 votes
2 answers
2k views

What are JDK default user and group?

I have a freshly installed jdk1.8.0_121 on my redhat machine. When I ls -la in the installation directory, following output is received, total 178952 drwxr-xr-x. 5 root root 87 ...
Abhishek Sharma's user avatar
4 votes
1 answer
1k views

How do I install jdk on SUSE Linux with ansible?

I need to install java on one of my VMs running SUSE Linux using ansible. Below is the playbook code I am using: - name: Download Java become_user: "{{user}}" command: "wget -q -O {{java_archive}...
Abhishek Sharma's user avatar
5 votes
3 answers
8k views

Install Java JDK and JRE on Debian 8

I installed Debian 8, I would like to install Java JRE and JDK. I use this method and it works. But, I am afraid because it's a script hosted in a repository. I would like to understand why it doesn'...
user avatar
1 vote
0 answers
20 views

how to add route in PATH on Slackware? [duplicate]

I have used this export PATH = $ PATH:/usr/local/java/bin And when I use which java the path where java is found, but if I turn off my computer or close session when I put which java /usr/local/java/...
FrEqDe's user avatar
  • 165
0 votes
2 answers
3k views

Debian Jessie install Oracle JDK 1.8 on ARM

I need to install Oracle JDK on my Debian Server. I have tried a lot tutorials and watch around here but I seems to be too stupid to manage it. Please could somebody give me a how to. I have added ...
fteinz's user avatar
  • 209
4 votes
2 answers
18k views

Java 8 JDK install on OpenSUSE - Update Alternatives

I have searched many OpenSUSE forums for an answer to this, but so far I have not found one. Long story short, when installing the RPM for the JDK from Oracle, I receive the following: > sudo ...
mrUlrik's user avatar
  • 45
0 votes
1 answer
102 views

How can any user invoke "yum info jdk" and have it work?

I am using CentOS 7.2. I installed JDK. When I run yum info jdk I see everything I expect to see. For some background, I used a yum --disablerepo="*" --enablerepo="myrepo" install jdk to get jdk to ...
Kiran's user avatar
  • 323
4 votes
1 answer
2k views

Fedora24, trying to install java (JDK)

I've installed openjdk Installed Packages java-1.8.0-openjdk.x86_64 1:1.8.0.101-1.b14.fc24 @updates java-1.8.0-openjdk-headless.x86_64 1:1.8.0.101-1.b14.fc24 @updates javapackages-...
razor's user avatar
  • 145
4 votes
2 answers
54k views

How to verify if Java is installed on rhel

I stood up rhel VM. I was curious if JDK is installed or not so that I ran a command from a shell (bash). whereis java It returned: java: /usr/bin/java So I navigated to the path in order to ...
DaeYoung's user avatar
  • 885
1 vote
1 answer
2k views

Font bug in Java apps on Arch Linux

What happens with fonts in my JAVA apps? SOAP UI screen as example (see toolbox)... I have no idea where is the problem. SYS: up-to-date ARCH LINUX. $ archlinux-java status Available Java ...
Brandon Farber's user avatar
0 votes
1 answer
58 views

Upgrading Java on CentOS

I'm currently working on a production server, and I can't get my Java program to be executed on it because of an incompatibility between the versions. Java 7 is installed on the server, while the ...
user1319182's user avatar
11 votes
3 answers
107k views

How to set JAVA_HOME correctly on CentOS?

I am trying to set JAVA_HOME so that I can install Apache Solr with the help of this tutorial. I am connected to my server using ssh with root user To allow the running sh script to install Apache ...
Waqleh's user avatar
  • 269
2 votes
2 answers
2k views

Debian and jdk 1.7

To run some applications on a server I require a version 1.7+ I tried to install JDK as shown in link. However, it did could not retrieve the newest package of Java 8. sudo apt-get install openjdk-8-...
apriede's user avatar
  • 45
1 vote
1 answer
5k views

Why is Android studio complaining about OpenJDK?

I have latest version of Manjaro 64 bit, latest version of Oracle's JDk and Latest version of Android studio. Everything is up to date on my system. Android studio is complaining about OpenJDK ...
Lynob's user avatar
  • 4,294
0 votes
1 answer
448 views

When I execute a .run file as <user> it works fine. If I sudo run it, it cannot detect Java

I am trying to execute a .run file that will install some applications. I'm installing the application in /opt/... When I run it without sudo, the installer runs correctly but cannot write to /opt/. ...
Nilly's user avatar
  • 3
0 votes
1 answer
223 views

Installing JDK in a FHS-compliant way

I'm trying to install JDK on elementaryOS 0.3, but I'd like to do it in a FHS-compliant way. I've read a couple of answers about this topic, and a lot of them state that a program could be installed ...
leonardo.manrique's user avatar
0 votes
2 answers
3k views

YUM failing install; not recognizing JDK

I am attempting to install some packages using YUM. The command I am using is: sudo yum repo-pkgs [my repo] install This produces the following result: Error: Package: [package name] ([my repo]) ...
scottysseus's user avatar
0 votes
1 answer
743 views

Change the JRE/JDK used by tomcat6

I need to change the JRE used by my tomcat6 server, because I've a JSP App which has compiled classes whith JDK 1.8.0_45. Then since I had JRE 1.8.0_40 (and being it used by tomcat), I got a faulire ...
Btc Sources's user avatar