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
381 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 ...
0
votes
0answers
15 views

Problems with specific java application

I’m having an issue with a specific website. For my job I have to use a website called OJIN, we use it for checking criminal background. But I'm unable to click on the pop-up window to be able to ...
27
votes
1answer
23k 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
5k 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 ...
0
votes
0answers
244 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 ...
0
votes
0answers
105 views

Java Applet / Printing

We access a third party application (java applet), which prints output to a postscript printer. We have been using this application on Windows from quite some time successfully. Our current setup is ...
0
votes
0answers
88 views

Unable to claim interface: Resource busy

I am working with USB4Java (the low-level version) and am basically working from this code here. I was running into a problem about permissions but was able to resolve by running eclipse using gksu ...
1
vote
0answers
277 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 ...
0
votes
1answer
248 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.
4
votes
3answers
1k 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 ...
1
vote
1answer
89 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
59 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 * ...
0
votes
0answers
42 views

NetBeans clipboard not working well

I installed NetBeans 8.0 on Ubuntu 14.04. and I have a problem - it seems like it "doesn't share clipboard" with other applications. The thing is copy-paste works within NetBeans (I can copy the ...
0
votes
1answer
96 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
217 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 ...
0
votes
1answer
3k 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 ...
0
votes
0answers
27 views

Java 6 and 7 on one system

I am wondering if it is okay to have both Java 6 and 7 installed at the same time on one system. Will it not make things unstable? Would really need this because I need to test my programs in both ...
0
votes
1answer
90 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 ...
0
votes
0answers
558 views

Upgrade Oracle Java 7 to Java 8 for Ubuntu

This could be more of a guide than a question to anyone who upgrades Oracle Java version 7 to 8. My server was running Ubuntu 13.04 with Java version 7. My update to Java version 8 was not ...
1
vote
1answer
2k 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
78 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 ...
0
votes
0answers
93 views

Problem with Notification Area and Eclipse on Ubuntu 14.04

Since the last week, I have a problem with the Unity Notification Area on Ubuntu 14.04. When I'm using Eclipse, (with Oracle Java 1.7) the Notification Area dissapear and, 1-3 seconds after, reappear. ...
1
vote
1answer
47 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 ...
0
votes
0answers
400 views

I can't run FlashTool on ubuntu-gnome 14.04

I try to run Flashtool 0.9.16 on ubuntu-gnome 14.04 but if I run as Root then it return this error gelasak@gelasak-GA-MA785GT-UD3H:~/FlashTool$ sudo ./FlashTool Running as root. JAVA_HOME not set. ...
1
vote
1answer
251 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 ...
0
votes
1answer
43 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?
1
vote
2answers
459 views

How can I open Java's Control Panel?

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

How to install OpenJDK 8 on 14.04?

IMPORTANT: If you need this in 14.04, vote for this bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628 Java 8 is now available according to ...
1
vote
1answer
2k 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
1answer
851 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 ...
1
vote
1answer
55 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
0answers
50 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, ...
0
votes
0answers
523 views

'uboot-mkimage' has no installation candidate?

i'm using 13.10,64 bit. i'm trying to install mkimage but it is not working. root@pnreddy:/home/pnreddy/Android_13.04# sudo apt-get install u-boot-tools Reading package lists... Done Building ...
2
votes
2answers
482 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
158 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
53 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 ...
1
vote
2answers
883 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
136 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 ...
3
votes
1answer
1k 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 ...
0
votes
0answers
185 views

MySQL JDBC Connection using Eclipse

I have now read numerous installation guides and spent a few days reading in different forums, but I cannot get my program to find the class com.mysql.jdbc.Driver The current status is: I have added ...
3
votes
1answer
804 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 ...
0
votes
0answers
21 views

How can I install LibreOffice from the package manager to be used with (Oracle) Java installed manually [duplicate]

LibreOffice depends on OpenJDK (or some other JRE). I already have Oracle's Java 7 installed, and I'd like LibreOffice to use this JRE instead. If I attempt to remove OpenJDK, apt automatically falls ...
0
votes
1answer
1k 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
416 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 ...
0
votes
0answers
94 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
58 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
47 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
482 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
282 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
40 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 ...