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

learn more… | top users | synonyms

0
votes
1answer
58 views

My netbeans is not working after I deleted the jvm folder

My netbeans is not starting since I deleted the /usr/lib/jvm folder. But I have installed java jdk 1.7.0_51.deb debian file and the file dir is /usr/java. When I tried to start the netbeans using ...
0
votes
0answers
28 views

Issue launching phpstorm, seems like a java problem

I just got my ubuntu enviroment setup 2 days ago. And im trying to install phpstorm, and adding it into the enviroment path. I downloaded the tar.gz file, unzipped it to /home/documents/IDE/phpstorm/ ...
10
votes
3answers
16k views

“No such file or directory” when invoking java

I'm trying to re-install Oracle JDK 7 32 bit to 64 bit Ubuntu (previously 64 bit JDK was installed). JDK is currently present at /usr/lib/jvm/jdk1.7.0. I invoke sudo update-alternatives --remove ...
297
votes
23answers
475k views

How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?

I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java ...
0
votes
0answers
13 views

libjai-imageio-core-java in Ubuntu 14.04

It seems that libjai-imageio-core-java is missing on 14.04 (it is available on Ubuntu 12.04): http://packages.ubuntu.com/search?keywords=imageio&searchon=names Is there a replacement for this ...
0
votes
1answer
51 views

installing a jdk and android studio after downloading its zipped folder

this is a common error whenever i try to install jdk, jre and android studio : error processing package oracle-java7-set-default (--configure): dependency problems - leaving unconfigured No apport ...
0
votes
0answers
22 views

oracle-jdk and open-jdk simultaneously on ubuntu machine

I have an oracle-jdk8 installed on my ubuntu 14.04 and i use it for android development, also I need open-jdk or jdk7 for scala because apparently scala has some issues with jdk8. So I was wondering ...
0
votes
0answers
31 views

Install jstack without the entire openjdk-7-jdk bundle

I am wondering if it is possible to install jstack without the entire openjdk-7-jdk bundle. So far, I have a process to manually copy of the following folders and binary from an existing installation ...
0
votes
0answers
58 views

Error installing oracle-java8-installer from webup8team ppa

Does anyone know how to fix this? First I did: kevin@kevinsubuntupc:~$ sudo add-apt-repository ppa:webupd8team/java Dhen i did: sudo apt-get update And then: kevin@kevinsubuntupc:~$ sudo ...
2
votes
2answers
28k views

How to setup Java-Home and Path in Ubuntu 12.04

we are new to Ubuntu.Recently we changed my server OS to ubuntu 12.04 from windows 7 . every one have their own login details. one of my college installed Open-Jdk7. I asked him, where you installed ...
0
votes
1answer
4k views

How to uninstall JDK

Today I installed Android Studio but when I opened it raised the error: 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I ...
9
votes
3answers
40k views

How to remove Oracle JDK

I didn't find article any related articles How to remove Oracle JDK there are some related articles but they didn't solve the problem. I installed Oracle JDK tarball file from Oracle site by ...
0
votes
1answer
60 views

install jdk-7u71-nb-8_0_2-linux-i586.sh [duplicate]

I have downloaded JDK 7u71 with NetBeans 8.0.2 from http://www.oracle.com/us/technologies/java/jdk-7-netbeans-download-432126.html. I want to know how to install jdk-7u71-nb-8_0_2-linux-i586.sh on ...
0
votes
1answer
58 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
4
votes
3answers
17k 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
0answers
189 views

Installing java 8:update-alternatives: error: alternative path /usr/lib/jvm/jdk1.8.0/bin/java doesn't exist

I know this question might seem like a duplicate question, but I think its not. I'm trying to install java 8 on my ubuntu 14.04 LTS. I have tried many method, but nothing worked for me. So I ...
0
votes
0answers
134 views

Android Studio Desktop Entry shows “OpenJDK shows intermittent performance and UI issues.”

On Ubuntu 14.04 I recently installed Android Studio v1.0.1 and noticed that it warns against using the OpenJDK due to "intermittent performance and UI issues." As recommended, I installed the Oracle ...
20
votes
5answers
36k views

'tools.jar' is not in IDEA classpath

I am a new user of Linux, it has been recommended to me by my friend. He told me to install software called IntelliJ Idea IDE. Well I have been following the tutorial. But now when I try to open ...
0
votes
1answer
79 views

How to downgrade Java. For example Java 7u72 to 7u67

How can I downgrade java 7 to update 67 as suggested by this Check Point issue? I need this to install Check Point VPN. I have to install Java 7u67. How can I do it? How can I install specific ...
0
votes
1answer
45 views

getting different version of java in ubuntu

I am getting different version of java when i run java -version and javac -version. for java-version iam getting java -version java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.3) ...
0
votes
0answers
28 views

Problems with Eclipse GUI

Sometimes, without any evident pattern, Eclipse fails to render some stuff. I can't give much more information because the problem is difficult to reproduce, even if it appears often, and also even ...
3
votes
2answers
2k views

Android Studo showing :“OpenJDK shows intermittent performance and UI issues.”

I have recently installed Android Studio on my Ubuntu 12.10 64bit machine, but every time that I opened it kept giving the following error "OpenJDK shows intermittent performance and UI issues. We ...
7
votes
6answers
6k views

What is the difference between the five versions of Java on this page for Ubuntu?

I want to install Java on my computer so that I can develop programs and I came across this page on Java in the Ubuntu community documentation. It says: Java is a technology from Oracle (formerly: ...
0
votes
1answer
43 views

Cannot install java?

Edit: This is Ubuntu 13.04 Before I begin, I've seen this question around, sudo apt-get install openjdk-7-jdk It tells me ... ect .. ect (Failed to fetch) Failed to fetch ...
1
vote
1answer
147 views

can't set up java for R under ubuntu 14.10

Problem: before upgrading, under Ubuntu14.04, I just installed the default JRE and JDK, and R 3.0.2 (the default for that rev of Ubuntu),and sucessfully ran R CMD javareconf. However, since ...
1
vote
2answers
44 views

jar files not working

In terminal when try to run jar file it doesn't launch. I have recently uninstalled open jdk 6 to save some space if that matters. abe@abe-Dimension-8400:~/Desktop$ java -jar Minecraft.jar I use ...
15
votes
3answers
35k views

How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?

Ubuntu 12.04.2 LTS What's going on here? # apt-get install openjdk-7-jdk Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be ...
0
votes
1answer
26 views

Unable to Clean boot disk space

I use a sony vaio and Ubuntu 14.04 LTS. I want to install Windows 7 and whenever I insert a bootable usb drive, Error occurs. It says that 693 MB of boot disk space require. How to clean boot disk ...
0
votes
2answers
61 views

Installing Programs, ie Java 8 jdk [duplicate]

I am trying to migrate from Windows to Linux. Why is so difficult for beginners to install programs to a linux computer. Starting to miss the self extracting executable programs in Windows. I have ...
0
votes
1answer
63 views

I can't install openJDK 7 in ubuntu 12.10 (32-bit)

Using Ubuntu Software Center I tried to install OpenJDK 7 but got the following notification. **Package dependencies cannot be resolved** This error could be caused by required additional software ...
0
votes
1answer
62 views

installing jdk8 in ubuntu 12.04

I am completely new to Ubuntu and I want to install jdk8. I downloaded the jdk-8u25linux-x64.tar.gz file from their website, but I wanted to follow a lot youtube videos but somehow I cannot follow ...
0
votes
0answers
21 views

java installation not sucessful on ubuntu 14.04

I tried to install java from terminal but failed to install and got error like dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
1
vote
1answer
73 views

SIGBUS error with JRE when using eclipse

I encountered a SIGBUS error when starting up eclipse. There was nothing wrong before this, I've just turned on the laptop and the error appears: $ eclipse # # A fatal error has been detected by the ...
4
votes
1answer
580 views

CrashPlan desktop app suddenly terminated after Splash Screen

CrashPlan desktop app suddenly terminated after Splash Screen This was a fresh CrashPlan install on Ubuntu 14.04 amd64 with Oracle Java 7 JDK. Most of /usr/local/crashplan/log/....log was not ...
1
vote
1answer
749 views

Having problem with installing JDK 7 and 8

I wanted to install JDK 7 and 8 on my system and I followed bellow post: http://stackoverflow.com/questions/16263556/installing-java-7-on-ubuntu But now, when I enter the: sudo apt-get install ...
0
votes
2answers
167 views

NetBeans has broken interface with OpenJDK

Sorry for English. Usually (say, at 4/5 of times), when I start NetBeans, interface is partially broken. For example, menu items are appearing and at once disappearing after click; some parts of ...
1
vote
2answers
126 views

Can't figure out how to run eclipse (missing JDK/JRE)

I'm very new to Linux and coding, I'm really interested in learning and really want to contribute to this process here at Ubuntu as soon as possible. I downloaded Eclipse Luna. When I try to run it ...
0
votes
0answers
173 views

Eclipse Luna(4.4.1) can't find the JRE for jdk1.8u25

I recently installed jdk1.8u25. The java codes are working fine in the terminal but in eclipse it is not working. Can anyone give any solutions for this?
15
votes
4answers
27k views

Specify JDK for tomcat7

I have installed tomcat7 (using apt-get install) and whenever I want to start tomcat7 it says : * no JDK found - please set JAVA_HOME I have set JAVA_HOME in my bash.bashrc and also in ~/.bashrc ...
12
votes
6answers
31k views

How do I make java default to a manually installed JRE/JDK?

I have Ubuntu 12.04 amd64 installed on my machine, on the previous versions of Ubuntu it was deadly easy, now there is this command update-java-alternatives with a really bad man page. I just have my ...
0
votes
1answer
31 views

all command in jdk/bin can not execute

for example i type jmap in terminal, it will show: The program 'jmap' can be found in the following packages: * openjdk-6-jdk * openjdk-7-jdk Try: apt-get install <selected package> ...
0
votes
0answers
60 views

How to set the path to xstream in Ubuntu 14.04

I am using Ubuntu 14.04, and installed my version of jdk using sudo apt-get install openjdk-7-jdk Now I installed xstream 1.4.7, but whenever I compile any java files using the package, I get an ...
0
votes
0answers
416 views

Problems installing Oracle java 1.8

I'm running Ubuntu 14.04. I'm trying to install Oracle java 8. I downloaded the .rpm file published by Oracle: jdk-8u20-linux-x64.rpm and then ran the following commands trying to install it: $ ...
0
votes
1answer
934 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 ...
2
votes
1answer
80 views

Do I need to Install jdk?

I realized that my java compiler wasn't up-to-date on my ubuntu 12.04 $ sudo update-alternatives --config javac There are 2 choices for the alternative javac (providing /usr/bin/javac). Selection ...
1
vote
1answer
517 views

Eclipse does not start on 14.04

I recently upgraded to Ubuntu 14.04 and have been trying to install and use Eclipse ever since. I tried using both open JDK as well as Oracle JDK installations(both Java 7 and Java8) and both Eclipse ...
1
vote
2answers
451 views

intellij idea not opening because of jdk/bin/java

I am relatively new to ubuntu. i am using idea intellij from jetbrains for developing applications with gwt and java. Recently i have installed ubuntu 14.04 and everything works fine but idea 13. I ...
5
votes
3answers
7k views

“Oracle JDK 7 Is NOT installed” error?

I'm trying to install JDK7 on ubuntu 12.4. In the first try, the power has gone and the laptop shutdown in the middle of downloading JDK7 using terminal as I was using the next terminal commands ...
0
votes
0answers
49 views

Specifying path to java interpreter while installing Java Wireless Toolkit

I have already installed JDK. I could run java programs through command line as well as through Netbeans IDE. Now I want to install java wireless toolkit. I have downloaded the "*.bin" file from ...
2
votes
1answer
631 views

Download failed : Oracle JDK 7 is NOT installed

When i try to install something it gives me this error: HTTP request sent, awaiting response... 403 Forbidden 2014-04-23 09:32:53 ERROR 403: Forbidden. download failed Oracle JDK 7 is ...