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

0
votes
0answers
10 views

java problem all over again [duplicate]

When I try to run something that requires java, I get this message: "Java(TM) is required to display some elements on this page.". Next to it is offered a link to install plug-in. First it was offered ...
0
votes
1answer
521 views

java plugin stoped working on Chrome [duplicate]

Ubuntu 12.04 here. My java-6-openjdk-amd64 Java plugin was fine until I installed the last week-or-two system updates. Now when I verify java Google Chrome gives me the Install Plugin yellow bar.. I'...
0
votes
1answer
289 views

Installing IcedTeaPlugin for Chrome

I am trying to get the java plugin to work on chrome but have failed so far. I made symbolic links for the two files : IcedTeaPlugin.so and libjavaplugin.so I made the links in the file section /opt/...
1
vote
1answer
2k views

Subversion 1.8.8 doesn't work with Java svn libraries

I'm running an up-to-date 14.04 installation. In a Java project built with Ant, I'm using the <svn> task to grab the current revision information. I've got (as far as I can tell) up-to-date ...
1
vote
2answers
1k views

How are we able to run eclipse.exe in ubuntu?

I was following instructions to manually setup eclipse kepler in Ubuntu 14.04. Next create an executable for Eclipe at ~/bin/eclipse with your favorite text editor by typing vi ~/bin/eclipse or ...
1
vote
2answers
199 views

I can't download Java or WINE due to similiar error

I've been trying to download Java Oracle 8 and WINE and I keep getting the same problem. W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected ...
0
votes
3answers
753 views

Eclipse and java 7 but no javac?

I have a java computer program that I can compile in Eclipse just fine. I want to compile it from the command line and get the message javac not found. I figured that I just didn't have my path setup ...
2
votes
2answers
459 views

OmegaT and Java Version

Installed omegaT from the Software Centre (Ubuntu 12.04). When I try to start it, I just get the error message: Suitable java binary not found. The output of java -version is: java version ...
3
votes
1answer
665 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 ...
0
votes
3answers
408 views

how to install Jdk 7 on ubuntu 12.04 [duplicate]

I''ve downloaded tar file from oracle server but I don't know how to install it on my ubuntu linux system. Could you please provide step by step details on how to install it? Thanks
1
vote
2answers
4k views

Minecraft won't install

I tried to install minecraft on my computer, but it won't display on-screen. I went to https://www.minecraft.net/download and downloaded the jar file. I put the launcher on the desktop and tried to ...
59
votes
2answers
144k views

How do I get Java plugin working on Google Chrome?

Google has updated its Chrome browser to version 35. This new version uses Aura in place of GTK2 and no longer supports NPAPI plugins like Java (both OpenJDK and Oracle). PPAPI plugins like ...
1
vote
3answers
17k views

Java Plugin issue on chrome browser [duplicate]

I am running Ubuntu 14.04 64 bit. Installed java on this. Version 1.7.0_55. trying to enable java on google chrome but have failed. I symbolic linked libnpjp2.so to /opt/google/chrome/plugins ...
3
votes
2answers
2k views

Java windows open up off-screen (multi monitor setup with Ubuntu 14.04)

I'm on Ubuntu 14.04 (64 Bit) with Java 1.7.0_55 (openjdk-7-jdk:amd64, openjdk-7-jre:amd64). Most GUI Java applications start without any errors or warnings and their Icon shows up in the launcher, but ...
1
vote
0answers
556 views

JavaFx 3D does not run on Ubuntu 14.04

When trying to run the *javaFX 3D demo on my Ubuntu 14.04 (Gallium 0.4 on AMD REDWOOD, Java JDK 8u5), I get the fellowing error message: Executing /home/lehuythangit/NetBeansProjects/...
-1
votes
2answers
6k views

Downgrade Java 1.7 to Java 1.5

I am now on Ubuntu 14.04, and my Java version is java version "1.7.0_55". How can I remove 1.7 and install java 1.5. I tried several tutorials, but they are old and none of them worked for me.
10
votes
3answers
24k views

Tomcat does not recognize JAVA_HOME

I've installed Ubuntu 14.04 Server, extracted JDK1.8u5 and Tomcat7, and added the following to .profile (I also tried adding it to .bashrc with similar [non-] results): export JAVA_HOME=/opt/java/...
1
vote
1answer
1k views

Hash mismatch error while updating and trouble installing some packages

I am using Ubuntu 14.04 and my college provides us software repositories which we can access from inside the campus. I tried installing java and only after that I started getting the hash mismatch ...
0
votes
1answer
268 views

Unable to run javac though java is working [duplicate]

I am getting the error message below when I run javac on ubuntu terminal: The program 'javac' can be found in the following packages: * default-jdk * ecj * gcj-4.6-jdk * gcj-4.7-jdk * openjdk-7-...
1
vote
3answers
2k views

Netbeans installation doesn't work

While trying to install Netbeans 8.0 in my Ubuntu 14.04 I get the following error: Can`t initialize UI Running in headless mode Exception: java.awt.HeadlessException thrown from the ...
1
vote
1answer
1k views

Set All .jar FIles As Executable

I run Java programs alot on my computer. It runs the latest version of OpenJDK, which is OpenJDK 7. When I try to run a .jar file, it gives me an error saying that the .jar file was not marked as ...
25
votes
5answers
116k views

How to set the JDK for Android Studio?

I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6. To change it I go to File -> Project Structure and try to find the ...
1
vote
1answer
1k views

“Your Java version is out of date.” on Ubuntu 2014.04

With fully updated Ubuntu 2014.04, Firefox tells me: Your Java version is out of date. How to update Java? Typing java -version in a terminal tells me: java version "1.7.0_51" Java(TM) SE ...
2
votes
2answers
5k views

A fatal error has been detected by the Java Runtime Environment

I wanted to install WindRiver Workbench for VxWorks development on my Linux host. I got the correct license file and everything but my JRE seems to crash, I get the error: Launching installer... # ...
1
vote
1answer
299 views

Why does Vim highlight Javadoc comments like this?

I am using vim to edit Java code. I added a Javadoc header above the class definition, but the syntax highlighting is very strange: read the Javadoc comment above Why is the first sentence ...
1
vote
1answer
282 views

ifconfig weirdly returns exit code 1

I am executing the following command to find the MAC Address of eth0 ifconfig eth0 | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}' I have a java wrapper which just calls the script ...
1
vote
1answer
446 views

Aptana crashes on Git Commit in 14.04

Ever since I upgraded my machine to 14.04 - I cannot commit via Aptana's "Team" menu. I was having other, miscellaneous and unrelated problems, so I did a fresh install, and used Oracle Java instead,...
0
votes
1answer
715 views

How to tell javac which libraries to include

So I am trying to run a java file from Terminal. But the file is using the apache.commons.io lib, so a simple javac MyFile.java does not work here. How do you include the libraries in Terminal?
10
votes
4answers
39k views

How can I open Java's Control Panel?

How can I open Java's Control Panel to change the security settings?
149
votes
11answers
352k views

How to install OpenJDK 8 on 14.04 LTS?

As of 2016-04-23 Ubuntu 16.04 has ben released, with both OpenJDK 8 and 9 in the official repositories. I would recommend upgrading to that. As of 2016-01-11 OpenJDK 8 is still not available in an ...
3
votes
1answer
5k views

Eclipse version on Ubuntu 14.04 (Trusty Tahr)

Newbie-question: Does anyone know why in the ubuntu software repository eclipse is on version 3.8.1 while the latest eclipse version for linux from eclipse.org is eclipe 4.3.2? Which version should I ...
0
votes
2answers
3k views

Ubuntu 14.04 - icedtea-6-plugin:i386 : Depends: icedtea-netx:i386 (= 1.5-1ubuntu1)

First of all, I'm a noob on ubuntu. I needed to run a Java application and installed latest version. After that, tried to run .jar file, it worked, but when I try to run the installed files, they give ...
2
votes
1answer
321 views

Turkey.gov.tr libpkcs11wrapper.so Ubuntu Generic thing

While trying to access https://www.turkiye.gov.tr/ using smart identity cards, browser Java Application whether if you have libpkcs11wrapper.so file on your library. General thing is when you search ...
0
votes
1answer
259 views

Java: plugin install for freemind, get : NoClassDefFoundError org/objectweb/asm/Opcodes

I am using freemind 0.9 on Ubuntu 12.04, and trying to install a plugin written with "groovy", from http://blog.icare3d.org/2011/02/writing-phd-thesis-using-freemind-and.html I installed freemind, ...
4
votes
2answers
3k views

Iced Tea plugin keeps asking for permission to run Java applets

Every time the browser wants to load a Java applet a dialog asking me for permission to run the java applet appears. No matter if I check the option "remember this option" or not, the dialog appears, ...
1
vote
2answers
2k views

intellij idea not opening because of jdk/bin/java

I am relatively new to ubuntu. i am using idea intellij from jetbrains for developing applications with gwt and java. Recently i have installed ubuntu 14.04 and everything works fine but idea 13. I ...
1
vote
1answer
179 views

Switching Java version through apt?

(Apologies in advance if my formatting is off, this is my first post, please feel free to correct me). Normally, when I want to find out what version of java I'm using, I run: java -version java ...
2
votes
3answers
13k 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 that'...
2
votes
1answer
384 views

Startup & shutdown scripts for Java servers

I am trying to design a graceful startup/shutdown script (Bash) for a Java app (JAR) that I will be deploying to my Ubuntu 14.04 server. I'm looking for a clean, Linux- and Ubuntu-friendly way of ...
4
votes
1answer
5k 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 ...
5
votes
1answer
4k 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 update-...
22
votes
5answers
110k views

How to find my current JAVA_HOME in ubuntu?

How to find my current JAVA_HOME in ubuntu? I have to set java_home path when installing maven.
1
vote
1answer
1k views

How do I install a specific version of java on Ubuntu

I am trying to build Android from source and it require Java 1.6 to build. So, I installed OpenJDK version 6. However, when I try to build using the make command I get the following message: Your ...
1
vote
1answer
618 views

java file will not launch from .desktop file - Ubuntu 12.04 LTS

I have a bin/bash script- #!/bin/bash java -Xms256m -Xmx1g -jar KeeperDesktop.jar inside an executable text file ( keeper-start) I have created a .desktop file for it as i want to launch it ...
2
votes
1answer
252 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 ...
0
votes
1answer
470 views

Eclipse Java perspective not showing after upgrade to 13.10

I upgraded my ubuntu from 13.04 to 13.10, eclipse was working like a charm, but after the upgrade, the java perspective is not visible any more, moreover, I cannot create a java project. Any idea why ...
0
votes
1answer
7k views

How to install JRE on Ubuntu

I am currently using Ubuntu Gnome 14.10 64bit. I have never before installed software from source. I want to install the java plugin for chrome for running applets and all. I presently need it for ...
2
votes
1answer
1k views

Unable to install/remove any Application/package in UBUNTU 12.04 LTS, error: JAVA_HOME

This is the error in the "Package Operation failed window": installArchives() failed: Setting up install-info (4.13a.dfsg.1-8ubuntu2) ... /etc/environment: line 3: JAVA_HOME: command not found dpkg: ...
0
votes
1answer
103 views

How to package a net-beans java project for Ubuntu

I'm in final year of my b.tech, for project I have created an multilingual dictionary in Java (net beans 6.7.1) in which we can search words meaning, its synonyms, antonyms and an example, or if its ...
4
votes
2answers
2k views

How to unlock file, locked by a process

The file is locked by a process, java in my case. I only want the lock to be released. lsof | grep /home/user/workspace1 A temporary solution was to 'End Process' from 'System Monitor'. But ...