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

1
vote
2answers
23k 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: ...
1
vote
3answers
17k 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
33k 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
25k 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
4answers
26k 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
737 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
1answer
13k views

How to install Jad?

I'm very new to Ubuntu. I need a way to install Jad in my system. Can anyone help me this out?
3
votes
1answer
326 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
269 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
1answer
2k 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
179 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
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 ...
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
11k 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
2k 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
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
14k 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" ...
0
votes
5answers
1k views

Convert .jar to executable

My project is to develope an installer which is an executable for all three platforms Windows, Mac and Ubuntu.As you know the executables on Windows, Mac and Ubuntu are .exe, .app and .deb ...
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
3k 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
22k 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
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
2answers
3k 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
763 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
7k 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:
3
votes
3answers
11k 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
26k 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
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
70 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
3answers
747 views

Unable to install LanguageTool 2.5 extension for LibreOffice 4.2 on Ubuntu 14.04

I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it. p.s. Somebody says that the solution is installing openoffice.org-java-common package but ...
2
votes
2answers
835 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 ...
2
votes
1answer
469 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
3k 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
8k 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
400 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 ...
2
votes
4answers
3k views

Java Not Recognized As Default Application

I just installed java according to this article, and java -version displays java version "1.7.0_07" Java(TM) SE Runtime Environment (build 1.7.0_07-b10) Java HotSpot(TM) 64-Bit Server VM (build ...
2
votes
4answers
3k views

Chrome reports Java plugin outdated

I've just installed the latest version of JRE (7u5) and Chrome still reports that it's outdated. When I go to chrome://plugins/, it shows the following line for Java: Java - Version: 1.7.0_05 ...
2
votes
1answer
12k views

sun-java6-plugin has no installation candidate? [duplicate]

Possible Duplicate: How do I install Java? I'm trying to install sun-java6-plugin. It supposedly in the "partner" repo. I have: deb http://archive.canonical.com/ lucid partner in ...
2
votes
1answer
4k views

Can I run a Java 32-bit application on a 64bit system

Natty 64-bit is installed. iMindmap 5 a Java 32 program will not run correctly. Is installing 32-bit Java a possible solution?
2
votes
1answer
7k views

'Permission denied' while installing 32-bit Java (JDK/JRE) on 64-bit Ubuntu

I use Ubuntu 10.10 server as test server for a Java program. Linux sugam 2.6.35-22-server #35-Ubuntu SMP Sat Oct 16 22:02:33 UTC 2010 x86_64 GNU/Linux Ubuntu 10.10 Since it is a test server and ...
2
votes
2answers
1k views

Packaging a Java web application: .war or symlinks to dependencies?

I would like to package my java web application http://kunagi.org/ for Ubuntu (and Debian). Should the package install a .war file which contains all the required dependencies (.jar files)? Or should ...
1
vote
1answer
6k views

Java plugins are not detected after upgrading

After an upgrade to Trusty Tahr (14.04), it seems Java has ceased to work in several browsers (tested on Firefox, Chromium, and Chrome). ubuntu-restricted-extras is installed, Oracle-Java was ...
1
vote
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 ...
1
vote
1answer
61 views

What are the standard places that Java Virtual Machine is configured on Ubuntu 12.04?

I'm running Pangolin (12.04 LTS) and want to sort out some Java stuff where my JVM is pointing at a different place to my Compiler. To demonstrate, my JVM is as follows: ...