Questions tagged [jdk]
The jdk tag has no usage guidance.
63
questions
0
votes
2answers
35 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
1answer
21 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 ?
0
votes
0answers
16 views
JDK problem in VSCode
I have Oracle JDK in my home directory with PATH variables set in .bashrc
When I'm trying to configure java extension in VSCode, it's not recognising JDK.
What to do now?
I'm using XUbuntu 18.04.
0
votes
1answer
39 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 ...
0
votes
0answers
16 views
Unable to open the /etc/environment using gedit in linux Debain distro [duplicate]
I am trying to set the path in the environment for the Java JDK, but I get this error. It would be really helpful if someone points what the mistake is.Thanks.:)
xxx@debian:~/Folder$ sudo gedit /etc/...
0
votes
2answers
1k 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?
0
votes
1answer
602 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?
0
votes
1answer
157 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/...
0
votes
1answer
583 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 ...
1
vote
1answer
70 views
install java 10 using oracle jdk
I have updated my system, then add A Third Party PPA to Ubuntu, with the following commands
sudo add-apt-repository ppa:linuxuprising/java
but this is what I got
can you guys help me to solve ...
1
vote
1answer
1k 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....
0
votes
1answer
2k 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
...
1
vote
1answer
13k 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 ...
2
votes
1answer
752 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?
0
votes
1answer
60 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="...
-2
votes
1answer
848 views
How to install jdk1.8 and set its path on fedora28? [closed]
How to install jdk1.8 and set its path on fedora28?
0
votes
1answer
24 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.
...
0
votes
1answer
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 ...
2
votes
1answer
588 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! ...
1
vote
0answers
251 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 ...
1
vote
1answer
2k 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/
...
3
votes
1answer
397 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
1
vote
0answers
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 ...
2
votes
0answers
495 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"
...
1
vote
1answer
3k 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 ...
-2
votes
1answer
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
1
vote
1answer
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 ...
0
votes
0answers
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 ...
3
votes
2answers
228 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/...
2
votes
2answers
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 ...
4
votes
1answer
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}...
5
votes
3answers
5k 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'...
1
vote
0answers
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/...
0
votes
2answers
2k 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 ...
4
votes
2answers
13k 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 ...
0
votes
1answer
84 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 ...
4
votes
1answer
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-...
3
votes
2answers
42k 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 ...
1
vote
1answer
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 ...
0
votes
1answer
38 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 ...
10
votes
5answers
76k 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 ...
2
votes
2answers
1k 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-...
1
vote
1answer
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
...
0
votes
1answer
329 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/. ...
0
votes
1answer
147 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 ...
0
votes
2answers
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])
...
0
votes
1answer
552 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 ...
2
votes
1answer
778 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=...
0
votes
1answer
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 ...
0
votes
1answer
101 views
After installing java in linux , where the java will store what home path should i give? [closed]
After installing java in linux , where the java will store what home path should i give ?