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

84
votes
11answers
111k views

How do I install Java?

How do I install Java and also in my browser so websites with Java work?
39
votes
9answers
117k 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.
35
votes
6answers
122k 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 ...
27
votes
4answers
46k 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 ...
25
votes
4answers
87k 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 ...
23
votes
8answers
34k 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
2answers
23k 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 ...
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 ...
13
votes
4answers
28k 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 ...
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 ...
11
votes
2answers
12k 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 ...
11
votes
5answers
18k 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
9k views

How to install OpenJDK 8 on 14.04?

Java 8 is now available according to http://openjdk.java.net/projects/jdk8/, but http://openjdk.java.net/install/ does not yet mention how to install OpenJDK 8 (not Oracle Java) on Ubuntu. How and ...
9
votes
1answer
11k 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 ...
7
votes
3answers
6k 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
12k 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
14k 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 ...
7
votes
1answer
4k 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). ...
6
votes
2answers
39k 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 - ...
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
854 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
8k 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
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 ...
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. ...
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 ...
5
votes
1answer
313 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
2answers
16k 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 ...
4
votes
2answers
7k 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
3answers
7k 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
4answers
24k 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 ...
3
votes
2answers
2k 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 * ...
3
votes
3answers
4k 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
3answers
4k 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 ...
3
votes
2answers
1k 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 ...
3
votes
1answer
9k 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
939 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
842 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 ...
3
votes
1answer
490 views

Poor Audio in Blackboard Collaborate (Elluminate Live) on Ubuntu 11.10

I already have Sun Java (not OpenJDK) installed, but I'm still having audio issues. OpenJDK didn't display the slides, which was fixed by Sun Java, but the audio was bad in both of them. Is there any ...
3
votes
4answers
3k views

How do I remove OpenJDK?

I had removed OpenJDK installed by default from Ubuntu Software Center. Eclipse had been showing that Installed JRE is OpenJDK. I wanted eclipse should be configured to jdk I already installed and ...
3
votes
2answers
497 views

Installing mods on Minecraft 1.0 does not work for Mo' Creatures

In attempting to get the Mo' Creatures mod working on Kubuntu 11.10 with OpenJRE-6 I get the following error: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) ...
3
votes
2answers
547 views

how to enable in chrome icedtea7 java plugin instead of icedtea6?

My chrome browser in ubuntu 12.04 uses iced6 plugin. Test http://java.com/en/download/testjava.jsp shows java6, but via update-alternatives I switched java/javac to using openjdk-java7
2
votes
1answer
2k 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 ...
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 ...
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. ...
2
votes
1answer
172 views

Is it safe have more than one version of java?

This question popped up when I tried to download a game for dolphin emu. The site isohunt recommended I use vuze and vuze requires jre. Silly me, as a windows noob, I immediately thought I d have to ...