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

learn more… | top users | synonyms

0
votes
4answers
96 views

Oracle's JDK won't install

After downloading jdk-7u45-linux-x64.tar.gz and moving it to my own folder ~/java, I followed their steps here: http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html I apparently ...
0
votes
2answers
76 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
218 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
9k 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
132 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
521 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 ...
1
vote
1answer
37 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 ...
1
vote
1answer
172 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
172 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
61 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
45 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
621 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
18 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
64 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
1k views

How to install JDK 7u25 & NetBeans IDE 7.3.1 on Ubuntu 13.04?

I have downloaded jdk-7u25-nb-7_3_1-linux-x64.sh and netbeans-7.3.1-linux.sh. I installed JDK (which is bundle with NetBeans Base IDE) using sudo sh jdk-7u25-nb-7_3_1-linux-x64.sh I chose the ...
0
votes
1answer
525 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
320 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
0
votes
1answer
71 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
311 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
560 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
916 views

Netbeans 7.0.1 error on Precise

Today, I installed openjdk and netbeans packages on my ubuntu 12.04 notebook from the synaptic package manager to learn some java. javac (compiler) and jvm are working fine. However, when I add a ...
0
votes
1answer
540 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
214 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
88 views

Problem downloading Oracle JDK 7

I'm using Ubuntu 12.04 LTS. I'm trying to install Oracle JDK 7. When I tried to directly download the jdk-7u51-linux-x64.tar.gz from the official website, the download started and after downloading ...
2
votes
0answers
117 views

Error while running Java in Eclipse

I'm getting an invalid error while creating project name of Java in Eclipse. I hope you suggest me any solution to it. Error: # # A fatal error has been detected by the Java Runtime Environment: # # ...
1
vote
0answers
20 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
90 views

Crash sts ubuntu 13.10

I use Spring Tool Suite for develop a java program, I have installed JDK1.6.0_45. I have ubuntu 13.10 but when the project run the STS crashed. # # A fatal error has been detected by the Java Runtime ...
1
vote
0answers
99 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
0answers
77 views

What is the best way to construct Java EE application deployment environment on Ubuntu?

I'm a Java developer and I don't get familiar with Linux especially Ubuntu. For the past 2 weeks I've worked in transforming our Java EE appliaction deployed from Windows platform to Ubuntu, including ...
1
vote
0answers
102 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
71 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
63 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
36 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
56 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
83 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
25 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
44 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
748 views

Setup JDK for android studio

I was setting up android studio and got this So I followed the answer here and used sudo update-alternatives --set java /usr/local/java/jdk1.7.0_17/jre/bin/java sudo update-alternatives --set ...
0
votes
0answers
22 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
700 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 ...
0
votes
0answers
503 views

What does “cannot execute binary file” mean after I installed JDK in Ubuntu

I follow the steps by this link : http://www.webupd8.org/2011/09/how-to-install-oracle-java-7-jdk-in.html But after I typed: sudo update-java I get an error: ben@bensUbuntu:~$ sudo apt-get install ...
0
votes
0answers
140 views

can not install jdk in ubuntu 12.04

I have recently install ubuntu 12.04, I want to install netBean 7.3. so I need to install jdk, to install jdk I have downloaded file from synaptic package manager. Then I install jdk using synaptic ...
0
votes
0answers
210 views

how to set “open jdk 7” as default application to opening a “.jar” file in ubuntu 13.04?

I want to open a ".jar" file that need to set "open jdk 7" as default. But apparently in ubuntu 13.04 is no way to set "open jdk 7" as default. I can not find "open jdk 7" in "other applications" ...
0
votes
0answers
204 views

Getting error when trying to install java

I go to terminal and put in: sudo add-apt-repository ppa:webupd8team/java then I get this: administrator@administrator-laptop:~$ sudo add-apt-repository ppa:webupd8team/java Executing: gpg ...
-1
votes
0answers
23 views

“JAVA_HOME is not defined correctly” error while executing ant

I have uninstalled ant in my Ubuntu but when typing ant I am getting the error. I want to completely uninstall Ubuntu source files also I want to rectify this error: Error: JAVA_HOME is not defined ...