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

learn more… | top users | synonyms

0
votes
0answers
17 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 ...
0
votes
1answer
21 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
1answer
98 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
33 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
44 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
206 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
0
votes
0answers
14 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
43 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 ...
2
votes
3answers
1k 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 ...
1
vote
0answers
84 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
37 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
31 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
660 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
1answer
34 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
votes
2answers
20 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 ...
0
votes
1answer
104 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
71 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
0answers
61 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
51 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 ...
0
votes
1answer
49 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
3answers
143 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
1answer
37 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
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
56 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: ...
0
votes
1answer
263 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
71 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
44 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
174 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
83 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
1
vote
1answer
122 views

Unable to launch Spark

I followed this answer. I am getting this error: spark-class: line 86: /usr/lib/jvm/java-8-oracle/bin/java: No such file or directory And to my surprise, I have: gsamaras@gsamaras:/usr/lib/jvm$ ...
0
votes
0answers
25 views

Can't import Eclipse project in Netbeans

When I'm trying to import an Eclipse project to Netbeans in Ubuntu it gives me the following error
0
votes
0answers
31 views

Oracle JAVA IDEs freeze

I experience a freeze since few months. I'm using Phpstorm and since june I has to downgrade java (oracle, phpstorm can't work with openJdk) jdk from 8 to 6 to avoid a freeze when the IDE is indexing ...
0
votes
2answers
47 views

How i can run java from terminal? [closed]

I've copy the java from downloads folder to the bin folder and I've tried so many ways to set it. So can just type java in terminal. But it always not working. Please help me.
-1
votes
1answer
40 views

what are these outputs in terminal while installing/upgrading jdk

I've been installing jdk i have more than single problem 1.in 1st line when i try to set alternative of java it said java is already managed what does this mean 2.why i have to type java1, javac1. ...
-1
votes
1answer
117 views

Unable to install jdk1.8.0_65 on Ubuntu 14.04

I've created the /usr/lib/java directory and moved the jdk directory in it. but while using the following commands, i'm not getting any output(not even an error): sudo update-alternatives --install ...
1
vote
0answers
127 views

Can't find JDK for Unity3d development

I'm developing on Unity3d 5.2 a game which should be build for an Android. I use Ubuntu 14.04. I used: sudo apt-get install openjdk-7-jdk to install java. Set $JAVA_HOME and $PATH variables in ...
0
votes
1answer
77 views

Trying to install Java JDK from their SE Downloads page. Don't know how to use tar.gz

So I am trying to install Java JDK in a more difficult manner I know. But I want to understand what I am doing. I have the tar.gz file downloaded from here. Now I used tar -xzf ...
0
votes
0answers
31 views

Multiple versions of Java on Ubuntu

My end goal is to run Diffkit http://www.diffkit.org on ubuntu 14. JRE 7 is not supported, so I am installing JRE 5. I followed the instructions in an existing answer Downgrade Java 1.7 to Java 1.5 ...
0
votes
0answers
36 views

How to handle Java and software installation

I am not a Java expert and I am trying to understand how java relates to different programs. After some program installations (latest versions) I think that the default java is changed and I ...
0
votes
1answer
336 views

which java se to download for linux

1 . i went to oracle site but i don't understand which Java to choose ! Linux ARM 32 Hard Float ABI 77.71 MB jdk-8u71-linux-arm32-vfp-hflt.tar.gz Linux ARM 64 Hard Float ABI 74.65 MB ----- ...
0
votes
1answer
92 views

Properly set up java development environment

I am a java developer mainly coding on win environment. I am planning to move to Ubuntu and I would like to know what is the best way to setup my jave, ide, maven and others. Under Windows I would ...
0
votes
0answers
25 views

Why does Ubuntu not want to remove old Java versions?

I finally got my 14.04 system up to date with Java and JDK 8 - as you can see in the screenshot, I still have JDK7 though. When I go to uninstall it, it says it will uninstall freemind and other ...
0
votes
1answer
45 views

Trying to install JDK [duplicate]

I'm trying to install JDK on ubuntu 14.04 LTS. I downloaded it from oracle website. Than I extracted it and moved in usr/lib/java. It says java doesn't exist but it does. I use this video ...
0
votes
0answers
22 views

Uninstalling Java JDK causing unable to locate package?

I'm very new to using the terminal, and I recently installed openJava JDK for use in Android Studio. Upon setting up the studio it said that I should uninstall openJava JDK and instead install Oracle ...
0
votes
1answer
178 views

Installing Java Offline

I understand that this question has been asked exhaustively and do not mind if it is marked as a duplicate, but I am having a little trouble setting Java up. When I follow this post, number six says ...
1
vote
2answers
258 views

“java -version” showing a different output. How to find the installed folder and configure JAVA_HOME and JDK_HOME?

I downloaded and installed the JDK+Netbeans bundle from the Oracle website, but when I type java -version at the terminal, I get this output: $ java -version The program 'java' can be found in the ...
1
vote
0answers
256 views

java-8-oracle (1.8.0_66) problem with PrintAssembly “Could not load hsdis-amd64.so”

I'm trying to run my programs with -XX:+PrintAssembly options but I always get message like: Java HotSpot(TM) 64-Bit Server VM warning: PrintAssembly is enabled; turning on DebugNonSafepoints to ...
0
votes
1answer
96 views

openjdk 7 java freeze launch

NOTE: Found a workaround, I just want to know where the problem is. Hello everyone, I am attempting to run a java *.jar file that runs on my debian setup but cannot get to run on a fresh install of ...
3
votes
0answers
31 views

Is there anything wrong with java-package?

There is a question about How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE? There are 23 answers at the moment, most of them are either explaining how to do it manually (unpack, move ...