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

20
votes
2answers
36k 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 ...
2
votes
3answers
2k views

I cannot install java from the software center

I can't install openJDK from the software center, I get the error: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-lib_7u15-2.3.7-0ubuntu1~12.10_all.deb 404 ...
0
votes
2answers
2k views

How to configure JDBC, Tomcat for Eclipse IDE on my Ubuntu 12.04

I got an eclipse IDE on my client's machine. He needs to configure JDBC, and Tomcat on this IDE to use for his Java projects. Kindly help. He got mysql installed right now.
4
votes
2answers
11k 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' ...
5
votes
1answer
372 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, ...
0
votes
2answers
1k views

Set OpenJDK as default application

I'm trying to create a launcher for Minecraft, but in order to make a proper working launcher I need to have OpenJDK Java 7 set as the default application for opening the .jar file. Here's the ...
1
vote
2answers
733 views

OpenJDK built in Ubuntu 12.10, but not working?

I recently installed Ubuntu 12.10, and I just now realized I haven't installed Java on it. When I was going to, I saw that I already have java installed. java -version gives me: OpenJDK Runtime ...
1
vote
1answer
2k views

OpenJDK not working in Ubuntu 12.10 on Firefox

This is a problem I've been facing for quite some time now : installing Java. I have installed the following packages using Synaptic icedtea-netx openjdk-7-jre A few others got installed along ...
0
votes
1answer
3k views

How do I set CLASSPATH variable for Tomcat in 12.10?

Previously, I have set the JAVA_HOME path using the terminal with the following command: export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-i386" >> ~/.bashrc Now, I want to set the CLASSPATH ...
9
votes
1answer
12k 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 ...
1
vote
1answer
3k views

Libreoffice does not detect Java on fresh install of 12.10: how to make it work?

I can't use some features of Libreoffice (some extensions, macros) because my Java runtime environment (openJdk-6) is not recognized in my system (see [screenshot] When launching LibreOffice from ...
0
votes
2answers
2k views

Installation problem on jdk1.7.0_11

I am trying to install my ubuntu using the downloaded jdk1.7.0_11 and jre1.7.0_11,and i traced the questions from here and followed tat steps even it is not installing the java. In the terminal , I am ...
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 ...
2
votes
0answers
78 views

How Can I Change Jamvm on my embedded system to Openjdk?

I have one Embedded System Currently working On jamvm. I Want to change it to openjdk. How Can I do that???
1
vote
1answer
609 views

how to install g++ and openJDK from .deb package [duplicate]

Possible Duplicate: How can I install software or packages without Internet (offline)? I have recently started using ubuntu 12.04 for my dell inspiron 5500 15r. I want to install g++ and ...
25
votes
8answers
41k 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 ...
1
vote
2answers
99 views

Do I need any additional Java packages if I'm running the Oracle JRE?

I am running the Java 7 JRE from Oracle. I installed it through terminal and it works properly with my web browsers, and otherwise, as far as I can tell. However, I was browsing through my ...
3
votes
4answers
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 ...
1
vote
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 ...
0
votes
2answers
4k views

Can't get OpenJDK Java 7 Runtime to open 'minecraft.jar' file

I have 64bit Ubuntu 12.10 installed with an Intel® Core™ i5-3570K CPU. I use Chromium. I have installed OpenJDK 7 but whenever I right-click the .jar file and click "open with openjdk java 7 runtime" ...
2
votes
1answer
341 views

java MainServer gives java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0

Compiling is easy but when using java to run the programs, it gives Exception found. I am using Ubuntu 12.04 without internet connections. Also, installed Oracle JDK7 and JRE7. Also did the ...
2
votes
2answers
3k views

OpenJDK default options to always use the server VM

I got a warning message: jvm uses the client vm, make sure to run java with the server vm for best performance by adding -server to the command line In fact, when i run java -version i get: ...
1
vote
0answers
969 views

How do I install Oracle Java on 12.04 such that it works in Google Chrome/Chromium?

I've looked at the other questions asked on this subject and I got OpenJDK and its plugin for web browsers but it isn't working for me. Please help me here, would be much appreciated if someone could ...
3
votes
2answers
644 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
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 ...
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 ...
2
votes
2answers
5k 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 ...
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 ...
1
vote
1answer
13k views

Setting up JAVA_HOME and CLASSPATH correctly on 12.04

I am having some issues with Java (OpenJDK Java 7 Runtime) on Ubuntu 12.04, and just want to make sure I have my CLASSPATH and JAVA_HOME variables set correctly. ...
0
votes
1answer
2k views

Installing Oracle JDK, and repairing apt-get

I installed OpenJDK as soon as I installed the OS. Then I downloaded IntelliJ IDEA and tried running it. It displayed a warning that IDEA has known graphics issues with OpenJDK and that I should ...
1
vote
1answer
368 views

Why does openjdk automatically install when other version removed?

Every time I try to use openjdk java 7, nothing happens. I try 6, and still, no response. So, i tried removing it with Ubuntu Software Center. Every time I click on "Remove", it appears to remove ...
1
vote
1answer
1k views

How come JAVA_HOME not automatically set for all users after installing openjdk-6 on Ubuntu 12.04?

On a freshly installed box, Java was not installed, so I installed openjdk-6 via apt-get install openjdk-6-jre openjdk-6-jdk. When I try to start my Hadoop service, it complains that JAVA_HOME is not ...
0
votes
1answer
182 views

Minecraft turn off PC on 11.04

I had install Ubuntu 11.04 on two PC. On one everything work perfect, but another after some time turn off computer. I tried a lot of ideas(reinstall, openJDK 7(give just black screen), but all still ...
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 ...
1
vote
1answer
3k views

How can I update to jdk and jre 7?

I've been using jdk6 on ubuntu 12.04. I was trying to update my jdk to 7. I installed jdk7 and also removed jdk6. Now my javac version is 1.7.0_03. but my java version is still 1.6.0_24. So I got ...
0
votes
2answers
2k views

Installing Spark on ubuntu

I am installing Spark IM Client for Ubuntu. The tar.gz doesn't appear to be functional at ALL, (considering the /bin directory is completely empty and lacks important things like unpack200) but I ...
2
votes
1answer
178 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 ...
40
votes
6answers
147k 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 ...
2
votes
1answer
1k views

Icedtea in Chrome won't load java applets

Icedtea in Chrome won't load java applets such as minecraft and runescape. It shows a gray screen instead. I've tried and failed to install the java plugin for chrome and it's left me wondering why ...
29
votes
4answers
109k 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 ...
39
votes
6answers
75k 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] ...
7
votes
2answers
16k 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
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
2answers
42k 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 - ...
3
votes
1answer
943 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)?
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 ...
1
vote
2answers
6k views

Netbeans IDE did work after installation, but doesn't start after restart.

i installed Netbeans on Ubuntu 11.10 following these instructions: http://pasindudps.blogspot.com/2011/10/installing-netbeans-ide-in-ubuntu-1110.html. It worked perfectly fine (creating projects, ...
0
votes
2answers
2k views

How to install the latest Java OpenJDK version?

My system is Ubuntu 10.04.4 (LTS) I know there is OpenJDK "1.6.0_24" The version in Ubuntu is "1.6.0_20" How do I install the latest version of the OpenJDK available?
2
votes
1answer
5k views

openjdk-7-jre on Ubuntu 10.10

As mentioned here, by running this command you can install Java 7 JRE. $ sudo apt-get install openjdk-7-jre But sometimes I can't find the package in the official repository of Ubuntu even after ...