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

learn more… | top users | synonyms

2
votes
1answer
51 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 ...
2
votes
1answer
351 views

java MainServer gives java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0

Compiling is easy but when using java to run the programs, it gives Exception found. I am using Ubuntu 12.04 without internet connections. Also, installed Oracle JDK7 and JRE7. Also did the ...
1
vote
1answer
554 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 ...
1
vote
1answer
2k views

JDK 8 Installation for Ubuntu 14.04 (Android Studio & NetBeans)

I downloaded jdk-8u11-nb-8-linux-i586.sh and installed it in my home folder. Then I install NetBeans, it is successful I think because I can compile my java code using netbeans. Now when I install ...
1
vote
1answer
170 views

Eclipse IDE hello world problem

I'm having problems running a simple java program "Hello world" i had installed the Eclipse Java EE IDE from eclipse site and before it i had installed jdk btw im using ubuntu 14.04 Any ideas ...
1
vote
1answer
240 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
1answer
565 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
1
vote
1answer
180 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
16 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 ...
0
votes
1answer
92 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 ...
0
votes
1answer
63 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
1answer
480 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
423 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
1answer
395 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
154 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
0
votes
1answer
381 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
257 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
1k views

Eclipse Kepler crashes on Ubuntu 14.04 when using WindowBuilder

I'm using Ubuntu 14.04 and with a lot of problems I have to face daily with this OS, there is another recent one. Problem: Whenever I try to use Eclipse's WindowBuilder to design SWING GUIs, after a ...
0
votes
1answer
1k views

Eclipse can't find Java after upgrade to 14.04

After upgrade to Ubuntu 14.04 Eclipse 3.8 can't find any installed Java VM. I have the Sun JDK 1.7 and the openJDK7 installed. I have tried modifying the eclipse.ini to point it to one of the ...
0
votes
1answer
427 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
930 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
19 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
117 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 ...
3
votes
0answers
279 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
375 views

Unable to start topcoder arena in Ubuntu 14.04

When I want to clear cache using javaws - viewer these error comes. I am trying to launch my topcoder arena. Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Exception in ...
1
vote
0answers
15 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
0answers
516 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 ...
1
vote
0answers
189 views

use jdk1.8.0_20 which comes with Netbeans also for Aptana

I just installed Netbeans 8 with jdk1.8.0_20. Which is working fine but a little bit slow. So I figured why not try Aptana Studio but Aptana website states that openjdk is not supported. Can I use ...
1
vote
0answers
57 views

Eclipse dosn't see JDK

I had installed Eclipse and it was working well few days ago. Now I can't create Java project, there is no such option and in the Eclipse Preferences there is no mention about the word Java. I was ...
1
vote
0answers
170 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
73 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
67 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
43 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
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 ...
0
votes
0answers
85 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
0answers
44 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
113 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
42 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 ...
0
votes
0answers
55 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
333 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
0answers
61 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
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.
0
votes
0answers
266 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?
0
votes
0answers
92 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 ...
0
votes
0answers
1k views

Problems installing Oracle java 1.8

I'm running Ubuntu 14.04. I'm trying to install Oracle java 8. I downloaded the .rpm file published by Oracle: jdk-8u20-linux-x64.rpm and then ran the following commands trying to install it: $ ...
0
votes
0answers
111 views

Specifying path to java interpreter while installing Java Wireless Toolkit

I have already installed JDK. I could run java programs through command line as well as through Netbeans IDE. Now I want to install java wireless toolkit. I have downloaded the "*.bin" file from ...
0
votes
0answers
129 views

Unable to share desktop while using Webex

While using WebEx, I am not able to share desktop. An error message shows that "Java is not enabled", but I've installed jdk7.4. I am using Ubuntu 13.10.
0
votes
0answers
140 views

Update-alternatives creating symlink to directory instead of file

I ran update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_11/bin/java 100 It is creating symlink named java to /opt/jdk/jdk1.8.0_11/bin/ instead of /opt/jdk/jdk1.8.0_11/bin/java inside ...
0
votes
0answers
2k views

How do I install Eclipse Luna and JDK8 to work in Ubuntu Studio using XFCE?

I tried following guides online to install Eclipse, but I'm not sure if it was supposed to work for my distro. I'm also unsure if openJDK 8 is the same thing as JDK8 for linux and whether or not it's ...
0
votes
0answers
87 views

error showing: unable to launch “ PATH=…” X session ---, falling back to default session

When I logged in after successfully installing jdk 1.8.0_05 on Ubuntu 14.04 it says: :unable to launch "PATH=/usr/local/sbin ...... X session --- ...