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

90
votes
11answers
124k views

How do I install Java?

How do I install Java and also in my browser so websites with Java work?
25
votes
8answers
38k 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 ...
43
votes
9answers
134k 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.
38
votes
6answers
139k 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 ...
13
votes
5answers
10k 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 repo. Before java was taken from all repositories I had purchased Minecraft for play in Ubuntu. After recent ...
38
votes
6answers
68k 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] ...
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 ...
22
votes
3answers
30k views

How to install OpenJDK 8 on 14.04?

IMPORTANT: If you need this in 14.04, vote for this bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628 Java 8 is now available according to ...
6
votes
3answers
961 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 ...
13
votes
2answers
13k 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 ...
29
votes
4answers
51k 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 ...
5
votes
1answer
2k 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 ...
28
votes
4answers
101k 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 ...
11
votes
5answers
6k 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 ...
7
votes
3answers
8k 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 ...
3
votes
3answers
6k 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 ...
19
votes
2answers
31k 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 ...
12
votes
5answers
28k 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 ...
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 ...
5
votes
4answers
10k 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. ...
2
votes
0answers
243 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 ...
2
votes
2answers
24k views

How to setup Java-Home and Path in Ubuntu 12.04

we are new to Ubuntu.Recently we changed my server OS to ubuntu 12.04 from windows 7 . every one have their own login details. one of my college installed Open-Jdk7. I asked him, where you installed ...
2
votes
2answers
4k views

How can I select which Java to use?

I have installed both OpenJDK 6 and 7. When I run "java somefile" from the command line, OpenJDK 6 is invoked. I do not want to change this default behavior. What command can I use to run my ...
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 ...
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
4k 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 ...
4
votes
4answers
4k 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 ...
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 ...
0
votes
1answer
7k views

How to open jar file using open JDK?

I installed "open jdk 7" on ubuntu 13.04, but not recognized in "other application" list to set as default. I need to open a ".jar" file with "open jdk7". Please help.
0
votes
2answers
604 views

I installed the OpenJDK-7 but my runtime environment wasn't upgraded to 7?

I installed openjdk-7-jdk, "javac" was version 7 but "java" was still version 1.6, any way around this? No updates are available.
0
votes
2answers
1k views

Firefox Hangs on ubuntu when loading java applets

I am using Firefox 3.6.12 on ubuntu 10.10 amd64 with Openjdk JRE. Firefox seems to hang for a long time when loading applets from websites using java. Things seem to work smoothly on Windows. I have ...