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

learn more… | top users | synonyms

2
votes
3answers
39k 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
1answer
1k views

Netbeans 7.2 Missing Modules Warning

Everytime I start Netbeans and the splash screen shows up when it gets to the part to load the modules I receive the following error message : Warning - could not install some modules: Editor ...
0
votes
2answers
22 views

OpenJDK vs. Oracle JDK for Android Studio

When I run Android Studio with OpenJDK installed I get a warning recommending the use of Oracle JDK. Is Oracle JDK actually better or is it fine to just stick with OpenJDK? Installing Oracle JDK seems ...
13
votes
9answers
41k views

How do I make java default to a manually installed JRE/JDK?

I have Ubuntu 12.04 amd64 installed on my machine, on the previous versions of Ubuntu it was deadly easy, now there is this command update-java-alternatives with a really bad man page. I just have my ...
0
votes
0answers
15 views

Broken Packages Issue while installing JDK on Ubuntu 14.04

I am having issues while trying to install JDK on Ubuntu 14.04. Following is what I see: araj1@araj:~$ sudo apt-get install openjdk-6-jre Reading package lists... Done Building dependency tree ...
0
votes
1answer
15 views

How to backup Exception Site List in Java Control Panel?

I'm backing up my laptop before formatting and re-installing it. I would like to back up the "Exception Site List" in the Java Control Panel so I will not have to re-insert all sites again. The ...
0
votes
0answers
37 views

Ugly/Non Anti-Aliased fonts in Java-Swing Applications

I've recently switched to Ubuntu and I've installed Oracle's Java JDK 8u45 (32 bit) using the webupd8team/java repository. Everything seems to be working fine except that the Java-Swing applications ...
-1
votes
0answers
53 views

how to install sql developer on ubuntu 15.04

Please how to install sql developer on ubuntu 15.04 and thanks I followed some tuto at internet but it didn't work for me.. so I want to remove all jdk and sql developer files from ubuntu 15.04 and ...
0
votes
0answers
19 views

Policy tool always wants to open!! Halp

When I was still using 14.04(a couple weeks ago this started), Minecraft just decided, hey, why don't I just use policy tool to open myself and hide everything else related to OpenJDK! So I can't find ...
32
votes
7answers
51k views

'tools.jar' is not in IDEA classpath

I am a new user of Linux, it has been recommended to me by my friend. He told me to install software called IntelliJ Idea IDE. Well I have been following the tutorial. But now when I try to open ...
1
vote
1answer
80 views

bash: /usr/bin/java: No such file or directory

i have installed jdk1.8.0 manually from the oracle website. i have followed the steps written in this website. At last when i executed java -version command i got this result:- bash: /usr/bin/java: ...
0
votes
0answers
50 views

Minecraft keeps crashing on every version of Java Runtime

I've tried running Minecraft with Java and it wouldn't open, I tried with 7 and 8 but both would crash every time I tried playing, what can I do at this point?
1
vote
1answer
73 views

64-bit java not working

I feel like this should just naturally work, but for some reason it isn't. I've gone through the following guide How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE? And it seems that ...
12
votes
3answers
21k views

“No such file or directory” when invoking java

I'm trying to re-install Oracle JDK 7 32 bit to 64 bit Ubuntu (previously 64 bit JDK was installed). JDK is currently present at /usr/lib/jvm/jdk1.7.0. I invoke sudo update-alternatives --remove ...
1
vote
1answer
6k 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
54 views

Specifying JDK in eclipse.ini not being used

I've got multiple JDKs on my system (14.04 LTS), JDK 6, 7, 8 - all Oracle. The JDK 8 is the one picked for update-alternatives. However, the Java project I'm working on requires JDK 7. I've got a ...
9
votes
2answers
39k 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
449 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
138 views

Octave jdk and ubuntu 15.04

i need to install I/O package so i need to install jdk and set the path java home as seen here ...
2
votes
1answer
133 views

Ubuntu DPKG error

E: The package jdk1.8.0-45 needs to be reinstalled, but I can't find an archive for it. Above is the message i get while trying to run the upgrade command in Ubuntu as follows : sudo-apt-get ...
0
votes
1answer
552 views

How to path set in Ubuntu 15.04 of Java , download the version of java-8-oracle?

I am new to Ubuntu.Recently we changed my OS to Ubuntu 15.04 . I am installed java-7-openjdk-i386 from "Ubuntu Software Center " and when I use the "Andriod Studio" then it highly recommended me to ...
4
votes
2answers
418 views

Problem with Java while trying to run pycharm-community-4.5

I've just installed pycharm-community-4.5 into my Ubuntu 14.04 (64 bit). After installing I ran the command /opt/pycharm-community-4.5/bin$ ./pycharm.sh to run pycharm but the terminal showed me some ...
337
votes
23answers
558k views

How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?

I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java ...
0
votes
0answers
98 views

Installing JDK 32 bit on 64 bit machine through wine

I am trying to install 32 bit JDK through wine but it encounters an error. When installing 64 bit JDK it installs it, but when i search it in the specified folder it isn't showing. Any idea how to ...
1
vote
2answers
2k views

Installation of SAP GUI 740 on Ubuntu 14.04

I need your help! I have the following version of JRE installed on my system: java version "1.7.0_75" OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1) OpenJDK 64-Bit Server VM ...
0
votes
0answers
13 views

Having trouble downloading jdk8 in 64 bit ubuntu

The jdk8 file is 165 MB. It takes some half an hour to download,but as soon as the download gets complete, it says download failed. When I click on retry, it gets downloaded immediately with 6.5kb ...
2
votes
2answers
3k 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 ...
10
votes
3answers
40k 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
0answers
57 views

Android studio. java.lang.runtime.exeption [closed]

Recently i moved to Ubuntu and i was able to use android studio without any problems then i had to reinstall ubuntu and now when i try to lunch android studio this message pops up Internal error. ...
0
votes
1answer
104 views

Installing JDK with wine

So I have installed Unity3D with wine and it works but when i try to build it says "Unable to find suitable JDK installation". I have installed JDK and it works with Android Studio. I think the ...
1
vote
0answers
18 views

Unable to execute java programs on ubuntu 14 studio lite

I recently installed ubuntu 14.04 studio lite 32 bit. I have java apps that I created using netbeans 8/open jdk 1.7. They run fine using the netbeans debugger. However when I create the tar, it can't ...
1
vote
2answers
250 views

Running into an error while installing Android Studio

So I am working on installing android studio onto Ubuntu 15.04. I followed the guide here at http://android-er.blogspot.com/2014/07/install-oracle-jdk-8-on-ubuntu-1404.html to install the JDK and ...
0
votes
1answer
121 views

Java install does not work

I am unable to run java after installing it. I'd appreciate troubleshooting help. Info: ⠀Ubuntu 14.04 LTS ⠀Acer Aspire V5 with AMD A4 processor ⠀Used Oracle 64-bit Linux version ...
1
vote
1answer
111 views

Removing Oracle JDK and re-configuring update-alternatives

Please check the scenario below: sudo update-alternatives --config java There are 5 choices for the alternative java (providing /usr/bin/java). Selection Path ...
0
votes
0answers
14 views

Disable Auto Update JDK 7 Ubuntu 14.04 [duplicate]

I have installed JDK 7 in Ubuntu via following commands sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install ...
0
votes
0answers
33 views

Big Challenge! Need Help installing an Open-source Software [duplicate]

Hi Ubuntu Community, I am new here and I need a helping hand. I am learning to use an open-source software, but I am having trouble installing it in Ubuntu 14.04 64-bit. The Open Foris Plataform ...
1
vote
2answers
201 views

Javafx is not on the default classpath even with Oracle JDK 1.8

I recently installed Oracle JDK 1.8 on my Kubuntu Linux machine following this guide. I did the manual install because I couldn't get the easy one to work. If I've understood correctly, javafx should ...
0
votes
1answer
752 views

Missing tools.jar (Android Studio)

The command $ ~/android-studio/bin/studio.sh says 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I have searched for the solution ...
0
votes
0answers
113 views

Setting JAVA environment variable [duplicate]

I am setting up new Ubunut machine. Stuck on setting up Java environment variable. I have tried all possible way and whatever solution I found here. None of them worked. It is still giving me blank ...
0
votes
2answers
154 views

Installing Java 8 and Setting environment variables

I just completly shifted to Ubuntu from Windows 7. I am a java developer and now I need to install Java 8 JDK and JRE. I installed 64 bit ubuntu 14.04.02 and it seems like there are lot of ways to ...
-1
votes
1answer
255 views

The package jre1.8.0-40 needs to be reinstalled, but I can't find an archive for it

I tried to install JDK using rpm package jdk-8u40-linux-x64.rpm. used command sudo alien -i jdk-8u40-linux-x64.rpm. But i am getting below error. The package jdk1.8.0-40 needs to be reinstalled, but ...
1
vote
1answer
700 views

Android Studio Desktop Entry shows “OpenJDK shows intermittent performance and UI issues.”

On Ubuntu 14.04 I recently installed Android Studio v1.0.1 and noticed that it warns against using the OpenJDK due to "intermittent performance and UI issues." As recommended, I installed the Oracle ...
0
votes
1answer
580 views

How to set new JDK home in NetBeans IDE after Java update (NetBeans IDE refuses to start)

This is a question which will help you through what to once you have realised that after updating your Java version, NetBeans IDE refuses to launch. And even after updating your $PATH variable in your ...
1
vote
1answer
3k 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
0answers
128 views

Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.214.140|:443… failed

I am running the following command sudo apt-get install oracle-java7-installer however I am receiving the following error Downloading Oracle Java 7... --2015-03-10 08:13:35-- ...
0
votes
1answer
641 views

Error installing oracle-java8-installer from webup8team ppa

Does anyone know how to fix this? First I did: sudo add-apt-repository ppa:webupd8team/java Then I did: sudo apt-get update And then: $ sudo apt-get install oracle-java8-installer Reading ...
0
votes
1answer
251 views

Android KitKat build on Ubuntu 14.04, Wrong JDK

I am trying to build Android-x86 KitKat branch from android-x86.org on an Ubuntu 14.04 64-bit machine. However, when I run make it doesn't run very long until there is an error which halts ...
1
vote
2answers
1k 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
1answer
1k views

How to uninstall manually installed java? (jdk 8) [duplicate]

I am using Ubuntu 14.04 LTS 64 bit and installed the wrong version of Sun/Oracle's Java JDK (32 bit instead of 64 bit) using the Ask Ubuntu Post I assume I have to uninstall it now. How can I do ...