Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jdk]

The tag has no usage guidance.

-1
votes
0answers
102 views

sqldeveloper doesn't accept java 11

My sqldeveloper doesn't get the jdk and I don't know what is the actual path. From long time i tried to install sqldeveloper in fedora but failed each time for jdk path and version. /usr/lib/jvm]$ls ...
0
votes
1answer
211 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 ...
0
votes
1answer
1k 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
646 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
37 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
487 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
16 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
0answers
355 views

Enabling jdk-10 in firefox quantum

I've am currently fiddling with ubuquity's nanostation M2 but in order to use the airview tool I need to install java-jdk. So I found this guide online to install java. I managed to follow the guide ...
0
votes
1answer
986 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
415 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
122 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/ ...
2
votes
1answer
273 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
851 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
245 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" ...
0
votes
1answer
1k 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
1k views
1
vote
1answer
2k 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
686 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
222 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/...
1
vote
2answers
925 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
904 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
4k 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
18 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
8k 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
57 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-...
1
vote
2answers
28k 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
1k 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
35 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 ...
5
votes
3answers
45k 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
4k 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
303 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
108 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
449 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
695 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
70 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 ?
0
votes
1answer
128 views

How to enable Oracle JDK 8 patch upgrades on an existing JDK 8 installation in CentOS

How to enable Oracle JDK 8 patch upgrades on an existing JDK 8 installation in CentOS. Refer details in the original thread https://stackoverflow.com/questions/28089608/how-to-remote-download-the-...
6
votes
1answer
11k views

use different java version to run two programs

I installed two JAVA JREs on my new CentOS since Cassandra needs java7u25 or later while iReport needs to work with 1.6. Now how do I launch each program from command line telling each program which ...
2
votes
1answer
3k views

What is the difference between these three java installations?

yum install -y java-1.7.0 yum install -y java-1.7.0-openjdk.x86_64 yum install -y java-1.7.0-openjdk-devel I have referred few more and this Link. There is a comment openjdk.x86_64 installs ...
5
votes
1answer
7k views

How to find out which JRE being used?

I have a Java .jar running in my system. How can I know which JRE is being used by that .jar? I have multiple JRE's in multiple location. The which java command produces /usr/bin/java $JAVA_HOME is ...
8
votes
2answers
14k views

Java JDK missing libjli.so path in dependency list, Debian

I am scripting the creation of chroot jails and part of that automation includes copying various executables and their dependencies into the jail. I am using the following bash line to parse the file ...
1
vote
4answers
2k views

How to install JDK in Linux Mint

I am unable to install JDK on Linux Mint. I tried the following: apt-get install openjdk-7-jdk openjdk-7-doc openjdk-7-jre-lib with the output: Reading package lists... Done Building dependency ...
1
vote
3answers
3k views

Solaris jdk 7 installation error java -version No such file or directory

Am trying to follow this website for instruction on how to install jdk for Solaris 10 with the following information: $ isainfo -v 64-bit amd64 applications ssse3 tscp sse3 sse2 sse fxsr mmx ...
1
vote
1answer
3k views

Tomcat: no xmx/xms value set, where is the heap value being defined?

I have a Tomcat 7 install running with Java 1.7 on a Linux 2.6 server, and jinfo shows no xmx or xms values. ps output shows nothing set for xmx/xms on the command line for the java process. Tomcat ...
3
votes
1answer
598 views

locate java source code in jdk7

I have installed Jdk7 in Ubuntu 14.04 and it is successfully configured and I can use java libraries in code. The problem is that I am trying to locate java source code, but not able to find the jar ...