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

learn more… | top users | synonyms

2
votes
2answers
973 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
2answers
26k 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
2answers
32 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 ...
1
vote
2answers
74 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 ...
2
votes
1answer
51 views

Are there any reliable sources with more frequent jdk icedtea package releases?

I use the canonical repository for retrieving updates from the jdk icedtea, but it seems that it is lagging a lot behind what is supposed to be the latest stable version as per the icedtea website ...
2
votes
1answer
327 views

java MainServer gives java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0

Compiling is easy but when using java to run the programs, it gives Exception found. I am using Ubuntu 12.04 without internet connections. Also, installed Oracle JDK7 and JRE7. Also did the ...
1
vote
1answer
896 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 ...
1
vote
1answer
346 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
1answer
123 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
1answer
203 views

Removed JDK6, installed JDK7. JAVA_HOME broke and javac not installed

I am finding that the javac is not in the java-7-openjdk-i386 package. Problem 1: $ javac The program 'javac' can be found in the following packages: * default-jdk * ecj * ...
1
vote
1answer
498 views

install JRE 1.6 on 1.5 JDK

I have Oracle JDK and JRE 1.5 installed ubuntu LTS. I want to keep JDK 1.5 and install Oracle JRE as 1.6. please let me know the steps or any clear source where I can get this done
1
vote
1answer
180 views

Java Problem in 12.04

My OS is 12.04 and I am running it on my laptop. Whenever I install or remove a software from the software centre I receive the error below. Can anyone show me how to fix it? Location: ...
0
votes
1answer
41 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
47 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
1answer
862 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
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 ...
0
votes
1answer
307 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 ...
0
votes
1answer
571 views

Open JDK doesn't run my jar files

I decided to start java programming on Linux instead of Windows, but I can only open my projects in the NetBeans IDE. When I make the distribution into a .jar file, I can't open them. I already gave ...
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 ...
0
votes
1answer
19 views

ALEKS plug-in on 12.04

I'm running 12.04 and have successfully installed the latest version of JDK. I've followed the instructions on this page to install the plug-in for ALEKS, and that worked. But when I log in to ALEKS ...
0
votes
1answer
94 views

Java -jar using Oracle lib

I have installed java-7-openjdk and it works well, but I need to use JavaFX in a project so I download "Java SE" (all packages) form Oracle and I store them inside/usr/lib/jvm/jdk1.7.0_45. Now I want ...
0
votes
1answer
913 views

How to run java/javac command from terminal

I have installed jdk using .deb(convert from rpm),but i can't run java/javac command from terminal.
0
votes
1answer
100 views

How to set up environmental variable in Ubuntu?

I have never used Ubuntu before. How do I go about setting an environmental variable that points to JDK? I installed it on my Desktop. I typed in "EXPORT JAVA_HOME=~/Desktop/jdk" in the command prompt ...
0
votes
1answer
446 views

Eclipse 4.2 (Juno) crashes on Ubuntu 12.04 (Precise)

I installed eclipse 4.2 java on Ubuntu 12.04 x86_64 and it just crashes everytime it opens the auto completion context menu. It crashes without any error message and just closes the eclipse window. ...
0
votes
1answer
640 views

Problem While Installing Netbeans 7.3 On Ubuntu 12.10

I just downloaded the latest version of Netbeans on my Ubuntu and made sure to do the same with JDK as well. Problem is, every time I try to install Netbeans, this message comes out: ...
0
votes
1answer
915 views

how to install jdk in ubuntu without an internet

Right now I don't have a working internet connection on my Ubuntu 12.10 . So is there a way to download some kinda archive or debian package and copy it to my Ubuntu and then install it ?
0
votes
1answer
1k views

Minecraft not working in Ubuntu 12.04 LTS - Black screen?

This is what I've done exactly. I downloaded Minecraft for Linux from minecraft.net I tried running the file using both OpenJDK Java 7 Runtime and Oracle Java 7 Runtime The file opened fine ...
3
votes
0answers
258 views

Maven not working after updating java

I have recently updated my java version to jdk7u9 in my ubuntu 11.04 Natty after which my previous maven projects have stopped working. I have installed using this script When I run maven install in ...
2
votes
0answers
269 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 ...
1
vote
0answers
151 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 ...
1
vote
0answers
48 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 ...
1
vote
0answers
121 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 ...
1
vote
0answers
116 views

jdk installation error

sudo apt-get install oracle-java6-installer [sudo] password for taha: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: ...
1
vote
0answers
72 views

While installing jdk

I'm trying to install java using the WebUpd PPA. After adding their PPA and updating, I try: sudo apt-get install oracle-java7-installer and it gives me an error Oracle JDK 7 is NOT installed. ...
1
vote
0answers
67 views

Unable to update JDK 7

I've installed JDK through the Webupd8 PPA (oracle-java7-installer). The problem is that whenever I try to update Java, the process just pauses after connecting with Oracle's server. If I force close ...
0
votes
0answers
24 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 ...
0
votes
0answers
19 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.
0
votes
0answers
133 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?
0
votes
0answers
50 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
217 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
0answers
43 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 ...
0
votes
0answers
70 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
63 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 ...
0
votes
0answers
2k 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 ...
0
votes
0answers
57 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
0answers
81 views

Ubuntu does not recognise installed Oracle JRE & installs OpenJDK packages

I have Oracle JRE installed on my system. However while installing tomcat7 with apt-get it does not recognize my installed oracle java(installed using tar from oracle website), but on another system ...
0
votes
0answers
765 views

How to install Lucene 4.0.7 in ubuntu 12.04

I am using ubuntu 12.4 and I have an assignment to explore Lucene 4.0.7. But I could not install it. I did not get any type of help from search engines or other forums. So please any body help me.Here ...
0
votes
0answers
256 views

I just try to install Netbeans but there is more problem with JDK

Hi, im new at ubuntu and i want to use netbeans. I downloaded netbeans from its web site then I wrote this commands to the line hakki@hakki-K55VM:~/Downloads$ chmod +x netbeans-7.4-linux.sh ...
0
votes
0answers
34 views

jdb not starting up

I am having a wierd problem. I manually installed the newest JDK from Oracle just about an hour ago. Now when I try running jdb through the command jdb DocumentListing1.java the output reads: The ...
0
votes
0answers
124 views

Trying to install Oracle 6u4 on Ubuntu 13.10 and cannot find the libnpjp2.so browser plugin

I need Oracle's Java 6u4 to run a specific web applet for work. I've downloaded the .bin for 64-bit Linux from Oracle's website, and went through this AU answer. Everything seemed to be going fine, ...