Questions relating to the installing and use of the Java Development Kit (jdk)

learn more… | top users | synonyms

22
votes
4answers
96k views

Setup and install IntelliJ with JDK

Is there any scripts for downloading and installing IntelliJ with JavaJDK or OpenJDK? I don't know how I did it before using Ubuntu 12.10 but I'm now on a fresh 13.04 install and I have been looking ...
0
votes
1answer
564 views

Installing JDK.rpm file using alien

I'm trying to install JDK on my Ubuntu virtual machine to use it for Netbeans but for some reason it won't work. I downloaded JDK from oracle's site, the .rpm file. I read online that I should use ...
0
votes
2answers
37 views

how upgrade jdk?

I need upgrade my jdk to the newest one. Case in that, i have downloaded new Android Studio 2.1 and get such issue if i go according to the link, i realize that my jdk version not compatible ...
-2
votes
1answer
23 views

I want to remove 1.8.0_45 completely

I have this folder jdk 1.8.0_45 and there is a whole new desktop in it and all the other stuff and it messes with my downloads sometimes could somebody please help on removing it it won't remove just ...
0
votes
3answers
585 views

Can not launch Android Studio

Showing the message 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. how can i solve it show me how install jdk properly
2
votes
4answers
5k views

Missing tools.jar (Android Studio)

The command $ ~/android-studio/bin/studio.sh says 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I have searched for the solution ...
1
vote
0answers
68 views

installation of openjdk-8 vs oracle jdk8

I am using Netbeans which I prefer Oracle jdk8. Just now Ubuntu said I had an incomplete upgrade to 16.04. No problem, I let it do its thing. To my surprise it removed Oracle JDK and put openjdk in ...
0
votes
1answer
90 views

dpkg error code (1)

I got this error code while installing JDK 9 on my ubuntu 16.04 machine : Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb E: ...
0
votes
1answer
54 views

How to install oracle jdk-8u-92 on ubuntu 16.04 LTS on 64 bit machine? [duplicate]

can anyone help me in installing oracle jdk 8u-92 on ubuntu 16.04 LTS operating system on a 64 bit machine?
0
votes
1answer
24 views

How to redirect ant to use java from jdk in /usr instead from jre in /opt?

I have followed a blog set up jre on my machine in /opt/ directory. Then I redirected firefox to use libnpjp2.so from /opt/java/64/jre1.8.0_73/lib/amd64/libnpjp2.so. Now I have to install another ...
0
votes
0answers
38 views

Please ensure JAVA_HOME points to JDK rather than JRE

today when i opened my IntelliJ i get the Please ensure JAVA_HOME points to JDK rather than JRE error.i search the net and from this link i installed my jdk-8u60-linux-x64.tar.gz downloaded file but ...
1
vote
1answer
53 views

Java will not run at all and is not recognized as a command no matter how many times I install it

I have been fighting with Java for nearly a week now. Please bear with me, I'm very new to linux and Ubuntu. I first attempted to install the JDK as the following site had written, which did not ...
0
votes
0answers
382 views

How can i make java version1.8.0_91 my default java version?

When I type: java -version it says: joelle@joelle-Satellite-L745D:~$ java -version java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM ...
25
votes
5answers
108k views

How to set the JDK for Android Studio?

I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6. To change it I go to File -> Project Structure and try to find the ...
0
votes
1answer
864 views

how can i install jdk-8u91-linux-x64.tar.gz on ubuntu [duplicate]

I downloaded jdk-8u91-linux-x64.tar.gz from the Oracle website. How can I install jdk-8u91-linux-x64.tar.gz? I have tried apt-get install jdk-8u91-linux-x64.tar.gz and also sudo add-apt-repository ...
0
votes
0answers
66 views

Ubuntu 16.04 waiting for headers - while installing OpenJDK8

I recently install Ubuntu 16.04 and now trying to install OpenJDK8. Everytime the installation gets stuck at 9% with Waiting for headers as attached: Sometime after, it give this error. I have ...
0
votes
1answer
89 views

What is the difference between Oracle JDK 8 and Open JDK 8? [duplicate]

There are two kind of JDK available for Ubuntu(Oracle JDK 8 and Open JDK 8). Which one is recommended for programmer to install ?
0
votes
1answer
1k views

how to install java 8 in ubuntu 16.04?

How to install java-JDK 8 & maven in Ubuntu 16.04 without adding any PPA? Thanks in advance
3
votes
3answers
3k views

How can I install Openjdk on Ubuntu 16.04?

Since I upgrade to the latest version of Ubuntu, cannot install Java OpenJDK needed to compile android custom roms, when I run sudo apt-get install openjdk-7-jdk appear the following error: Reading ...
0
votes
0answers
21 views

Error message after installing JDK 8 on Ubuntu, “when loading /etc/profile:”

I need advice about how to proceed with this. After (successfully, by all initial appearances) installing JDK 8 on Ubuntu 14.04 LTS, I received the following message upon rebooting the system: While ...
0
votes
1answer
64 views

Installing of jdk and jre 1.8 in Ubuntu 14.04

I tried with all the types possible of installing Java for example: sudo add-apt-repository ppa:webupd8team/java -y sudo apt-get update sudo apt-get install oracle-java8-installer Even I deleted ...
0
votes
1answer
312 views

Ubuntu 15.10 - jboss wildfly 9.0.2.Final, Eclipse Mars crash due to JVM error

After I upgrade to Ubuntu 15.10 , when I start the jboss wildfly 9.0.2.Final and eclipse mars crashes due to JVM error. At that time I cannot access Chrome or Firefox browsers as well. Most of the ...
1
vote
2answers
5k views

bash: /usr/bin/java: No such file or directory

i have installed jdk1.8.0 manually from the oracle website. i have followed the steps written in this website. At last when i executed java -version command i got this result:- bash: /usr/bin/java: ...
1
vote
0answers
107 views

Unable to install anything using apt-get

I looked through some threads and couldn't find a solution, apologies if this is a duplicate. After messing up an installation of some package (see below), attempting to install anything yields: $ ...
1
vote
0answers
47 views

var lock issue right after installing JDK and soapUI on my machine

I have been dealing with an issue all day here. I cannot seem to have apt-get work for anything whatsoever. I have been through several parameters here including trying these following solutions: ...
0
votes
1answer
46 views

How to install JDK sources?

How can I download the source code of Java on my local machine, so I can reference it in an IDE?
1
vote
0answers
888 views

How to install Java development kit 8 on 64 bit Ubuntu 14.04

I have been using Ubuntu as my first flavour of Linux for about a week. I am facing problem installing the Sun Java Development Kit (JDK 8) The downloaded files are in .tar.gz extension, i have gone ...
-1
votes
2answers
22 views

visual VM with JDK problem

I'm new to ubuntu ,i'm trying to use tool called jvisualvm to know if there is amemory leak or not , i got after after installed it update-alternatives --config java There are 3 choices for the ...
-1
votes
1answer
45 views

Issues while attempting to open a java project with Netbeans on Ubuntu Mate 15.10

Well, i just moved from windows and installed Netbeans to do some java projects, but I can't manage to open, either my old projects or even a new one. Here's some screenshots: while attempting to ...
1
vote
3answers
6k views

Installation of SAP GUI 740 on Ubuntu 14.04

I need your help! I have the following version of JRE installed on my system: java version "1.7.0_75" OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1) OpenJDK 64-Bit Server VM ...
0
votes
1answer
118 views

Installing JDK on Ubuntu?

I am quite new to Ubuntu. I have recently installed 14.04 on my PC and it's fantastic. My only real issue for Ubuntu is that I need an Internet connection to install things effectively. I had recently ...
1
vote
2answers
104 views

Changing JDK from Open JDK to Oracle JDK

I installed Android Studio in Ubuntu by following two commands: sudo apt-get ubuntu-make umake android It installed with OpenJDK bydefault using Ubuntu Developer Tool. Now I want to change JDK ...
0
votes
3answers
199 views

Help required to install Oracle JDK 8 on Ubuntu 15.10 - Where and how?

edit - the above link answered my question - it's up and running!. thanks Pilot6 and shadow. I am a Linux newbie. I am trying to install the Oracle JDK 8 and NetBeans on my computer. My internet ...
0
votes
2answers
2k views

Eclipse Kepler crashes on Ubuntu 14.04 when using WindowBuilder

I'm using Ubuntu 14.04 and with a lot of problems I have to face daily with this OS, there is another recent one. Problem: Whenever I try to use Eclipse's WindowBuilder to design SWING GUIs, after a ...
0
votes
0answers
83 views

Imported Android Studio project has a wrong java path

I just imported an existing Android project into Android Studio running on Ubuntu 14.04. In the Studios Project Structur the JDK location is the following: /usr/lib/jvm/java-8-oracle which is what ...
0
votes
1answer
53 views

Getting JDK error while installing anything

I tried to install git and android studio but following error showed while installing. Please do help. Errors were encountered while processing: jdk1.8.0-77 E: Sub-process /usr/bin/dpkg returned an ...
0
votes
1answer
81 views

netbeans not all requested modules can be enabled

I know this question has already been posted, but the solutions provided don't work for me. I added the webupd8team/java repository and installed oracle-java8-installer and oracle-java8-set-default. I ...
1
vote
2answers
625 views

Android KitKat build on Ubuntu 14.04, Wrong JDK

I am trying to build Android-x86 KitKat branch from android-x86.org on an Ubuntu 14.04 64-bit machine. However, when I run make it doesn't run very long until there is an error which halts ...
0
votes
1answer
40 views

jre and jdk installation

I got following error while installing the open jdk from ubuntu 14.04. how do i solve this ? You might want to run 'apt-get -f install' to correct these: The following packages have unmet ...
-1
votes
1answer
20 views

Update from java 1.7 to latest version

How can i update to the latest version of java if i have already installed on my pc java 1.7. If i should remove it first, how can i do that?
0
votes
1answer
57 views

I am not getting .bashrc file on Ubuntu

I'm struggling a lot to install JDK in Ubuntu. I have these steps followed: Downloaded jdk-8u73-linux-i586.tar.gz and extracted the file. Placed jdk1.8.0_73 in /usr/lib/java. Ran the scripts below: ...
6
votes
2answers
10k views

IcedTea plugin for OpenJDK 8

I updated from OpenJDK 7 to 8. I uninstalled 7, which uninstalled the IcedTea plugin as well. I tried to reinstall IcedTea with sudo apt-get install icedtea-7-plugin But it doesn't work. When I ...
0
votes
0answers
15 views

Where to find NetBeans userdir?

I'm trying to find NetBeans userdir, as my Netbeans won't start. I've tried re-installing it, but still it won't start. I read here that I should delete the userdir. However, I can't find it. I've ...
0
votes
1answer
315 views

install jdk on Ubuntu with rpm package

I downloaded jdk-8u73-linux-x64.rpm from Oracle. then I try to convert .rpm to .deb to install it on Ubuntu 15.10. So I tried this code: sudo alien jdk*.rpm and after a few minutes I have ...
1
vote
1answer
91 views

Switch between multiple java versions

While installing Android Studio on Ubuntu 14.04 I get the message that my java version (javac 1.7.0_79) is causing problems. I found a solution of how to install a newer oracle version of java: sudo ...
0
votes
1answer
46 views

one JVM only — how?

I had to install the Oracle JDK to get Netbeans to launch (forgot about umake). Now that I have the official JVM, I want to remove each and every other JVM -- all the OpenJDK stuff, including ...
1
vote
0answers
188 views

JDK related error while installing git

I was installing git on my ubuntu 14.04 with terminal command apt-get install git, but following logs was output showing that there may be something wrong with JDK, but I do have install jdk on my ...
0
votes
1answer
127 views

E: The package jdk needs to be reinstalled, but I can't find an archive for it

any one help me please i can't use apt-get anymore and I searched about this problem and all solutions have failed i removed jdk and installed it but the problem still exists
0
votes
0answers
72 views

Permission problem with Java Applets

I have a problem with my Java installation. I can run every Java program, but if I need an Applet, the Browser displays a blank section! :/ If I start Firefox with the terminal, I see following ...
3
votes
2answers
6k views

Error installing oracle-java8-installer from webup8team ppa

Does anyone know how to fix this? First I did: sudo add-apt-repository ppa:webupd8team/java Then I did: sudo apt-get update And then: $ sudo apt-get install oracle-java8-installer Reading ...