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
1answer
49 views

juju charm failed in local lxc

So I want to run my web application in the local lxc provider using juju.my web application is maven build application. So I create my charm and try to run it locally. In hooks I have installed java ...
0
votes
0answers
33 views

Minecraft Frozen [duplicate]

I am having a problem with Minecraft on Xubuntu 14.04. I downloaded Minecraft 1.7.10, and it closes the launcher and enters the game. There it gets stuck at the Mojang loading screen. I have tried ...
2
votes
2answers
29 views

Custom update process for ubuntu

I a have remote embedded system with Ubuntu on it. Also it runs our proprietary Java application Jar on it. In order to update that jar I have tried to set up private PPA repository, but it seems too ...
0
votes
0answers
178 views

JavaFX mp3 playback Ubuntu 14.04

I am trying to play mp3 file in java program using javafx. I installed dependencies libavcodec53 and libavformat53 mentioned here. I used following code public void play(String path_to_song){ ...
0
votes
1answer
71 views

UnsupportedClassVersionError when running java program

My java program was compiled succesfully. But when I tried to run I got Exception in thread "main" java.lang.UnsupportedClassVersionError: hello : Unsupported major.minor version 51.0 at ...
0
votes
2answers
143 views

Running a .sh from a .desktop [Making an icon for Minecraft.]

Rather recently, I've decided to add minecraft to my dock. I play it enough to want it on my dock. I created a .desktop file, and I gave it an icon, name, and such. I figured that point the exec at ...
1
vote
2answers
193 views

Making .desktop files - Just a few questions

I would like to ask some questions about .desktop files, and figure something out that I think would be rather nifty. I will start by saying I am running [elementary OS Luna] with kernel ...
1
vote
0answers
12 views

How to fix laggy behavior in Auctionsieve 2.6.7 in Ubuntu 14.04?

With Auctionsieve 2.6.7 on Ubuntu 14.04, when I move the pointer around with the mouse, the user interface is laggy. A shady gray color is slowly painted across discrete rows of the screen from ...
0
votes
0answers
12 views

Accessing a process after closing the consol

Basically I am using Ubuntu to run a minecraft server via a VPS and I’m using putty to control it. once I have started my server and everything is running, I’m in control of the server console, just ...
0
votes
0answers
37 views

removing proxy to avoid problems during installation

i tried to install java and got this error Err http://security.ubuntu.com/ubuntu/ precise-security/main icedtea-6-jre-jamvm i386 6b27-1.12.3-0ubuntu1~12.04.1 Something wicked happened resolving ...
0
votes
0answers
95 views

Want to install Apache Mahout.But getting error while installing 'maven'

I have a Ubuntu 12.04 (64 bit).I have already installed Java 1.7.0_60. When i try to install 'maven' for Apache Mahout i am getting the below error root@ubuntu:/usr/local# apt-get install maven ...
0
votes
0answers
39 views

Problem with java server app. Doesn't start right anymore

First off, I'm running Ubuntu 14.4, and I haven't updated in a while because updated breaks my ps3 controller recognition (different problem) I just got this app running today: ...
1
vote
3answers
392 views

Java is not working in any browser

I'm using Ubuntu 14.04 , and I've used the 12th edition and 13th and it was always the same problem for me, java is NOT working on any of my browser : all applets aren't functional, I can't login to ...
3
votes
1answer
376 views

Eclipse not using PATH

I am facing an issue of Eclipse not picking up the VM from the PATH environment variable. I follow the below steps to reproduce the error : Downloaded the appropriate version of Oracle's JDK from ...
0
votes
1answer
70 views

Why is root running java

Just noticed that root is running a process named java. Is there really an Ubuntu system level process that necessitates this, or is this a sign of some rouge software or incorrect installation of a ...
0
votes
0answers
25 views

'javac not found' error [duplicate]

First I am typing the program then save it to the folder named nimmi as Label.java, then I am opening terminal and type the following command: cd nimmi javac Label.java to compile, but "javac not ...
-1
votes
1answer
195 views

Ubuntu 12.04 LTS - Minecraft Crashing!

Not sure whats happening, I'm on an HP ENVY TS15 laptop runing Ubuntu linux 12.04, I have open JDK installed, and oracle java 7 installed... If anyone can help me find out the problem then please ...
0
votes
0answers
57 views

How to integrate java web start to chromium?

I have two types of chromium in ubuntu. One from the software center and another from google site. Now I installed the java iced tea from the software center. But the extension work only in firefox. ...
0
votes
0answers
67 views

finding where jdk path has been set in ubuntu

Please help me i am not able to find out where i have set the jdk path in ubuntu 12.04 LTS. I have checked /etc/profile and .bashrc files. Please help me to figure it out. Any help will be really ...
-2
votes
1answer
91 views

MineCraft freezes on Orcale Java but not openjdk [duplicate]

So when I updated from 13.04 to 14.04 LTS (I do a clean reinstall of the new ubuntu version) and did minecraft on the first time using orcale java. When I started to launcher it froze ubuntu up and ...
1
vote
0answers
94 views

I tried to install Java 6 & 7 and keep getting this error message [closed]

I tried to install Java 6 & 7 and keep getting this error message: Removing outdated cached downloads... sha256sum mismatch jdk-6u45-linux-x64.bin Oracle JDK 6 is NOT installed. dpkg: error ...
0
votes
1answer
305 views

Apache Hadoop 2.4 installation failure on Ubuntu 14.04

I have tried to install the Apache Hadoop 2.4 on Ubuntu 14.04 (32 Bit) os all steps went good but when i try to start the Hadoop Services i am getting the Following Error Message : WARN ...
1
vote
0answers
46 views

Eclipse dosn't see JDK

I had installed Eclipse and it was working well few days ago. Now I can't create Java project, there is no such option and in the Eclipse Preferences there is no mention about the word Java. I was ...
0
votes
1answer
6k views

Android Studio not working - tools.jar classpath error

I have just downloaded the Android Studio and when I try to run ./studio.sh it gives me an error of "'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK ...
0
votes
1answer
466 views

Unable to install updates. Unmet dependencies icedtea-7-jre-jamvm and openjdk-7-jre

I am a newbie please help. Unable to install updates. Details shows: The following packages have unmet dependencies: icedtea-7-jre-jamvm: Depends: openjdk-7-jre-headless (= ...
0
votes
0answers
26 views

Problem installing packages - Java [duplicate]

I'm having a problem installing Java. It keeps telling me this when it starts to remove outdated cached downloads: Removing outdated cached downloads... sha256sum mismatch jdk-8u5-linux-x64.tar.gz ...
2
votes
1answer
798 views

IcedTea plugin for openjdk 8

I updated from openjdk 7 to openjdk 8. Meanwhile I uninstalled jdk 7(which uninstalled icedtea plugin too). I tried to reinstall icedtea with sudo apt-get install icedtea-7-plugin But it ...
1
vote
0answers
30 views

Java process stays open

I like playing Minecraft but after I close Minecraft, the java process stays on and I need to go into the system monitor to kill it or else there will be a lot of java processes on slowing down my ...
0
votes
1answer
813 views

Is there any java decompiler gui

I am using eclipse and just lost some .java files from my ubuntu 14.04 now i am left out with just .class files (the files were important) I know about java decompiler but jd-eclipse is not working . ...
0
votes
1answer
233 views

Cannot access a file using java.io.FileInputStream

I am working with java servlets and I need to access a file trail.xlsx within the java code using java.io.Fileinputstream class, for windows we have to add the drive letter but here we don't have any ...
0
votes
0answers
23 views

Chrome won't recognize java but firefox recognizes it [duplicate]

I am running an HP Pavilion dm4-12la with Ubuntu 14.04 LTS 64-bit. I have installed successfully Java into Firefox, but for some reason in Chrome it doesn't work. I have tried all of this: ...
0
votes
3answers
1k views

Can't install Java JDK in Ubuntu 12.04: Broken Packages

I try entering this to install java JDK sudo apt-get install openjdk-7-jdk It responds with this Reading package lists... Done Building dependency tree... Done Some packages could not be ...
0
votes
0answers
68 views

openjdk icedtea firefox loops “connecting”

Ubuntu 14.04, openjdk-7-jre_7u55, icedtea-7-plugin_1.5, firefox_30.0 FF > Tools > Add-ons > Plugins > IcedTea-Web 1.5 = Ask to Activate URL = http://www.anbg.gov.au/cpbr/cd-keys/rfk/ then click ...
0
votes
0answers
77 views

the procedure for creating the virtual serial ports and communicate with them in Ubuntu

I'm new in ubuntu. I want to add virtual serial port to my computer. I used this command: sudo socat -d -d PTY: PTY: and I got this answer: 2014/07/01 08:47:09 socat[3901] N PTY is /dev/pts/1 ...
1
vote
1answer
94 views

How do I set NetBeans as the default for .java files?

I want .java files to open with NetBeans, but Ubuntu doesn't offer the option, neither in the drop down menu nor properties>open with. I also should mention that I'm using Ubuntu 14.04. EDIT: ...
0
votes
0answers
294 views

After exporting $PATH, commands don't work anymore

Trying installing Java, I tried to add it to the executable path with the line: export PATH=/usr/lib/jvm/jdk1.7.0_60/bin:$PATH in the system-wide /etc/bash.bashrc file. For some reason this ...
0
votes
1answer
187 views

Update 12.04 (precise) to Java 7 (OpenJDK)

By default, Ubuntu 12.04 comes with OpenJDK 6, which is by now quite old and some applications require at least Java 7. How can I update an Ubuntu 12.04 installation to Java 7?
0
votes
0answers
183 views

Configure Junos Pulse in Ububtu

Could any one please tell me the correct procedure for configuring Junos Pulse in Ubuntu 14.04? I successfully installed Java in my system: indmaxadmin@indmaxadmin:~$ java -version java version ...
0
votes
1answer
746 views

How to install JRE 7u60 on Ubuntu 14.04 using the tar.gz file? [duplicate]

How do I install JRE without PPAs or anything but the tar.gz file I downloaded from: http://www.java.com/en/download/manual.jsp?locale=en
0
votes
0answers
7 views

Easy alternation between different Java version installation [duplicate]

I currently have Java 6 installed on my system (please don't laugh) and we are moving to Java 8. So we have changed the main branch of our application to use Java 8, however, we need to support old ...
1
vote
0answers
176 views

Why can't I start Eclipse after I killed it once?

Eclipse IDE in my computer running Ubuntu 13.10 hung once. I just killed the process. Thereafter it shows this whenever I try to start Eclipse: Job found still running after platform shutdown. ...
0
votes
1answer
16 views

Bold fonts in muCommander

I have bold fonts in muCommander everywhere under GTK+ theme. I have tried changing styles (in app menu) manualy but it didn't help.
0
votes
1answer
221 views

Command menu in aptana studio 3 is not working in ubuntu 14.04

The command menu of Aptana Studio 3 is not showing in a Ubuntu 14.04. Other menu items are working fine. Can anybody suggest a solution for this issue?
0
votes
1answer
182 views

How to make a .jar file execute on ubuntu server 14 startup

How do i make my .jar file execute on startup because we have constant blackouts here and when the server starts up i want the server.jar to start as well. Is there any simple way of doing this ?
0
votes
0answers
18 views

Minecraft Launcher does not start [duplicate]

I need to know how to play Minecraft on Ubuntu. When I download Minecraft and try to start it, the Minecraft Launcher does not start.
0
votes
1answer
155 views

Cannot install Eclipse Kepler (4.3) [closed]

I tried installing eclipse directly from the repo using apt-get, but it gave a outdated version -- Indigo 3.8, which does not support several important plug-ins. So I started using Eclipse Kepler ...
0
votes
0answers
138 views

How to make gedit a java ide

Im looking for a lightweight ide. I've heard that gedit can also be used for this purpose. Can anyone tell me how to make it a java ide, I haven't come across anything helpful yet. In Tools > Manage ...
0
votes
0answers
26 views

Java JMX connection on ubuntu server

How do you get a JMX connection started. I started searching and nothing seemed to want to work with JvisualVM that the oracle jdk 7 gives. I used jstatd and got that working but the jmx connection ...
0
votes
1answer
218 views

How do I install JavaTM Advanced Imaging API v1.1.3 on Ubuntu 14.04

I'm trying compare images as described on this Website but therefor I need to have JAI installed. I have downloaded the file jai-1_1_3-lib-linux-amd64.tar.gz from here. I've also looked into the ...
1
vote
1answer
459 views

.pigbootup not found

I have a problem trying to get this command to run. I've got all the files in the correct directories, and i'm running the command from within the correct directory. I've downloaded and unpacked ...