Java is a programming language originally developed by Sun Microsystems. Questions here should be about the installation, configuration and troubleshooting a JVM (Java Virtual Machine) or a JRE (Java Runtime Environment). Programming questions (unless directly related to Ubuntu) should be asked ...

learn more… | top users | synonyms

3
votes
1answer
13k views

Cannot Update Java plugin for Google Chrome

I keep getting the "Java plugin out of date" box whenever I open a page with embedded Java. I use the link provided, which has no auto-install. I've unzipped the tarball into /usr/lib/jvm/. I've used ...
3
votes
2answers
20k views

Oracle Java 7 Removing Error!

fellow Linuxeers! So, I've had this problem recently when I tried to remove Oracle's Java 7 after it didn't want to work correctly. So, when I tried to: sudo apt-get purge oracle-java7-install I ...
3
votes
2answers
12k views

How can I open Java's Control Panel?

How can I open Java's Control Panel to change the security settings?
3
votes
2answers
9k views

Cannot start Webex session. Java permission issue?

My fingers got ahead of me today and I managed to disable Java for Webex on my machine. (Install details: Ubuntu 12.04 32bit, Chrome 32.0.1700.77, Java v7, update 51, Webex working fine for a year ...
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 ...
3
votes
2answers
8k views

Cannot load SWT library “UnsatisfiedLinkError: no swt-gtk-4233”

I'm a Java newbie who just a made a simple Java program using SWT for GUI via eclipse Juno. The code was working and the program was able to run inside eclipse, so I compiled it and made it a runnable ...
3
votes
2answers
1k views

How to get rid of buggy IntelliJ IDEA dialog that won't go away?

This is a bug I run into every couple of days, with IntelliJ IDEA's "Go to Class..." (or "Go to File...") dialog. Usually it closes normally (when a class is selected or Esc pressed), but sometimes ...
3
votes
2answers
8k views

Oracle Java Virtual Machine install?

I cant get it install and I need it running for a job application i need to put in online. jre-7u51-linux-i586.tar.gz that's the file and every time I try to install it wont complete, says cannot ...
3
votes
3answers
12k views

upgraded to 13.04 now getting JREDetection "Your security settings have blocked an untrusted application from running

I upgraded Ubuntu 12.10 to 13.04 upgraded java to 1.8.0-ea-b118 and still cannot run my application to connect to my office. I have checked all the options and spent all day looking for hits on this ...
3
votes
3answers
18k views

Error: JAVA_HOME is not defined correctly - after maven installation

I installed Java JDK on Ubuntu 12.04 and added Java home to my path at ~/.bashrc: export PATH=/opt/jdk1.7.0_40/jdk1.7.0_40/bin:$PATH This looks a little bit strange but it's really my path. After ...
3
votes
1answer
6k views

Desktop link to Eclipse

I was tring to install eclipse on ubuntu. What I did: I unzipped the tar archive of eclipse. I tried to start eclipse from the command line - like this - ./eclipse. It works. But then I tried to ...
3
votes
1answer
32k views

JAVA_HOME is not defined correctly [closed]

I installed java jdk hotspot 1.7. When I type java -version I am getting: java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) This is correct. And I tried to install maven, ...
3
votes
2answers
13k views

How to set `JAVA_HOME` to point to a JDK installation?

I installed sun-java6-jdk. I need to find it's home directory, JAVA_HOME must point to a JDK installation, not JRE.
3
votes
1answer
5k views

java_home directory is not correct though it exists in my environment file

I'm using Java jdk with Maven and I have the following /etc/environment PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" # Maven Settings ...
3
votes
2answers
1k views

How do I install a 32-bit Java runtime on an amd64 server with multiarch?

I'm a long time Ubuntu user, but I haven't been following the community for the last several versions. I just did fresh default minimal amd64 install of Oneiric and I need a 32-bit JRE for a ...
3
votes
1answer
791 views

How to run java 1.5 applets inside my web browser?

I need to run an applet that requires java 1.5. It does not matter if I should uninstall java 6. Even doesn't matter if it applies for firefox or chrome. I am using Ubuntu 10.04
3
votes
1answer
589 views

Java not working in Google Chrome Lubuntu 14.04 (32-bit)

I have Java 1.7.0_55 installed I have gotten it to work on firefox. My installed chrome version is Version 35.0.1916.114. I have already created the plugins folder in the chrome directory and made a ...
3
votes
1answer
7k views

How can I uninstall oracle java 8 and install oracle java 7 instead with webupd8 installer?

I installed oracle java 8 by typing in terminal: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update <br/> sudo apt-get install oracle-java8-installer but now I want to ...
3
votes
1answer
399 views

How to raise user notifications in Ubuntu using java code?

How to raise user notifications in Ubuntu using Java code?
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?
3
votes
1answer
11k views

how to run java program in ubuntu in following situtations

sachin@sachin-Lenovo-G550:~$ java -version java version “1.7.0_21″ OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1) OpenJDK Server VM (build 23.7-b01, mixed mode) When I ran the ...
3
votes
1answer
1k views

How do I upgrade to the latest Java 7 while not losing my existing Java dependencies and add-ons?

$ uname -a Linux X51 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux $ java -version java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) ...
3
votes
1answer
12k views

How to downgrade Oracle Java 7 to Java 6?

I recently changed my Wubi install into a full install, which runs a lot smoother than Wubi. I had to re-install all my stuff, because I did it the lazy-man's way, and after reinstalling Java, I ...
3
votes
1answer
946 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
3answers
2k views

How to run .jar files with Sun Java 6?

I cannot seem to open Minecraft.jar from the file browser. Everytime I try, I select open with, then Sun Java and nothing happens. I've tried the terminal too, but that fails and just reports a load ...
3
votes
1answer
5k views

Installing tomcat from repo with Java from Oracle

Since Java 6 from Oracle is not supported with Ubuntu repositories anymore, I installed it by downloading the package from java.oracle.com, unpacking it in /opt and adding symlinks in /usr/bin. Now I ...
3
votes
2answers
15k views

update-alternatives: error: no alternatives for

I tried to follow the excellent answer to the question How to correctly remove OpenJDK and JRE and set the system use only and only Sun JDK and JRE?, but there seem to be some side effects: ...
3
votes
1answer
271 views

How to confirm sun java 6's license agreement automatically?

When I install this: sudo apt-get install -y sun-java6-bin sun-java6-jdk sun-java6-jre sun-java6-plugin I am still forced to select OK and YES during the install. The -y switch doesn't work for ...
3
votes
2answers
2k views

Davmail Java terminates with SIGSEGV after 11.10 Upgrade

One of my favorite programs, davmail, crashes now after upgrading to 11.10. Just checking if there is a quick fix before I submit a bug report. Thanks. $ davmail # # A fatal error has been detected ...
3
votes
1answer
10k views

How To Install JAVA EE in Ubuntu 11.04 properly?

I am totally new to Ubuntu and just installed it for the first time. I am trying to install JAVA EE in my ubuntu. I downloaded it from oracle website and its an .sh file. I followed instructions from ...
3
votes
1answer
942 views

How do I uninstall all instances of Java and blacklist it from being installed again?

For security reasons I want to remove/uninstall all instances of Java from my computer and prevent it from being installed again. On Windows computers I would simply just not install the software ...
3
votes
1answer
9k views

Java bin file won't install manually [closed]

I downloaded a java bin file manually from here. Then I tried to install it using the following commands. But I am not able to install it. Can anybody help me to install manually? ...
3
votes
1answer
3k views

How to set up Java-based services for startup?

What's the best way to set up a Java-based program to run an service and start on boot? upstart (pre-start script and post-stop script ?) plain old SysV init? (start-stop-daemon ?) In my case I am ...
3
votes
2answers
1k views

Running J2ME (Java Micro Edition) Applications

What's the easiest way to run J2ME (Java phone apps) on Ubuntu?
3
votes
1answer
2k 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
2k views

Multiple JDK is not working properly in Ubuntu 14.04

JDK versions (jdk1.7.0_21 and jdk1.7.0_55) Installed and Configured like below. jdk1.7.0_21 update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_21/bin/java" 1 ...
3
votes
1answer
503 views

Pogo.com games won't work, says outdated java

I am trying to get my Ubuntu 12.04 laptop to be able to run games on pogo.com First none of the games on pogo would work because of outdated flash. Then I learned of google chrome with pep flash and ...
3
votes
1answer
6k views

Java memory usage ballooning to all RAM when running Minecraft Server

When I run Minecraft server, over time (a few hours to a few days) the memory usage by Java balloons to take up all available computer memory and the server performance then degrades: lags, players ...
3
votes
2answers
184 views

Ubuntu with Java Error

I have Oracle Java installed on my computer. Latest version 1.7 and path variables set properly. But most applications in Ubuntu from Software Center that require Java needs Open JDK Iced Tea etc. I ...
3
votes
1answer
1k views

Install JUnit with Oracle Java 7 already instaled

I am running Ubuntu 12.10 with Oracle Java 7 installed (as described here). I want to install JUnit 4 but if I do a simple sudo apt-get install junit, it starts to download openjdk and the like (which ...
3
votes
3answers
10k views

install red5 server on an ubuntu12.04 server

I've been struggling with this during 2 weeks without get it done. I'm building a website where the users will have to record a video and post it as there cv and for this I need a RTMP server. I ...
3
votes
2answers
4k views

Oracle Java 7 on Linux PowerPC

I give up trying to figure this one out on my own. The information on this website: http://www.yellowdog-board.com/viewtopic.php?t=2935 and on this one: ...
3
votes
2answers
8k views

Unable to understand what jdk location is

I have java installed correctly for sure. aaa@ubuntu:~$ whereis java java: /usr/bin/java /usr/bin/X11/java /usr/local/java /usr/share/java aaa@ubuntu:~$ whereis javac javac: /usr/bin/javac ...
3
votes
4answers
2k views

Netbeans shows only blank window

I am not able to launch Netbeans. When I launch it for the first time I normally get the netbeans splash screen, but after that nothing happens. When I try to launch it again, a small blank window ...
3
votes
1answer
580 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
1answer
12k views

First time using Java Web Start in Ubuntu - Fatal Launch Exception

I've been using Ubuntu for a while and Java Web Start applications have never "just worked" in the current or any prior version, so I ignored them until now. However, now I have a need to get them ...
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
2k views

How to install Eclipse J2EE IDE from a tarball?

I have downloaded Eclipse 3.6.1 as a tar.gz file from eclipse site. Then I extract using cmd: tar -zxvf eclipse-jee-helios-SR1-linux-gtk.tar.gz after execute this cmd I got eclipse folder in this ...
3
votes
2answers
548 views

Packaging a Java web application: Reuse tomcat6 or separate process?

I would like to package my java web application http://kunagi.org/ for Ubuntu (and Debian). Should the package create a user kunagi, provide an init script and configuration files for the existing ...
3
votes
3answers
693 views

Unistall Eclipse installed in /opt

I need Java Eclipse, but accidentally installed the C++ one using the steps from here Installing Eclipse Kepler and Java JDK How do I actually remove the C++ one completely? I tried just removing the ...