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

2
votes
0answers
924 views

Running NetBeans on Ubuntu 13.10 with xmir enabled [closed]

I have installed one of the latest daily build of saucy salamander. If I enable xmir java swing applications such as NetBeans or Oracle SQL Developer just display their splash screen but they don't ...
3
votes
4answers
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 ...
0
votes
1answer
606 views

How do I download, install, and run Minecraft? As well as OpenJDK7?

First off, I have tried downloading Minecraft. I logged in, and the launcher did work. But, when I tried to "play Demo", this is what showed up: Developer Console before clicking "Play Demo" ...
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 ...
3
votes
1answer
10k 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?
1
vote
0answers
289 views

Netbeans and Java crash within minutes [closed]

At the moment whenever I start netbeans it runs for a few minutes and then becomes unresponsive. Eventually I have found the only thing I can do is open the System Monitor find Java and kill it. ...
1
vote
1answer
337 views

Run .JAR as application

I've noticed that when running a .JAR file the unity launcher can be quite annoying. If the JAR file is run in a terminal then the launcher icon is the one set in the application, as expected. ...
1
vote
2answers
5k views

Installing C compiler, JDK etc. in Ubuntu [closed]

I am a new to Ubuntu. I have used Windows before, but I am not able to install new software in Ubuntu from the offline setup files, so I don't know how to install software in Ubuntu. Please tell me ...
13
votes
5answers
30k 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 ...
1
vote
0answers
131 views

screencast-o-matic keyboard shortcuts - I can't get them to work

I switched to ubuntu a few months ago and I have not yet been able to understand why Screencast-o-Matic keyboard shortcuts don't work. Apparently they should work on ubuntu in the same way as on ...
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 ...
1
vote
1answer
2k views

How to find java path and make a shortcut with jar files?

I'm very new to Ubuntu, installed 12.04 for the first time a few days ago. So I basiclly got a game (feedthebeast, mod for minecraft). Now the jar file which I downloaded works just fine, but I find ...
1
vote
2answers
171 views

Ubuntu Failes to Recognize Java

I've been having an issue with Java since I installed Ubuntu and it has been the main reason I have stopped playing certain Java-based games such as Minecraft. You see, although I've downloaded ...
0
votes
1answer
3k views

Remove Openjdk 7, install Openjdk 6?

I need to be using Openjdk 6 but cannot figure out how remove Openjdk 7. I used the apt-get purge command and it seems to be successful but even after installing Openjdk 6, java -version always ...
0
votes
2answers
434 views

Ubuntu 12.04 problem installing thinkorswim

I have follow the instructions listed in the forum as well as the thinkorswim website. I can get all the way to the launch point for showing the desktop and it won't show I just get a black screen and ...
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.
2
votes
2answers
26k 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 ...
1
vote
2answers
948 views

How to add “open jdk7” to deffault open program list?

I want to open a .jar file, but "open jdk 7" is not in other applications list. How can I add "open jdk 7" to "other applications" list and then set it as default opener? I have no such problem in ...
0
votes
1answer
82 views

Frostwire does not start

I downloaded Frostwire from this page. After downloading, it appeared in the Software Center and supposedly installed it. The problem is simple: Frostwire does not open, the icon blinks but nothing ...
1
vote
0answers
116 views

jdk installation error

sudo apt-get install oracle-java6-installer [sudo] password for taha: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: ...
1
vote
0answers
72 views

While installing jdk

I'm trying to install java using the WebUpd PPA. After adding their PPA and updating, I try: sudo apt-get install oracle-java7-installer and it gives me an error Oracle JDK 7 is NOT installed. ...
0
votes
1answer
222 views

Why is OpenJDK not preinstalled?

I don't understand why OpenJDK is not preinstalled. A bunch of applications depend on it and it only takes up 0,7MB. Of course there is the unneeded "OpenJDK Policy Tool" icon but Canonical could ...
0
votes
1answer
754 views

Connection failing on openjdk-7-jre

I am trying to install openjdk-7-jre on a 64bit Ubuntu 12.04 server as part of a Canvas LMS install. When I run sudo apt-get install openjdk-7-jre I get: Err http://us.archive.ubuntu.com/ubuntu/ ...
0
votes
1answer
133 views

Frostwire not opening

I have just donwloaded the application FrostWire. I was trying to open it, but it just won't open. The icon does it's flashing, and then it goes back to the normal background, no windows from that app ...
-1
votes
1answer
2k views

Unable to install openjdk

I have two questions: I want to install JDK so I wrote to terminal: sudo apt-get install openjdk-7-jdk but this message shown ,while my computer was connected internet: Reading package lists... ...
15
votes
3answers
34k 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 ...
7
votes
3answers
9k 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 ...
2
votes
1answer
2k views

Installing openjdk-6-jre:i386 on Ubuntu 12.04 64 bit: broken dependencies

I wa strying to install openjdk-7-jre:i386 in order to access to the university's VPN. I've a machine with Ubuntu 12.04 LTS (precise) 64 bit. However, when I try to install openjdk-6-jre:i386, sudo ...
0
votes
1answer
370 views

aptitude dependency resolution issue when trying to install build-deps for openjdk-6

I am running into some kind of rather serious issue with resolving the dependencies if I try to install the build-deps for openjdk-6, as specified in the directions for compiling custom OpenJDK ...
1
vote
0answers
3k views

not able to install javaws

I need to use java web start to run TopCoders ContestAppletProd.jnlp. When I try to run the the arena I get Java not found error. Upon selecting the option "using Java Web Start" the jnlp file ...
0
votes
2answers
3k views

12.04, 12.10 - how can i install Java 32-bit and Java 64-bit?

I have my project which requires to run with Java - 64-bit for the main application. And for some other libraries it requires Java - 32-bit version. On 64-bit Ubuntu 12.04 when i install java it ...
0
votes
1answer
165 views

Really weird hidden dash bug involving OpenJDK and Minecraft [closed]

I'm pretty sure my problem is unique. I'm using OpenJDK 7 to play Minecraft, in order to avoid wrangling with Wine. Recently, this setup has started to give me problems. I am getting "System program ...
0
votes
1answer
369 views

Setting environment variables for OpenJDK on Ubuntu 11.10

I am new to Ubuntu and have programmed in C in the same but java seems to be a bitof a pain. This is what -java version looks like java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 ...
1
vote
1answer
3k views

Why do I get Exception in thread “main” java.lang.UnsupportedClassVersionError? [duplicate]

I am trying to run a program on eclipse. I am getting the following error: Exception in thread "main" java.lang.UnsupportedClassVersionError: Perlinit : Unsupported major.minor version 51.0 at ...
1
vote
1answer
1k views

How to fix “some packages could not be installed … unmet dependencies” installing Java? [duplicate]

I have some problems downloading with the sudo apt-get command. I try to get Java runtime: Reading package lists... Done Building dependency tree Reading state information... Done Some ...
2
votes
0answers
223 views

Java installed, command not working

I have installed java but I could not get any java command to work! Below shows what I get when I try to run java commands: sultan@ubuntu:~$ java The program 'java' can be found in the following ...
1
vote
1answer
954 views

“Failed to fetch” error when installing Eclipse!

I am trying to install Eclipse by using the Ubuntu Software center. I do have an Internet connection and I have actually downloaded other software successfully. However, when I try to install Eclipse, ...
5
votes
2answers
20k 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 ...
19
votes
2answers
33k 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
10k 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
360 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
728 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 ...