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

99
votes
11answers
175k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?
60
votes
9answers
181k views

How to completely uninstall Java?

How can I completely remove all traces of Java on my system? I already know how to install it in case I need it again.
56
votes
5answers
109k 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 ...
45
votes
6answers
92k views

Problems with Eclipse and Android SDK

I installed Eclipse, openjdk6 and downloaded and extracted the sdk manager file. Now, When I created an Android project I got the following error: 2012-06-06 18:44:40 - contactManager] ...
43
votes
7answers
171k views

Installing Chrome Java Plugin

I've been trying to install the Java plugin for Chrome for a couple hours now, and I figured it was time to ask people with more experience. I can't seem to get it working. My current Java version is ...
33
votes
4answers
135k views

How can I tell what version of Java I have installed?

I want to start toying around with java (eventually getting to the point where I can write basic little programs for android or web), but I've managed to have java messed up on my computer (from past ...
32
votes
4answers
61k views

How to replace OpenJDK 6 with OpenJDK 7?

Surprisingly (as OpenJDK 7 was released to general availability about 4 months ago) Ubuntu 11.10 still uses OpenJDK 6 instead of 7 by default. How do I best fix this? I'd prefer to remove OpenJDK 6 ...
30
votes
3answers
54k views

Setting JDK 7 as default

four@twenty:~$ file /etc/alternatives/java /etc/alternatives/javac /etc/alternatives/java:symbolic link to `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java' /etc/alternatives/javac:symbolic link to ...
25
votes
8answers
48k views

How to install Minecraft (Client)

How to correctly install Minecraft, including setting any needed packages or apps to install it and to troubleshoot the most common problems that Ubuntu users face when trying to user Minecraft. I am ...
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 ...
16
votes
3answers
42k views

How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?

Ubuntu 12.04.2 LTS What's going on here? # apt-get install openjdk-7-jdk Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be ...
14
votes
5answers
11k views

Will Sun's Java be available from Canonical's partner repository?

I just discovered that Oracle's (Sun's) Java6 has vanished from the Canonical's partner repository. Before Java was taken from all repositories I had purchased Minecraft for play in Ubuntu. After ...
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 ...
14
votes
2answers
15k views

Changing JVM in Java

I only recently discovered the different JVM's on the wiki page and thought I'd start tinkering. Its been difficult to find documentation on how to configure Java on Ubuntu though. Lets say I wanted ...
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 ...
11
votes
2answers
42k 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 ...
11
votes
5answers
7k views

Eclipse has multiple issues after JRE-6 (OpenJDK) upgrade

I'm on 12.04 LTS, and trying to use Eclipse Indigo. This morning Ubuntu made me update the following packages: Preparing to replace icedtea-6-jre-cacao 6b24-1.11.3-1ubuntu0.12.04.1 (using ...
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 ...
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 * ...
10
votes
1answer
6k views

Why do fonts look horrible in any java application?

All fonts in java applications look horrible. I have seen a few questions about this previously, but they are quite old now (11.04 was the most recent, but that didn't seem to be the same problem). ...
9
votes
1answer
14k views

Which Java package should I use: OpenJDK or Oracle JDK?

I'm new to Java development under Ubuntu. When I typed javac in the terminal, it prompted me to install OpenJDK and a bunch of other JDKs. I want to know if there is any difference between OpenJDK 7 ...
9
votes
2answers
8k views

ca-certificates-java fails when trying to install openjdk-6-jre

I use a VPS with Ubuntu Server 10.10 x64. I want to use Java and run the command sudo apt-get install openjdk-6-jre but it fails because the installation encounted errors while processing ...
8
votes
3answers
13k views

Netbeans install error: The specified jdk folder does not contain jdk

During installation of Netbeans 7.3 I got this message the specified jdk folder does not contain jdk I have openjdk 7 installed on my system using apt-get. I tried to specify the path to ...
7
votes
2answers
46k views

Completely uninstall and reinstall OpenJDK

I searched askubuntu and tried the suggestions but failed .I try this question:How to completely uninstall/reinstall Java 1.I run sudo apt-cache search openjdk get the following: openjdk-6-dbg - ...
7
votes
4answers
11k views

Unable to install icedtea plugin on Utopic Unicorn 14.10

Trying to install icedtea-7-plugin on 14.10 x64 gives an error. apt-get install icedtea-7-plugin . . . Selecting previously unselected package icedtea-netx:amd64. . . . Processing triggers for ...
7
votes
2answers
13k views

What's the difference between OpenJDK and Sun Java for the end user?

For users running Java application or applets in the browser, what difference does it make running either Sun Java or OpenJDK? EDIT Oracle will be retiring the DLJ, and basing the proprietary ...
7
votes
2answers
18k views

Installation of openjdk 7

I am installing openjdk-7 on my Ubuntu 10.04 server But I find it to be difficult. I am new to Ubuntu. I have installed the python software properties as suggested by some advice I saw online and ...
6
votes
2answers
2k views

is OpenJDK Vulnerable to 0-Day Exploit?

I was curious to know if OpenJDK is also vulnerable to the Zero-Day Exploit that is currently afflicting Java 7 because of which experts are telling people to disable Java until a solution is found on ...
6
votes
3answers
1k views

How to revert back to OpenJDK?

I had installed sun-java, but I want to revert back to OpenJDK 7. I was trying to re-install from the terminal using the command sudo apt-get install openjdk-7-jre, same from Synaptic and Software ...
6
votes
1answer
9k views

Java Applet not working

I cant use any Java applets. I installed icedtea-7-plugin, and it is even activated under Add-Ons, but if I for example click: www.java.com/de/download/testjava.jsp The test-screen remains grey. I ...
6
votes
0answers
13k views

How to start Minecraft [duplicate]

Before starting I want to state that the following 2 links are already done: How can I install Minecraft? How do I install Java? I have the .minecraft folder in my user folder ...
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 ...
5
votes
4answers
11k views

Minecraft goes black on 12.04 [duplicate]

Upon upgrading to 12.04 I installed Minecraft, Openjdk 6 and 7. When I login everything is fine, but after that I get the "Updating Minecraft" screen for about 0-5 seconds, then the screen goes black. ...
5
votes
3answers
3k views

How to use Eclipse with the JDKs provided by 12.04?

I updated to Ubuntu 12.04 and now Eclipse does not accept OpenJDK 6 in /usr/lib/jvm anymore. I tried to install openjdk 7 and it did create two folders in /usr/lib/jvm, but neither is accepted by the ...
5
votes
1answer
5k views

Can't upgrade packages, it gets stuck on openjdk-6-jre-headless

I am using Ubuntu Maverick (server). When I run: apt-get upgrade it gets stuck on: Setting up openjdk-6-jre-headless (6b20-1.9.7-0ubuntu1) ... Why? And what can I do to stop it? I tried ...
5
votes
1answer
437 views

How do I disable Apport from including a core dump?

Intro: apport is a python applicaton running on ubuntu which automates bug reporting. In case of a crash it determines which application crashed, and auto generates a detailed report on the crash, ...
4
votes
4answers
15k views

How can I make a .jar file executable?

I'm trying to run a jar application under Ubuntu, so I installed OpenJDK Java 7 Runtime, but when I open this application I got this message : The file '/home/aimad/Programms/jMerise/JMerise.jar' ...
4
votes
4answers
29k views

How to get icedtea7-plugin?

On Ubuntu 11.10 (oneiric), I installed openjdk-7-jre openjdk-7-jdk but could not find icedtea7-plugin. How to get the plugin? $ java -version java version "1.7.0_147-icedtea" OpenJDK Runtime ...
4
votes
4answers
5k views

freemind wont run despite OpenJDK JRE installed

I install freemind from USC Ubuntu 12.04, but it failed to run with the following error: " [warning] /usr/bin/freemind: No java runtime was found [error] /usr/bin/freemind: Unable to find an ...
4
votes
4answers
11k views

correct Installation and configuration of openJDK and R

I am relatively new to Ubuntu so I wont know a lot of commands that probably became standard to a lot of you guys. I am trying to set up R and with it the necessary java dependencies to install e.g. ...
4
votes
2answers
5k views

Android Studo showing :“OpenJDK shows intermittent performance and UI issues.”

I have recently installed Android Studio on my Ubuntu 12.10 64bit machine, but every time that I opened it kept giving the following error "OpenJDK shows intermittent performance and UI issues. We ...
4
votes
1answer
520 views

Cannot sudo apt-get -f install because of jdk problem

I am completely stumped. The problem is as follows. user@mycomputer:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done ...
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 ...
3
votes
3answers
2k views

When running Minecraft with OpenJDK, my keyboard becomes unresponsive?

I recently downloaded Minecraft with the .jar format and had it running on my computer not so long ago. Now that I'm using my desktop instead of laptop temporarily, I want it to run. On my laptop it ...
3
votes
2answers
3k views

Problem running jar from gui in 15.04

I updated ubunut to 15.04 today. Now when I try starting a jar file from the gui it only opens the archive manager. Checking the open with tab in Properties I can't find Openjdk. I got both Openjdk ...
3
votes
2answers
1k views

How to read OpenJDK 7 documentation (or other -doc) packages?

I have installed openjdk-7-doc but I cannot find where to read the documentations of the APIs? E.g.: How to find/read "String class" API documentation I prefer GUI-based over command-line but I also ...
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?
3
votes
1answer
2k views

Compiling IcedTea: JDK home directory could not be found

Google Chrome keeps telling me that I need to update icedtea, I tried installing them from terminal, didn't work so I'm installing icedtea and icedtea-web from source, when I do ./configure it tells ...
3
votes
1answer
949 views

Is it necessary to have openjdk 6 installed in Ubuntu 12.04?

Is it necessary to have openjdk 6 installed in Ubuntu 12.04 or will openjdk 7 provide all the support I will need for Java functionality (generally speaking)?
3
votes
1answer
2k 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 ...