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

learn more… | top users | synonyms

1
vote
1answer
204 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 ...
24
votes
7answers
39k 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
30 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 ...
1
vote
2answers
660 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 ...
0
votes
1answer
79 views

How to uninstall manually installed java? (jdk 8) [duplicate]

I am using Ubuntu 14.04 LTS 64 bit and installed the wrong version of Sun/Oracle's Java JDK (32 bit instead of 64 bit) using the Ask Ubuntu Post I assume I have to uninstall it now. How can I do ...
0
votes
2answers
35 views

Beginner Programming Issue with Javac

I am reading through an introductory book for Java programming and I am facing an issue from the get-go. I am told to run in the terminal javac Example.java. From that command, javac compiler is ...
0
votes
1answer
77 views

Java installation and Android Studio AVD problem

Android Studio doesn't open as root terex@Terminator:/android-studio/bin$ sudo ./studio.sh ERROR: Cannot start Android Studio No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME ...
0
votes
0answers
65 views

Missing tools.jar (Android Studio)

'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 to this error, and as far as I can tell, I've done ...
0
votes
0answers
91 views

libjvm.so: cannot open shared object file: No such file or directory

Trying to install the rJava package on R, on my 14.10 ubuntu, using this code if (!require(rJava)) install.packages('rJava') got few errors related to java including jni problems, after ...
-1
votes
2answers
707 views

Running .jar File using JDK on Ubuntu 14.04 [closed]

I install JDK on my Ubuntu 14.04 so I can use Netbeans and Android studio. I download a .jar file in the internet and I want to run it on my PC. My problem is, I cannot find java to run this file. I ...
2
votes
2answers
31k 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 ...
1
vote
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 ...
23
votes
3answers
39k views

Setting JDK 7 as default

four@twenty:~$ file /etc/alternatives/java /etc/alternatives/javac /etc/alternatives/java:symbolic link to `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java' /etc/alternatives/javac:symbolic link to ...
0
votes
1answer
112 views

Installing JDK 8 after removing OpenJDK 7

I just removed OpenJDK at Ubuntu Software Center, and downloaded JDK 8 at official Oracle site, and installed with alien. But when I type java -version at terminal, it keeps returning ...
6
votes
1answer
30k views

“Please ensure you have JAVA_HOME points to JDK rather than JRE” message

I have java installed aaa@ubuntu:~$ whereis java java: /usr/bin/java /usr/bin/X11/java /usr/local/java /usr/share/java aaa@ubuntu:~$ whereis javac javac: /usr/bin/javac /usr/bin/X11/javac and ...
0
votes
1answer
43 views

JDK issue, terminal won't recognize commands (javac, javah ect) when JDK is installed.

Hi I installed JDK alongside Netbeans 8.0.1 and all the java commands are found in: /home/username/jdk1.8.0_31/bin and it's not recognized in the terminal when I type javac, javah ect. Can someone ...
1
vote
1answer
72 views

“Oracle JDK 7 is NOT installed” error even though JDK is installed

I installed Java Jdk manually by downloading jdk-7u40-linux-x64.tar.gz and following this link. When I check its version, it's OK: user@mylaptop:~$ java -version java version "1.7.0_40" Java(TM) SE ...
0
votes
0answers
27 views

.JAR Files Not Running Right Ubuntu 14.04

Ive downloaded many different .jar files for Runescape private server clients, yet they will load up just fine but will turn into a black screen. Ive tried running the file with JDK 6 and 7, along ...
1
vote
1answer
459 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
1answer
68 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
77 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
17k 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 ...
305
votes
23answers
497k 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
21 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 ...
-1
votes
1answer
156 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
34 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
107 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
168 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 ...
10
votes
3answers
42k 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
103 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
80 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
5
votes
3answers
20k 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 ...
1
vote
0answers
284 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 ...
0
votes
1answer
151 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
67 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
36 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
3k 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
51 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
260 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
58 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
36k 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
41 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
66 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
103 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
86 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
22 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
87 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
714 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
779 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 ...