Questions tagged [jdk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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:
user avatar
  • 1
0 votes
0 answers
175 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 ...
user avatar
0 votes
0 answers
605 views

curl: (35) Encountered end of file

First, search the avaliable java version: [root@izbp19pke6x0v6ruecuy1yz ~]# sdk list java ================================================================================ Available Java Versions ======...
user avatar
  • 351
1 vote
2 answers
7k 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 ...
user avatar
  • 141
0 votes
1 answer
75 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 ?
user avatar
  • 19
0 votes
1 answer
333 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 ...
user avatar
0 votes
2 answers
2k 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?
user avatar
0 votes
1 answer
1k 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?
user avatar
0 votes
1 answer
192 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/...
user avatar
  • 136
0 votes
1 answer
856 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 ...
user avatar
  • 1
2 votes
1 answer
108 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-...
user avatar
1 vote
1 answer
3k 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....
user avatar
  • 10.9k
1 vote
1 answer
4k 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 ...
user avatar
1 vote
1 answer
20k 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 ...
user avatar
  • 41
2 votes
1 answer
757 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?
user avatar
  • 1,122
0 votes
1 answer
69 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="...
user avatar
-2 votes
1 answer
924 views

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

How to install jdk1.8 and set its path on fedora28?
user avatar
0 votes
1 answer
31 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. ...
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 ...
user avatar
  • 191
2 votes
1 answer
638 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! ...
user avatar
  • 275
1 vote
0 answers
287 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 ...
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/ ...
user avatar
  • 89.7k
3 votes
1 answer
521 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
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 ...
user avatar
  • 133
2 votes
0 answers
590 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" ...
user avatar
  • 341
1 vote
1 answer
4k 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 ...
user avatar
-2 votes
1 answer
2k 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
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 ...
user avatar
  • 1,002
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 ...
user avatar
  • 717
3 votes
2 answers
234 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/...
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 ...
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}...
user avatar
5 votes
3 answers
6k 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/...
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 ...
user avatar
  • 209
4 votes
2 answers
15k 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 ...
user avatar
  • 45
0 votes
1 answer
94 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 ...
user avatar
  • 303
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-...
user avatar
  • 143
4 votes
2 answers
48k 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 ...
user avatar
  • 843
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 ...
user avatar
0 votes
1 answer
44 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 ...
user avatar
11 votes
4 answers
92k 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 ...
user avatar
  • 259
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-...
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 ...
user avatar
  • 3,914
0 votes
1 answer
365 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/. ...
user avatar
  • 3
0 votes
1 answer
176 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 ...
user avatar
0 votes
2 answers
2k 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]) ...
user avatar
0 votes
1 answer
624 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 ...
user avatar
2 votes
1 answer
829 views

Exploit FOUND with clamav on Fedora 21 in Oracle's java

I'm scanning one of my systems with Clamav like this: $ clamscan -r -i --remove --max-filesize=4000M --max-scansize=4000M \ --exclude=/proc --exclude=/sys --exclude=/dev --bytecode-timeout=...
user avatar
0 votes
1 answer
2k views

Cannot start Tomcat 7 as Apache Commons Daemon

I've been following the install process as recommended here. I'm trying to run Tomcat as a Unix daemon as described in the docs. However, when I run $CATALINA_HOME/bin/jsvc like this (note, I added ...
user avatar