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

1
vote
2answers
11k views

Setting Java CLASSPATH

I've done java development before but generally on windows (but I'm by no means an expert). I just want to set my CLASSPATH. When I run: echo $CLASSPATH (Is that right)? I get a empty line. So, ...
2
votes
0answers
2k views

Whenever I try to open minecraft.jar with openJDK it doesn't work [duplicate]

I tried right clicking and selecting open with JDK but nothing happens
41
votes
9answers
128k 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.
1
vote
2answers
1k views

sudo apt-get install returns a 404 error but ping returns packets. Is it a problem with my network configurations?

I'm trying to install openjdk on an Ubuntu 11.04 VM in a Mac. However, I'm running into 404 errors on the command line which I can't diagnose why. sudo apt-get install openjdk-6-jre-headless ... Err ...
4
votes
4answers
25k 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 ...
0
votes
1answer
172 views

Is it possible to tell WINE to use OpenJDK instead of having to install Java in it

Is it possible to make WINE use OpenJDK (Outside of the Wine environment) instead of having to install Java inside of it.
2
votes
2answers
2k views

My Java install is broken

I have recently upgraded to Ubuntu 11.10 and was noticing that Java was not working on a few websites and ran a check: keith@KD-PB:~$ java -version java version "1.5.0" gij (GNU libgcj) ...
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 ...
29
votes
4answers
49k 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 ...
1
vote
1answer
2k views

Where is the openJDK console window?

I am used to java-sun JDK on windows and its console: It is very convenient to debug an applet. Is there such console with open-jdk on ubuntu?
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 ...
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 ...
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 ...
89
votes
11answers
120k views

How do I install Java?

How do I install Java and also in my browser so websites with Java work?
0
votes
3answers
320 views

I cannot install Java. It locks

Here is where it locks-up: Setting up openjdk-6-jre-headless (6b20-1.9.7-0ubuntu1) ... Even control-c does not stop it. I have to close the ssh session by closing the terminal. I have tried two ...
1
vote
2answers
2k views

How can I install other applications after a failed installation using apt-get?

I have a VPS with Ubuntu Server 10.10 x64. I tried to install Java using apt-get install openjdk-6-jre but that fails, see ca-certificates-java fails to install. Now I would like to install PHP with ...
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 ...
0
votes
2answers
6k views

The annoyed configuration of java-6-openjdk

I want to change the java environment to java-6-openjdk. /etc/environment: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ ...
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 ...