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

learn more… | top users | synonyms

0
votes
1answer
23 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
29 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
15 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
21 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 ...
-1
votes
0answers
13 views

can i install open jdk 7 32 bit with jdk 7 64 bit already installed on ubuntu 64 bit

I am using 64 bit ubuntu. Having installed jdk 7 64bit. can i install open jdk 7 32bit without uninstalling jdk 7 64 bit?
-1
votes
0answers
16 views

Help Please. Im new to ubuntu and need help getting bluej to work

i downloaded oracle-jdk and bluej, then realized i could just use the openjdk. i click on the bluej-314.deb file and it took me to software center to download. then I try to open and nothing happens. ...
0
votes
0answers
86 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?
1
vote
2answers
52 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
1answer
22 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
46 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
119 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: $ ...
1
vote
1answer
463 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 ...
2
votes
1answer
60 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 ...
0
votes
1answer
207 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 ...
0
votes
0answers
36 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 ...
1
vote
0answers
133 views

use jdk1.8.0_20 which comes with Netbeans also for Aptana

I just installed Netbeans 8 with jdk1.8.0_20. Which is working fine but a little bit slow. So I figured why not try Aptana Studio but Aptana website states that openjdk is not supported. Can I use ...
0
votes
1answer
217 views

how to install java 1.5 jdk in ubuntu

I am getting this error when trying to install java 1.5 jdk sudo apt-get install sun-java5-jdk Reading package lists... Done Building dependency tree Reading state information... Done Package ...
1
vote
1answer
125 views

Installing oracle java versions

I went to the website to download (Java Platform (JDK) 8u20 ), http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html to download ORACLE java for my machine. I was ...
-1
votes
2answers
184 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 ...
1
vote
1answer
628 views

JDK 8 Installation for Ubuntu 14.04 (Android Studio & NetBeans)

I downloaded jdk-8u11-nb-8-linux-i586.sh and installed it in my home folder. Then I install NetBeans, it is successful I think because I can compile my java code using netbeans. Now when I install ...
0
votes
1answer
151 views

Ubuntu 14.04 freezes when running project in netbeans 8 with jdk 7

This question seems to be a duplicate but it's not! I run ubuntu from a live pendrive only and wanted to test a netbeans project for linux. I have installed oracle's jdk 7u67, netbeans 8. When I tried ...
0
votes
0answers
56 views

Unable to share desktop while using Webex

While using WebEx, I am not able to share desktop. An error message shows that "Java is not enabled", but I've installed jdk7.4. I am using Ubuntu 13.10.
0
votes
0answers
57 views

Update-alternatives creating symlink to directory instead of file

I ran update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_11/bin/java 100 It is creating symlink named java to /opt/jdk/jdk1.8.0_11/bin/ instead of /opt/jdk/jdk1.8.0_11/bin/java inside ...
2
votes
0answers
242 views

Unable to start topcoder arena in Ubuntu 14.04

When I want to clear cache using javaws - viewer these error comes. I am trying to launch my topcoder arena. Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Exception in ...
0
votes
0answers
15 views

JDK 8 installation from .tar.gz file [duplicate]

I have downloaded jdk-8u11-linux-x64.tar.gz from the oracle website, and I have done gunzip and tar -xf which extracted all the files into a jdk directory(/usr/local/src/jdk1.8.0_11). Now is that it ...
1
vote
1answer
227 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
2answers
314 views

Changing the Java Runtime in NetBeans 8 on Ubuntu 14.04

(Not sure if this is the right site for this question - if not please migrate.) I am using Netbeans 8 for C++ on Ubuntu 14.04. Ubuntu comes with the Open JDK Runtime, which is what Netbeans is ...
0
votes
0answers
1k views

How do I install Eclipse Luna and JDK8 to work in Ubuntu Studio using XFCE?

I tried following guides online to install Eclipse, but I'm not sure if it was supposed to work for my distro. I'm also unsure if openJDK 8 is the same thing as JDK8 for linux and whether or not it's ...
1
vote
1answer
676 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 ...
1
vote
1answer
58 views

How do I change my java version?

I want to install Oracle JDK on my Ubuntu 14.04. I tried using webupd8's method. The installer worked fine but the when I type java -version I get: java version "1.7.0_55" OpenJDK Runtime Environment ...
1
vote
0answers
43 views

Eclipse dosn't see JDK

I had installed Eclipse and it was working well few days ago. Now I can't create Java project, there is no such option and in the Eclipse Preferences there is no mention about the word Java. I was ...
2
votes
1answer
586 views

IcedTea plugin for openjdk 8

I updated from openjdk 7 to openjdk 8. Meanwhile I uninstalled jdk 7(which uninstalled icedtea plugin too). I tried to reinstall icedtea with sudo apt-get install icedtea-7-plugin But it ...
0
votes
2answers
1k views

Switch to Oracle Java JDK in 14.04?

Ubuntu 14.04 comes with OpenJDK after updating from 13.10. $ java -version java version "1.7.0_55" OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1) OpenJDK 64-Bit Server VM ...
1
vote
1answer
148 views

Can't run InstallJava executable file

I can't seem to run a Java executable file, even though I've already installed the latest jdk. See the below screenshot. Am I using the right command, via: ~$ open InstallJava or is ~$ ./InstallJava ...
0
votes
1answer
807 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
2answers
125 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 ...
0
votes
0answers
47 views

error showing: unable to launch “ PATH=…” X session ---, falling back to default session

When I logged in after successfully installing jdk 1.8.0_05 on Ubuntu 14.04 it says: :unable to launch "PATH=/usr/local/sbin ...... X session --- ...
0
votes
3answers
189 views

Eclipse and java 7 but no javac?

I have a java computer program that I can compile in Eclipse just fine. I want to compile it from the command line and get the message javac not found. I figured that I just didn't have my path setup ...
2
votes
1answer
9k 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
2answers
322 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 ...
3
votes
1answer
1k views

Multiple JDK is not working properly in Ubuntu 14.04

JDK versions (jdk1.7.0_21 and jdk1.7.0_55) Installed and Configured like below. jdk1.7.0_21 update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_21/bin/java" 1 ...
0
votes
1answer
5k views

gzip: stdin: unexpected end of file -> problem in extracting jdk-7u55-linux-x64.tar.gz

I have downloaded 'jdk-7u55-linux-x64.tar.gz' When I execute following command to extract, sudo tar xvzf jdk-7u55-linux-x64.tar.gz also tried, sudo tar xvf jdk-7u55-linux-x64.tar.gz sudo tar xf ...
1
vote
2answers
49 views

Install Java 6 for a single project while leaving the default for the rest of the system at Java 7

In order to install a development environment for an older version of Android, I need to have Java 6 installed. I already, however, have Oracle Java 7 installed on my system and would like to keep it ...
0
votes
1answer
1k views

Eclipse can't find Java after upgrade to 14.04

After upgrade to Ubuntu 14.04 Eclipse 3.8 can't find any installed Java VM. I have the Sun JDK 1.7 and the openJDK7 installed. I have tried modifying the eclipse.ini to point it to one of the ...
2
votes
1answer
539 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 ...
1
vote
1answer
107 views

Eclipse IDE hello world problem

I'm having problems running a simple java program "Hello world" i had installed the Eclipse Java EE IDE from eclipse site and before it i had installed jdk btw im using ubuntu 14.04 Any ideas ...
1
vote
0answers
118 views

Java apps consume 200% my CPU after cloning image in another computer

Yesterday I cloned an image of Linux from a Core 2 Duo to a Core i5 laptop. Everything works as expected except for JVM. I've installed in my machine the OpenJDK, Java 8 (jdk jre) and Java 7 (jdk ...
0
votes
1answer
271 views

Unable to install jdk 6 after uninstalling jdk 7

Want to install fresh jdk 6 for Android development. Before I had jdk 7 installed which I removed for fresh jdk 6 installation. Tried using the webupd repository way, not of use, tried downloading the ...
1
vote
1answer
508 views

install jdk6 on ubuntu 12.04, can use it in root user but can't in normal user

I am trying to install jdk-6 in ubuntu 12.04. I put the folder in /opt and set the environment path: vim /etc/profile vim /etc/bash.bashrc add this to both of the files: #set java environment ...
1
vote
1answer
1k views

Ubuntu 13.04 - Unable to install JDK7 [closed]

I have an Ubuntu 13.04 64-bit installed and I would like to install JDK 7 for Oracle Sql Developer. My problem is when I try to install it I get the next: kwarr@kwarr-K54LY:~$ sudo apt-get install ...