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

learn more… | top users | synonyms

0
votes
1answer
22 views

how to activate Java 8u51 plugin on Firefox?

Can you please advise. I tried to install Java 8u51 plugin. But I'm not able to activate it. Please see below what I get in terminal: $ java -version bash: /usr/bin/java: cannot execute ...
0
votes
1answer
18 views

Oracle JDK 8 is NOT installed

Recently I installed jdk1.8.0_51 on my Xubuntu OS, and now I need to install ant for pyhton-for-android package, but after running the following command : sudo apt-get install ant I get the ...
1
vote
0answers
16 views

Is there any problem with OpenJDK on Minecraft?

Mojang recommends using Oracle's JRE, but I see people using OpenJDK all the time. What are the advantages and disadvantages to using one or the other on Ubuntu, either in general or specifically as ...
1
vote
1answer
14 views

Unable to copy downloaded java from oracle web site to local?

I have downloaded java 1.8.0 to copy from downloads to /usr/local. And it does not get copied. What is the reason? as I m following this. And i am stuck at when it said "next, i copied this to local ...
1
vote
1answer
38 views

JRE Unmet dependencies, already have oracle JDK

I've installed a .deb package (which requires jre and I already have Oracle JDK) using the command sudo dpkg -i packagename.deb The app runs successfully, but there is an error message at the ...
0
votes
1answer
118 views

Can not install java jdk 8

I've installed ubunut 15.04 recently and I've tried to install java JDK 8 but I can not, and I don't know why. I have fallow all that commands: sudo apt-get install python-software-properties sudo ...
2
votes
3answers
157 views

How to update jdk 7?

I am using ubuntu 14.04 version, 64 bit. when I give java -version in terminal, I get : java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1) OpenJDK ...
0
votes
2answers
162 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 ...
0
votes
0answers
29 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
25 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
103 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 ...
0
votes
0answers
23 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 ...
1
vote
1answer
201 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
79 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
129 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 ...
0
votes
1answer
141 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 ...
0
votes
1answer
244 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
215 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
1k 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 "Android Studio" then it highly recommended me to ...
4
votes
2answers
874 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 ...
0
votes
0answers
120 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 ...
0
votes
0answers
16 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 ...
1
vote
0answers
80 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
167 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
20 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 ...
0
votes
1answer
158 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
146 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 ...
1
vote
2answers
313 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
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
303 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 ...
2
votes
3answers
197 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 ...
0
votes
0answers
174 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 ...
-1
votes
1answer
339 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
0answers
148 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
856 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 ...
0
votes
1answer
316 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 ...
0
votes
1answer
2k 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 ...
0
votes
2answers
68 views

Beginner Programming Issue with Javac

I am reading through an introductory book for Java programming and I am facing an issue from the get-go. I am told to run in the terminal javac Example.java. From that command, javac compiler is ...
0
votes
1answer
890 views

Java installation and Android Studio AVD problem

Android Studio doesn't open as root terex@Terminator:/android-studio/bin$ sudo ./studio.sh ERROR: Cannot start Android Studio No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME ...
0
votes
1answer
1k 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 ...
1
vote
0answers
868 views

libjvm.so: cannot open shared object file: No such file or directory

Trying to install the rJava package on R, on my 14.10 ubuntu, using this code if (!require(rJava)) install.packages('rJava') got few errors related to java including jni problems, after ...
0
votes
1answer
357 views

Installing JDK 8 after removing OpenJDK 7

I just removed OpenJDK at Ubuntu Software Center, and downloaded JDK 8 at official Oracle site, and installed with alien. But when I type java -version at terminal, it keeps returning ...
0
votes
1answer
161 views

JDK issue, terminal won't recognize commands (javac, javah ect) when JDK is installed.

Hi I installed JDK alongside Netbeans 8.0.1 and all the java commands are found in: /home/username/jdk1.8.0_31/bin and it's not recognized in the terminal when I type javac, javah ect. Can someone ...
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 ...
1
vote
1answer
161 views

“Oracle JDK 7 is NOT installed” error even though JDK is installed

I installed Java Jdk manually by downloading jdk-7u40-linux-x64.tar.gz and following this link. When I check its version, it's OK: user@mylaptop:~$ java -version java version "1.7.0_40" Java(TM) SE ...
0
votes
0answers
75 views

.JAR Files Not Running Right Ubuntu 14.04

Ive downloaded many different .jar files for Runescape private server clients, yet they will load up just fine but will turn into a black screen. Ive tried running the file with JDK 6 and 7, along ...
0
votes
0answers
152 views

Issue launching phpstorm, seems like a java problem

I just got my ubuntu enviroment setup 2 days ago. And im trying to install phpstorm, and adding it into the enviroment path. I downloaded the tar.gz file, unzipped it to /home/documents/IDE/phpstorm/ ...
1
vote
0answers
76 views

libjai-imageio-core-java in Ubuntu 14.04

It seems that libjai-imageio-core-java is missing on 14.04 (it is available on Ubuntu 12.04): http://packages.ubuntu.com/search?keywords=imageio&searchon=names Is there a replacement for this ...
-1
votes
1answer
458 views

installing a jdk and android studio after downloading its zipped folder

this is a common error whenever i try to install jdk, jre and android studio : error processing package oracle-java7-set-default (--configure): dependency problems - leaving unconfigured No apport ...