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

4
votes
1answer
391 views

Pointer position way off in Java Application menu's when using gnome-shell

When using any java application in gnome-shell if the window is maximised the pointer position is way off; but only on the menu's, in the editor, or the side panel, the pointer is fine. This only ...
1
vote
1answer
6k views

How to install an older version of Java

I updated my installation of the sun-java6-jdk package today to version 6.24-1build0.10.10.1 after being prompted by the update manager. However this now causes some compilation failures so I'd like ...
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 ...
4
votes
1answer
6k views

Good way to run Java and Eclipse from a ramdisk

It is often suggested to me that to improve the performance of the Eclipse development environment, that I should move the Java JDK/JVM (and possibly Eclipse) to a Ramdisk. I know that the Ubuntu has ...
4
votes
0answers
4k views

Installing 32 bit java now that ia32-sun-java6-bin is not available [duplicate]

Possible Duplicate: How can I install Sun/Oracle's proprietary Java 6/7 JRE or JDK? Prior to 11.10, I could install a 32 bit java side by side with the 64 bit versions using the package ...
3
votes
2answers
26k views

How to set JAVA PATH in Ubuntu 12.04?

So java -version give path not found. I have tried the following: Edit: ~/.bashrc ~/.profile /etc/environment bash.bashrc files and add to them the following: ...
2
votes
2answers
1k views

GWT (Google Web Toolkit) Designer not working on Ubuntu 12.10

The GWT Desinger is not working on Ubuntu 12.10. It worked on Ubuntu 12.04. I installed the Eclipse Plugin as described on the GWT Homepate If I want to open the Design-View (for an xml-GWT-File), ...
1
vote
3answers
20k views

Installing Java on Ubuntu 64 bit

I have ubuntu 12.04 LTS version 64 bit . what is the procedure for installing and running Java for development purpose. I am new to Linux and Unix platform. Thanks in advance
9
votes
3answers
36k views

Install 32bit Java (OpenJDK) on 64bit Ubuntu 12.04 [duplicate]

I have to run Juniper VPN on the 64bit Ubuntu 12.04. I have installed openjdk-7-jre, openjdk-7-jdk and icedtea-7-plugin. After the browser prompts to install the Juniper VPN, I check it has been ...
6
votes
1answer
31k views

“Please ensure you have JAVA_HOME points to JDK rather than JRE” message

I have java installed 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 /usr/bin/X11/javac and ...
5
votes
2answers
2k views

Eclipse auto shutdowns when creating new project

When I click finish on a new project in Eclipse which I installed with this command sudo apt-get install eclipse-platform. This popup window comes and no matter if I choose Yes or No it closes the ...
5
votes
4answers
28k views

How to set environmental variable PATH?

I'm using Ubuntu 10.10 and downloaded jdk7 from java.sun.com. That jdk is a compressed file and on extraction there I got all the files and folders of jdk1.7.0. But now if I tries to compile a java ...
4
votes
3answers
8k views

Remove or disable java due to the security issue

According to the news there's java security hole that is still not fixed. How can Ubuntu users protect their PC? I've got gnome-shell installed and as far as I understand it depends on java. Which ...
4
votes
2answers
775 views

Where can I find a package for “project looking Glass”? (“The Java desktop”)

I really really want to find this package. Because after I saw the youtube clip I realized it's just one of those things I must have done before I die. This tutorial would be great if the repository ...
3
votes
0answers
300 views

How to use Firefox AppArmor profile with IcedTea Java plugin on Ubuntu 14.04?

Whenever I set up Ubuntu on a new system, I active the default AppArmor profile for Firefox via sudo aa-enforce /etc/apparmor.d/usr.bin.firefox Doing this on Ubuntu 14.04, however, makes Java ...
3
votes
1answer
31k 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
1answer
343 views

Where is my application installed? [duplicate]

I am getting errors like com.ibm.icu etc are missing from /home/jiewmeng/eclipse/plugins/*. I think it might be because I am working on the project from 2 different computers where the eclipse paths ...
3
votes
2answers
14k 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: ...
2
votes
0answers
332 views

Unable to start topcoder arena in Ubuntu 14.04

When I want to clear cache using javaws - viewer these error comes. I am trying to launch my topcoder arena. Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Exception in ...
2
votes
2answers
1k views

Is actual version of Chromium browser (34.0.1847.116) compatible with Oracle Java 7 browser plugin?

I can not make it work nor find an official confirmation of compatibility. Oracle Java 7 plugin works fine with Firefox but fresh Chromium browser installation does not even list it at ...
2
votes
1answer
3k views

Install Java on Ubuntu server (Parallels Plesk)

I want to install Java to my server so I can use PHP shell_exec to compile Java online. So I'm trying to install Java on my webserver (Ubuntu - Parallels Plesk). I logged in to the server with PuTTY ...
2
votes
2answers
221 views

search command for packages in Ubuntu terminal to search updates and patches of the package specifically

Can I know what is the command to search any package using the terminal, if I only know the name of the Software like, if I want to search VLC or JDK,JRE.. etc If I do not know what is the url where ...
2
votes
2answers
33k 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 ...
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 ...
2
votes
2answers
12k 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.
1
vote
2answers
4k views

How to increase memory allocated to java? java.lang.OutOfMemoryError: Java heap space

I have an Ubuntu server 12.04 using a reverse proxy so that tomcat runs on top of apache. And I have a confluence instance on that machine, and a ticket system. So nothing special. Memory is 8GB ...
1
vote
1answer
564 views

Java applets crashing in 14.04 and 14.10

PhET* simulations (java applets) crash in 14.04 (and in 14.10 [update]) after execution. Icedtea starts loading the app and gets to 100%. Then it crashes. I get an error message to use the console to ...
1
vote
1answer
3k views

Can't use Java 7 from Eclipse?

I installed openjdk-6-jre from the package manager, then I installed Eclipse, and this was the default JRE. Now I needed to install, in addition to 6, also Java 7, so I installed openjdk-7-jre from ...
1
vote
3answers
4k views

“MOZILLA_FIVE_HOME not set” zekr quran study software java error

I have installed zekr Quran study software on ubuntu 12.04 and I upgraded to 12.10. then the zekr app has been giving me this error when ever I start it. org.eclipse.swt.SWTError: No more handles ...
1
vote
1answer
15k views

Exception on Desktop[sic!] sun.awt.X11GraphicsEnvironment

I'm trying to run different java-swing programs, which used to run before, but I can't start them from the commandline, without getting this error: java GuessGame Exception in thread "main" ...
9
votes
3answers
3k views

Does java security flaw affects ubuntu also?

There are rumors about an actual java security problem. The BSI advises people to deactivate java plugins version 7 and prior in all kind of OS, even in linux. Does this mean, I should deactivate ...
7
votes
3answers
4k views

How to run Java application in KDE with Qt-like UI?

Continuing my question in Install Ubuntu or Kubuntu? I have tried Kubuntu (KDE), and it was very cool as cool as Ubuntu (GNOME). but there is little problem with its user interface when we start Java ...
6
votes
3answers
25k views

How to fix Java problem installing Matlab 2012a (64-bit) in Ubuntu 12.04 (64 bit)?

I am trying to install Matlab 2012a (64-bit) in Ubuntu 12.04LTS (64-bit). I have installed Java 7. My Java version is: sabyasachi@sabyasachi-ubuntu:~/Downloads/R2012a_UNIX$ java -version java version ...
5
votes
4answers
4k views

How well does Java work on the Nexus 7?

I require Java for work purposes and standard Android would not do for me on my Nexus, hence I have decided to try to Ubuntu route. How do I successfully install Java into the Ubuntu ARM version for ...
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 ...
4
votes
1answer
9k views

Ubuntu - saying your security settings have blocked an application from running with an out-of-date version of java

I have this new problem since 2014 begin. I cant remotely login to this enterprise network for giving them support. Its keep showing this new error. How to fix it please? EDIT:
4
votes
2answers
4k views

How to make Minecraft run smoothly?

I have noticed that on Windows, Minecraft runs a lot smoother than on Ubuntu 11.10. What can I do to make it run smoother on here? I have a ATI Mobility Radeon HD 4250 Graphics card. I don't know ...
4
votes
3answers
808 views

Getting the PID of the process showing a particular window

I want to know the process ID of a particular window. I have seen and used the Force close panel applet, and I'd like something similar that would report me the process ID of the window I select. If ...
3
votes
1answer
577 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
3answers
12k views

icedtea-7-plugin non-functional in Ubuntu 13.04

I installed(sudo apt-get install) icedtea-7-plugin (and all its dependencies) and have closed firefox and reopened it; and the plugin still does not appear in http//about:plugins Is there a fix for ...
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
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
1answer
293 views

Wine issues with Runescape

Believe it or not, I play Runescape. I find the game to be interesting. Out of my curiosity, I found that there is a way to play the game in an executable file. However, there was no Linux download ...
3
votes
0answers
10k views

How to properly set up Sun's JDK? [duplicate]

Possible Duplicate: How do I install Oracle's JDK 6? I'm trying to manually install the Sun JDK package (I have my reasons, don't bother asking why). I've successfully extracted the ...
3
votes
2answers
4k views

How do I get the Java plugin in Firefox 3.6 working? [duplicate]

Possible Duplicate: How can I install Oracle Java JRE 7? I have Ubuntu 10.10. I needed the Sun Java so I added Sun Oracle as supplier of packages and installed java-6. However, I haven't ...
2
votes
1answer
97 views

Is it possible to develop Ubuntu Application using java

I am a Java Developer & want to develop application for Ubuntu. I also visited developer.ubuntu.com site and successfully installed Ubuntu SDK and Editor but it is on Unity code and HTML views. I ...
2
votes
1answer
1k views

JREs from different vendors on the same system

In various tutorials, it is said, that you should remove existing JRE/JDK before installing new one (e.g. remove OpenJDK before installing the one from Oracle). Is it really necessary? I remember ...
2
votes
1answer
4k views

How can I remove my current JDK and install default JDK? [duplicate]

I have Ubuntu 12.10 x64 installed on a virtual device (VMware workstation) on a host system Windows 8. I downloaded android source code. I wanted to build it, and it says: Checking build tools ...
2
votes
2answers
9k views

How to remove openjdk-7?

I want to uninstall java 7 and install the version 6 (as some of programs I would like to use are incompatible with 7). I tried : $ sudo apt-get remove openjdk-7-jre [sudo] password for USER: ...
2
votes
1answer
421 views

Ubuntu One API Java - how to use REST and AccessToken?

I am writing a java app in eclipse that backups data to several consumer-cloud-services encrypted and redundant. So far, I successfully implemented the authentication process, as it is described in ...