Is a free and open source implementation of the Java programming language. It may be installed from the software centre.

learn more… | top users | synonyms

0
votes
3answers
726 views

Installing OpenJDK on (chr)Lubuntu 14.04 on Acer C710

Completely new to Linux, bear with me. I've just this morning succeeded in getting Lubuntu on my Acer C710, thanks to the wonderful script over here. I'm trying to see how Minecraft will run, which ...
0
votes
2answers
1k views

Netbeans installation doesn't work

While trying to install Netbeans 8.0 in my Ubuntu 14.04 I get the following error: Can`t initialize UI Running in headless mode Exception: java.awt.HeadlessException thrown from the ...
1
vote
1answer
791 views

Set All .jar FIles As Executable

I run Java programs alot on my computer. It runs the latest version of OpenJDK, which is OpenJDK 7. When I try to run a .jar file, it gives me an error saying that the .jar file was not marked as ...
11
votes
3answers
45k 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 ...
56
votes
5answers
110k views

How to install OpenJDK 8 on 14.04 LTS?

IMPORTANT: If you need this backported to 14.04, vote for this bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628 Java 8 is now available according to ...
1
vote
2answers
433 views

How to install openjdk on a machine without internet connection? Ubuntu 12.04

First excuse me as I am a newbie... I'm using Ubuntu 12.04 without an internet connection. I have the ISO file of the installation already mounted. Correct me if I'm wrong, but the java setup files ...
3
votes
1answer
3k views

Error running Java web application with OpenJDK Java7 runtime in Ubuntu 14.04

I have fresh Ubuntu 14.04 install on my HP Pavilion g6 laptop. I have installed OpenJDK and IcedTea plugin in order to run Java applications as explained here. But when I am going to chess.com ...
2
votes
3answers
2k views

Aptana Studio 3 doesn't work after upgrade from Ubuntu 12.04 to 14.04?

When I upgraded from Ubuntu 12.04 to 14.04 Aptana Studio 3 doesn't work any more. When I try to open it after a few minutes it just closes, but when I open it in the terminal I got this error massage. ...
0
votes
1answer
2k 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 ...
1
vote
2answers
8k views

Juniper network connect on Ubuntu 14.04 cannot find 32 bit Java

I have Ubuntu x64 and trying to install Juniper network connect. Installed 64bit jre/jdk, icedtea and 32bit jre sudo apt-get install openjdk-7-jre icedtea-7-plugin sudo apt-get install ...
0
votes
1answer
801 views

How to install Eclipse for Oracle Java on Ubuntu 12.04

I have Oracle Java 7 on my system and want to install Eclipse and make it use Java 7 instead of openjdk. I installed Eclipse earlier using synaptic but after doing check updates it didn't work ...
1
vote
0answers
212 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
1answer
605 views

How to remove openjdk 6 from ubuntu 13.04? [closed]

When I do sudo apt-cache search openjdk I got: default-jdk - Standard Java or Java compatible Development Kit default-jdk-doc - Standard Java or Java compatible Development Kit (documentation) ...
0
votes
0answers
27 views

Installing Android Studio in Ubuntu 12.04 [duplicate]

I am trying to install Android Studio in Ubuntu 12.04 following the directions from here: http://developer.android.com/sdk/installing/studio.html#Updating. When I run studio.sh from ...
14
votes
1answer
20k views

OpenJDK - Oracle is better? [closed]

From http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux Type/Copy/Paste: java -version . If you're having OpenJDK Runtime Environment (IcedTea6 1.10pre) (7b15~pre1-0lucid1) OpenJDK 64-Bit ...
1
vote
2answers
93 views

Installing OpenJDK 7 didnt install javac

I am very new to using the linux operating system and I'm currently using Ubuntu 13.10 coming off using windows for my whole life. I have been trying to get java development kit installed so I could ...
17
votes
5answers
18k views

Replace openjdk with oracle-jdk on Ubuntu

I have an ubuntu system and I want to replace my openjdk with oracle-jdk. However if I remove my open-jdk and then install oracle-jdk, when I try to install some packages they want to install ...
1
vote
3answers
4k views

how to install openjdk

When I try sudo apt-get install openjdk-7-jdk I got a message telling me that the package could not be found in database. I guess I'm missing repositories. here's the content of sources.list ...
1
vote
1answer
6k views

OpenJDK 7 Installation trouble on 10.04 [closed]

I added the following common personal package archive as follows: sudo add-apt-repository ppa:openjdk/ppa sudo apt-get update The update goes well, but when I try to install the openjdk-7-jdk it ...
0
votes
2answers
98 views

Switching to Java 7

I have both java-6-openjdk and java-7-openjdk installed on my machine. When I check the version, I get java version "1.6.0_27". I want to run java 7 but don't really know what all I have to change to ...
0
votes
1answer
1k views

Cannot run maven2 on Linux Ubuntu 12.04

I am trying to compile a program using maven in my Linux 12.04. In order to do, I use the mvn clean install command. However I get a build error: [ERROR] Unable to locate the Javac Compiler in: ...
0
votes
1answer
581 views

Ubuntu 13.10: Upgrade interrupted because of openjdk-7

I was running an apt-get upgrade (not version upgrade, just normal), when I got this message: You might want to run 'apt-get -f install' to correct these. The following packages have unmet ...
-1
votes
1answer
1k views

error make: *** No targets specified and no makefile found. Stop after make openjdk-7-7u51-2.4.4.orig

7-7u51-2.4.4.orig and type make in terminal show error in ubuntu 12.04 lts make: * No targets specified and no makefile found. Stop. pls help me tanx
0
votes
1answer
145 views

Problems running java websites

I'm having problems with openjdk7 and icedtea7. In one computer, which works with ubuntu 13.10, I have installed openjdk7 and icedtea7. In the other computer, which works with ubuntu 12.04 and is an ...
2
votes
1answer
55 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 ...
0
votes
0answers
13 views

ubuntu 11.3 is giving Unable to locate package openjdk-7-jdk exception [duplicate]

i am using ubuntu 11.3 and i have installed it is E drive in my pc.so now i want to install java 7 for this os ,i am using this command but it gives an exception to me... sudo apt-get install ...
2
votes
1answer
260 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 * ...
0
votes
2answers
171 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 ...
0
votes
2answers
4k 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 ...
0
votes
1answer
20 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
124 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 ...
10
votes
2answers
7k views

What is the difference between default-jdk, ecj, gcj and openjdk?

This morning, I tried to install something and came across a statement like this: The program 'javac' can be found in the following packages: * default-jdk * ecj * gcj-4.6-jdk * gcj-4.7-jdk * ...
0
votes
1answer
149 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 ...
0
votes
2answers
4k views

Unable to run Java, IcedTea on Ubuntu 12.04 LTS in Chrome or Firefox

I have updated to 12.04 LTS from 10.04 LTS because I could not get java to test as working on http://www.java.com/en/download/installed.jsp ... I still can't get java working. I have installed ...
1
vote
1answer
395 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 ...
1
vote
0answers
122 views

Symbolic link error to Java / LIBJVM

All, When trying to install postgresql, I get the following error: /sbin/ldconfig.real: usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so is not a symbolic link I think this is ...
0
votes
1answer
1k views

can't install java [duplicate]

$ sudo apt-get install openjdk-7-jre [sudo] password for paul: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. ...
-1
votes
1answer
6k views

Java installed but JAVAC not found [closed]

I have installed java longtime back, which java /usr/bin/java java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (rhel-2.3.8.0.el6_4-x86_64) OpenJDK 64-Bit Server VM (build ...
0
votes
2answers
767 views

OpenJDK Java 7 missing from “Open With” under file Properties

Ok. I have read through probably two-dozen posts and articles, and still can't seem to find an answer. I have installed OpenJDK-7 and am trying to set it as the default to open .jar files ...
2
votes
0answers
1k views

Running NetBeans on Ubuntu 13.10 with xmir enabled [closed]

I have installed one of the latest daily build of saucy salamander. If I enable xmir java swing applications such as NetBeans or Oracle SQL Developer just display their splash screen but they don't ...
3
votes
4answers
12k views

How to make Firefox use the newest Java version, which is already installed?

Apparently, I have OpenJDK 6 JRE (openjdk-6-jre 6b27-1.12.6-1ubuntu0.12.04.2) and 7 JRE (openjdk-7-jre 7u25-2.3.10-1ubuntu0.12.04.2) installed in parallel – I don't know why I have both of them, I ...
0
votes
1answer
725 views

How do I download, install, and run Minecraft? As well as OpenJDK7?

First off, I have tried downloading Minecraft. I logged in, and the launcher did work. But, when I tried to "play Demo", this is what showed up: Developer Console before clicking "Play Demo" ...
5
votes
1answer
3k views

How to prevent openjdk-6-jre-headless from clobbering Oracle JDK installation?

My automated build server runs a job that depends on Apache Ant. The script invokes apt-get install ant. Ant depends on openjdk-6-jre-headless which runs update-alternatives making itself the default ...
3
votes
1answer
11k views

How to install latest OpenJdk on Ubuntu? [duplicate]

I know that latest official openJDK is java version "1.7.0_25". But there is java version "1.7.0_40" in development. Does anyone know how to install openJDK "1.7.0_40" on an Ubuntu machine?
1
vote
0answers
348 views

Netbeans and Java crash within minutes [closed]

At the moment whenever I start netbeans it runs for a few minutes and then becomes unresponsive. Eventually I have found the only thing I can do is open the System Monitor find Java and kill it. ...
1
vote
1answer
603 views

Run .JAR as application

I've noticed that when running a .JAR file the unity launcher can be quite annoying. If the JAR file is run in a terminal then the launcher icon is the one set in the application, as expected. ...
1
vote
2answers
6k views

Installing C compiler, JDK etc. in Ubuntu [closed]

I am a new to Ubuntu. I have used Windows before, but I am not able to install new software in Ubuntu from the offline setup files, so I don't know how to install software in Ubuntu. Please tell me ...
13
votes
5answers
48k views

How to uninstall OpenJDK?

I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: $ sudo apt-get purge openjdk-7-jre Reading package lists... Done ...
1
vote
0answers
182 views

screencast-o-matic keyboard shortcuts - I can't get them to work

I switched to ubuntu a few months ago and I have not yet been able to understand why Screencast-o-Matic keyboard shortcuts don't work. Apparently they should work on ubuntu in the same way as on ...
1
vote
1answer
3k views

netbeans broken after openjdk update

I had some strange issues on my notebook where NetBeans hangs some times and also some dialog items are missing. I tried various things (ugrading to jre-7, switching to oracle jre, other versions of ...