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

learn more… | top users | synonyms

1
vote
2answers
18k 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
2answers
93 views

Do I need JDK & JRE in Ubuntu?

In Windows 7 I had to install jdk & jre to program with eclipse. In the software center I can only find OpenJDK Java 7 Runtime. Do I need both to program in eclipse?
0
votes
2answers
331 views

Can't Uncompress JDK7 Zip FIle

I'm trying to download and install Java Development Kit 7 onto my Ubuntu machine. I've downloaded the file from Oracle (jdk-7u25-linux-x64.tar.gz) but when I try to uncompress the file using tar -xvf ...
0
votes
2answers
159 views

java 7 not installing because IP not found

Tried installing netbeans and eclipse but both give the following errors (is this caused because the server is down and will be restored soon? I've not been able to use apt-get to install the missing ...
0
votes
2answers
644 views

problem with install su jdk-7u1 in ubuntu

I finished some steps of installation of jdk-7u1 in Ubuntu 1.11 until below steps. after that step the terminal tells that there is nothing to configure. after that when I run a java file the terminal ...
2
votes
1answer
48 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
309 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
68 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
74 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
162 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
810 views

if I install JDK do I also need to install JRE

if I install JDK 1.7 do I also need to install JRE 1.7 to support Tomcat? I have installed the openJDK package and that seems to include JRE. java -version shows that java 1.7 has been installed
1
vote
1answer
400 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
177 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
43 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 ...
0
votes
1answer
86 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
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
165 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
347 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
2k 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
89 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
715 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
83 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
391 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
607 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
794 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
234 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 ...
1
vote
0answers
21 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
78 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
47 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
0answers
33 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
84 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
109 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
65 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
9 views

Running Vega - JDK/JRE Issue

(Subgraph Vega:7559): IBUS-WARNING **: The owner of /home/*******/.config/ibus/bus is not root! # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at ...
0
votes
0answers
23 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
28 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
445 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
538 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
0answers
40 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
62 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
504 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
223 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
31 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
91 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, ...
0
votes
0answers
42 views

How to increase permgen space of java in Ubuntu 13.04

How to increase permgen space of java in Ubuntu 13.04? I am using java Sun/Oracle JDK 6
0
votes
0answers
735 views

A fatal error has been detected by the Java Runtime Environment:

I installed ZendStudio 3 days ago. I run it with sudo ./ZendStudio command and every thing was OK but now when I run it with sudo command I get this error : administrator@lakestan:~/ZendStudio$ sudo ...