Questions tagged [jdk]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
17k views

install rxtx under JDK

A java developer who want to send SMS ,may use SMSLib project. SMSLib requires to set up : javacomm library (if it is windows plateform) rxtx library (if it is linux plateform ) by adding it in ...
Abdennour TOUMI's user avatar
10 votes
4 answers
65k views

"Oracle JDK 7 Is NOT installed" error?

I'm trying to install JDK7 on ubuntu 12.4. In the first try, the power has gone and the laptop shutdown in the middle of downloading JDK7 using terminal as I was using the next terminal commands ...
Salahuddin's user avatar
  • 4,811
1 vote
1 answer
60 views

Error when installing Netbeans

I need setup NetBeans on Ubuntu 12.04,but it got this error Please help me. Thanks everybody
kidsoul's user avatar
  • 21
2 votes
1 answer
75 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 (...
Thomas's user avatar
  • 143
2 votes
1 answer
434 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 * gcj-...
David Lionel Parker's user avatar
0 votes
2 answers
657 views

Where to write java programs on ubuntu?

I want on write java programs on ubuntu. I have java on my windows OS and I write programs in Notepad++ and compile and run it in command prompt. I installed java on ubuntu. What should I use to write ...
Sam's user avatar
  • 66
0 votes
2 answers
533 views

Is there a way to keep Oracle's JRE/JDK as the default JRE/JDK?

Okay here is my issue. Every time I install a .deb installer of a program that requires java. OpenJDK hijacks my system and sets it as default Java. I don't want to use OpenJDK, if I did I wouldn't be ...
enkilleridos's user avatar
3 votes
2 answers
19k views

How to detect if 32 or 64 bit JDK is installed?

How can I detect if 32bit or 64bit Java JDK (SDK) has been installed on my machine? I am running a 64bit Ubuntu.
ubuntico's user avatar
  • 2,802
2 votes
2 answers
6k 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 ...
Qwertie's user avatar
  • 886
6 votes
1 answer
19k views

JAVAC is not in the jdk path but java -version says JDK is installed

When I type javac in the terminal, this is what I get: The program 'javac' can be found in the following packages: * default-jdk * ecj * gcj-4.6-jdk * openjdk-6-jdk * gcj-4.5-jdk * openjdk-7-jdk ...
Boel's user avatar
  • 163
1 vote
1 answer
13k 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 have ...
giacomotb's user avatar
  • 209
0 votes
1 answer
40 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 ...
user216998's user avatar
1 vote
1 answer
271 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 ...
user72708's user avatar
  • 222
7 votes
1 answer
21k 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
glyn's user avatar
  • 71
0 votes
2 answers
126 views

How to download JDK for Android programming [duplicate]

I'm using Ubuntu 12.04 64 bit. I'm going to start programming for android devices. I know that I will need to install a JDK, but I don't have access to oracle.com. How do I get it?
M N's user avatar
  • 165
0 votes
1 answer
326 views

How do I install a newer version of Oracle JDK?

Using the guide here: http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux I have installed Oracle's JDK because it has a few features that are not present in OpenJDK. Now, there some new ...
An SO User's user avatar
0 votes
2 answers
427 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?
Wyatt's user avatar
  • 1
1 vote
1 answer
1k views

NetBeans Hangs on New Project Creation

When creating a New Project in NetBeans, it hangs on the creation screen; I'm running Netbeans 7.0.1 on Xubuntu 13.04. Java -version prints: java version "1.7.0_25" OpenJDK Runtime Environment (...
John J Johnson's user avatar
3 votes
1 answer
13k views

Unable to change execute permissions of .sh file [duplicate]

I'm out with a new problem. I've downloaded a jdk7.sh file. Now I'm unable to change the permission of the file to allow executing the file as a program. I mark the check box and again it disappears.
Siddharth Gurung's user avatar
0 votes
1 answer
2k 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 ...
Artisan's user avatar
  • 599
0 votes
1 answer
835 views

Will 64-bit version of Java JDK work on 64-bit machine running 32-bit version of Ubuntu?

I have a 32-bit version of Ubuntu 13.04 running on my 64-bit machine. I'm planning to install the 32-bit version of Eclipse 4.3 but I need to install Java JDK first. I've had problems finding 32-bit ...
pyler's user avatar
  • 181
0 votes
1 answer
418 views

Will removing Open JDK stablize crashing ubuntu?

I'm running Ubuntu 13.04 on an asus zenbook. Mostly this performs very well and I'm quite happy with it but when using Eclipse 3.8 I'm having problems which sometimes crash my whole system. This is ...
James's user avatar
  • 707
2 votes
2 answers
686 views

search command for packages in Ubuntu terminal to search updates and patches of the package specifically

Can I know what is the command to search any package using the terminal, if I only know the name of the Software like, if I want to search VLC or JDK,JRE.. etc If I do not know what is the url where ...
Shadab K's user avatar
  • 154
0 votes
1 answer
2k 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.
lokesh's user avatar
  • 1
1 vote
1 answer
1k 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
Débora's user avatar
  • 629
2 votes
0 answers
181 views

Error while running Java in Eclipse [closed]

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: # # ...
Siddharth Gurung's user avatar
0 votes
2 answers
1k 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 ...
nbk's user avatar
  • 101
0 votes
2 answers
199 views

Which Java installation for Linux

In the official website for download I can see two links for JDK for Linux. Which one should I choose on my Ubuntu 12.04 ? http://javadl.sun.com/webapps/download/AutoDL?BundleId=78694 or http://...
Varun's user avatar
  • 1,969
1 vote
1 answer
5k views

Eclipse only starts with sudo command from terminal

I have to start by saying that I have just switched to Ubuntu from Windows and I am new to Linux in general. Coming from Windows, I really am not familiar with how exactly the permissions work, the ...
androidu's user avatar
  • 121
1 vote
1 answer
2k views

How to intall Oracle JDK 32bit on Ubuntu 12.04 64bit along side the 64bit oracle jdk

I'm trying to transfer to 64 bit Ubuntu 12.04 from 32 bit Ubuntu 12.04. ADT for eclipse and the Android SDK requires 32bit Java but I would like to keep the 64 bit Java that I just got installed to ...
John's user avatar
  • 691
33 votes
1 answer
59k views

installed jdk by and have Error: Could not create the Java Virtual Machine

I am getting my new laptop going and went to install the latest oracle JDK 7u25. I followed the instructions on this site to do it. Afterwards when I type java --version in the terminal I get the ...
John's user avatar
  • 691
1 vote
1 answer
7k views

Install 32-bit version of Oracle JDK 7 on a 64-bit Ubuntu?

I am using https://askubuntu.com/a/61873/23678 to install the 64-bit version of Oracle JDK 7 under Ubuntu 64-bit. Is there a way to tweak this mechanism to install the 32-bit JDK instead? If not, how ...
Gili's user avatar
  • 1,285
4 votes
3 answers
94k 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 ...
ur truly friend's user avatar
1 vote
0 answers
81 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. ...
Taha's user avatar
  • 11
0 votes
1 answer
172 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 ...
Jinstin's user avatar
16 votes
3 answers
59k 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 ...
Dr.Haribo's user avatar
  • 263
0 votes
1 answer
812 views

Installation of a second Java SDK

I have Java sdk 1.7 installed correctly. It turns out I need the version of 1.6 also (an application needs it). How do I install the version of 1.6 and how do I make sure that we'll both work ...
Alan Coromano's user avatar
16 votes
3 answers
51k views

Netbeans install error: The specified jdk folder does not contain jdk

During installation of Netbeans 7.3 I got this message the specified jdk folder does not contain jdk I have openjdk 7 installed on my system using apt-get. I tried to specify the path to /usr/lib/...
Nabil's user avatar
  • 2,142
15 votes
1 answer
72k 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 etc/...
Alex Malex's user avatar
  • 2,632
0 votes
2 answers
408 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 ...
Nav's user avatar
  • 1,059
0 votes
1 answer
569 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. ...
SeMa's user avatar
  • 111
1 vote
1 answer
354 views

JavaDocs with netbeans 7.3 not showing help incode

I am running Ubuntu 12.10, I installed netbeans 7.3 full package and the javadocs are not found. I have tried to use the docs from online by going into Java Platform and adding the URL but then they ...
user avatar
0 votes
1 answer
1k 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: "sybreed@sybreed-...
Sybreed's user avatar
2 votes
1 answer
7k views

How can I remove my current JDK and install default JDK? [duplicate]

I have Ubuntu 12.10 x64 installed on a virtual device (VMware workstation) on a host system Windows 8. I downloaded android source code. I wanted to build it, and it says: Checking build tools ...
Matej Kranjec's user avatar
0 votes
1 answer
2k 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 ...
Prahlad Yeri's user avatar
  • 1,657
5 votes
5 answers
20k views

Install JDK in Ubuntu

I am trying to install oracle jdk7 64bit on my computer. I found this How do I install Oracle Java JDK 7? It uses update-alternative -install to install the JDK which is new to me. I used to only ...
hguser's user avatar
  • 295
41 votes
6 answers
209k views

Setup and install IntelliJ with JDK

Is there any scripts for downloading and installing IntelliJ with JavaJDK or OpenJDK? I don't know how I did it before using Ubuntu 12.10 but I'm now on a fresh 13.04 install and I have been looking ...
spences10's user avatar
  • 2,592
85 votes
4 answers
200k 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 `/...
Wingsuit's user avatar
  • 969
0 votes
2 answers
3k views

How to configure JDBC, Tomcat for Eclipse IDE on my Ubuntu 12.04

I got an eclipse IDE on my client's machine. He needs to configure JDBC, and Tomcat on this IDE to use for his Java projects. Kindly help. He got mysql installed right now.
user1900238's user avatar
1 vote
0 answers
84 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 ...
ahhmarr's user avatar
  • 111

1
8 9
10
11 12