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

learn more… | top users | synonyms

1
vote
0answers
10 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
24 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 ...
0
votes
0answers
21 views

Updating Java8 JDK [closed]

Ok, I know this problem has been asked countless times and there's several different ways to get this done, but I'm running into an issue I'm not entirely sure how to correct. To this point, I've ...
1
vote
1answer
54 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
96 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
58 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
2answers
90 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
56 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
148 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 ...
0
votes
0answers
68 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
187 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
138 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
306 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
47 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
372 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
287 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
374 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
233 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
90 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
1answer
847 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
123 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
39 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
101 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/ ...
0
votes
0answers
36 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
266 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 ...
0
votes
0answers
47 views

oracle-jdk and open-jdk simultaneously on ubuntu machine

I have an oracle-jdk8 installed on my ubuntu 14.04 and i use it for android development, also I need open-jdk or jdk7 for scala because apparently scala has some issues with jdk8. So I was wondering ...
0
votes
0answers
264 views

Install jstack without the entire openjdk-7-jdk bundle

I am wondering if it is possible to install jstack without the entire openjdk-7-jdk bundle. So far, I have a process to manually copy of the following folders and binary from an existing installation ...
0
votes
1answer
307 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
259 views

install jdk-7u71-nb-8_0_2-linux-i586.sh [duplicate]

I have downloaded JDK 7u71 with NetBeans 8.0.2 from http://www.oracle.com/us/technologies/java/jdk-7-netbeans-download-432126.html. I want to know how to install jdk-7u71-nb-8_0_2-linux-i586.sh on ...
0
votes
1answer
146 views

Can not launch Android Studio

Showing the message 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. how can i solve it show me how install jdk properly
1
vote
1answer
1k views

Installing java 8:update-alternatives: error: alternative path /usr/lib/jvm/jdk1.8.0/bin/java doesn't exist

I know this question might seem like a duplicate question, but I think its not. I'm trying to install java 8 on my ubuntu 14.04 LTS. I have tried many method, but nothing worked for me. So I ...
1
vote
1answer
493 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
294 views

How to downgrade Java. For example Java 7u72 to 7u67

How can I downgrade java 7 to update 67 as suggested by this Check Point issue? I need this to install Check Point VPN. I have to install Java 7u67. How can I do it? How can I install specific ...
0
votes
1answer
115 views

getting different version of java in ubuntu

I am getting different version of java when i run java -version and javac -version. for java-version iam getting java -version java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.3) ...
0
votes
0answers
54 views

Problems with Eclipse GUI

Sometimes, without any evident pattern, Eclipse fails to render some stuff. I can't give much more information because the problem is difficult to reproduce, even if it appears often, and also even ...
0
votes
1answer
60 views

Cannot install java?

Edit: This is Ubuntu 13.04 Before I begin, I've seen this question around, sudo apt-get install openjdk-7-jdk It tells me ... ect .. ect (Failed to fetch) Failed to fetch ...
1
vote
1answer
331 views

can't set up java for R under ubuntu 14.10

Problem: before upgrading, under Ubuntu14.04, I just installed the default JRE and JDK, and R 3.0.2 (the default for that rev of Ubuntu),and sucessfully ran R CMD javareconf. However, since ...
1
vote
2answers
101 views

jar files not working

In terminal when try to run jar file it doesn't launch. I have recently uninstalled open jdk 6 to save some space if that matters. abe@abe-Dimension-8400:~/Desktop$ java -jar Minecraft.jar I use ...
0
votes
1answer
54 views

Unable to Clean boot disk space

I use a sony vaio and Ubuntu 14.04 LTS. I want to install Windows 7 and whenever I insert a bootable usb drive, Error occurs. It says that 693 MB of boot disk space require. How to clean boot disk ...
0
votes
2answers
77 views

Installing Programs, ie Java 8 jdk [duplicate]

I am trying to migrate from Windows to Linux. Why is so difficult for beginners to install programs to a linux computer. Starting to miss the self extracting executable programs in Windows. I have ...
0
votes
1answer
218 views

I can't install openJDK 7 in ubuntu 12.10 (32-bit)

Using Ubuntu Software Center I tried to install OpenJDK 7 but got the following notification. **Package dependencies cannot be resolved** This error could be caused by required additional software ...
0
votes
1answer
124 views

installing jdk8 in ubuntu 12.04

I am completely new to Ubuntu and I want to install jdk8. I downloaded the jdk-8u25linux-x64.tar.gz file from their website, but I wanted to follow a lot youtube videos but somehow I cannot follow ...
0
votes
0answers
23 views

java installation not sucessful on ubuntu 14.04

I tried to install java from terminal but failed to install and got error like dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
1
vote
1answer
107 views

SIGBUS error with JRE when using eclipse

I encountered a SIGBUS error when starting up eclipse. There was nothing wrong before this, I've just turned on the laptop and the error appears: $ eclipse # # A fatal error has been detected by the ...
0
votes
0answers
258 views

Eclipse Luna(4.4.1) can't find the JRE for jdk1.8u25

I recently installed jdk1.8u25. The java codes are working fine in the terminal but in eclipse it is not working. Can anyone give any solutions for this?
1
vote
2answers
302 views

Can't figure out how to run eclipse (missing JDK/JRE)

I'm very new to Linux and coding, I'm really interested in learning and really want to contribute to this process here at Ubuntu as soon as possible. I downloaded Eclipse Luna. When I try to run it ...
0
votes
1answer
49 views

all command in jdk/bin can not execute

for example i type jmap in terminal, it will show: The program 'jmap' can be found in the following packages: * openjdk-6-jdk * openjdk-7-jdk Try: apt-get install <selected package> ...
0
votes
0answers
86 views

How to set the path to xstream in Ubuntu 14.04

I am using Ubuntu 14.04, and installed my version of jdk using sudo apt-get install openjdk-7-jdk Now I installed xstream 1.4.7, but whenever I compile any java files using the package, I get an ...