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
4k 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
398 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
592 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
28 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
655 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
188 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
22 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
824 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
59 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
75 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 ...
0
votes
1answer
88 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
221 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
138 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
174 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
702 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
156 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
14 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
204 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
150 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
151 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
130 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
24 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
167 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
392 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 ...
1
vote
1answer
148 views

Can't run InstallJava executable file

I can't seem to run a Java executable file, even though I've already installed the latest jdk. See the below screenshot. Am I using the right command, via: ~$ open InstallJava or is ~$ ./InstallJava ...
0
votes
1answer
179 views

Cant mark minecaft as executeable in xubuntu 14.04

I cant mark minecraft as executeable, I try rightclicking minecraft and starting it up with java 7, but i need to mark it as executeable, If i go to "properties" and go to "Permissions" it does not ...
0
votes
0answers
31 views

Problem using comm.jar with 32 bit jdk

I get a java.lang.NoClassDefFoundError: javax/comm/CommPortIdentifier error when I try to run a compiled Java program that uses comm.jar and its associated .so and .properties files. Compilation runs ...
1
vote
0answers
57 views

Unable to run eclipse Indigo on Ubuntu (3.2.0-64-generic-pae) [closed]

I loaded jre7 and jdk7. I then installed eclipse. sudo apt-get install eclipse eclipse-jdt When I try to open it, Eclipse crashes and log file is created. eclipse.buildId=I20110613-1736 ...
0
votes
0answers
451 views

Could not find or load main class org.apache.pig.Main

Hope someone might be able to help me with this problem (it's had me stumped most of the evening...) I'm trying run the following: jon@ubuntu:~$ java -Xmx512M -cp pig-0.12.1.jar org.apache.pig.Main ...
1
vote
0answers
180 views

Downgrade Matlab java from 7 to 6 in Ubuntu error [closed]

I'm trying to downgrade Matlab java from 7 to 6 because of some problem in Ubuntu like problem in creating GUI (using GUIDE) in Matlab.The Application and figures that I created with Matlab R2014a in ...
0
votes
0answers
268 views

issues intalling Matlab R2012a 32bit student version on ubuntu 14.04 64bit

After having read https://help.ubuntu.com/community/MATLAB and successfully installed this version of Matlab on other versions of ubuntu I am running into the following issues when installing from the ...
0
votes
0answers
97 views

How to install older version of java with the webupd8 ppa

I'm trying to install java via the webupd8 ppa. Normally, this isn't an issue, it's just a quick sudo add-apt-repository .. sudo apt-get update sudo apt-get install .. However, I find that the ...
0
votes
0answers
57 views

How to get Doceri Desktop fully working in Ubuntu with Wine and Java

Doceri is an awesome tool for presenters, teachers, and more. Right now, it only works natively on Windows and Mac OS. However, I love my Linux desktop and through wine I have been able to most things ...
0
votes
1answer
808 views

Eclipse Kepler crashes on Ubuntu 14.04 when using WindowBuilder

I'm using Ubuntu 14.04 and with a lot of problems I have to face daily with this OS, there is another recent one. Problem: Whenever I try to use Eclipse's WindowBuilder to design SWING GUIs, after a ...
0
votes
2answers
426 views

Can't install Openjdk 1.6 in ubuntu

Accidentally I removed Openjdk from Ubuntu. Now it is not possible to install it again.It gives error that: Err http://in.archive.ubuntu.com/ubuntu/ precise-updates/main tzdata all ...
0
votes
0answers
75 views

Ubuntu 14.04 JAVA bandwidth use

So several times I stare at my laptop resource monitor and see data usage on the meter. I was curious today since I am connected via an AT&T USB modem, I do not wish to exceed my allotted data ...
0
votes
1answer
91 views

My minecraft has a very low FPS rate and freezes every second on 12.04 LTS

I recently installed Minecraft on my Ubuntu 12.04 LTS computer with all the correct Java packages and LWJGL, but when I go to play it, the FPS rate drops to ~3 fps and freezes every second, making ...
0
votes
0answers
113 views

I want to use tomcat6 but eclipse wants tomcat7

I'm using Xubuntu 14.04 in a chroot to run a development environment. Or, well, I'm trying to. For the development I need to do I need to use tomcat 6 but I need to also use eclipse. Unfortunately ...
0
votes
1answer
349 views

Can't switch compliance level in Eclipse

So after reading another question post I realized my question had changed. It is essentially, why can't I change my compliance level in Eclipse from 1.6 to 1.7 but I'm going to leave the body of my ...
0
votes
0answers
29 views

Trouble running/installing Lucid Player software in either Ubuntu or Wine

I am trying to install some plant ID software on my Ubuntu 14.04 install. The software is supposed to run on Linux on something called Lucid Player via Java. When I install through the terminal I get ...
0
votes
2answers
733 views

Gradle finds wrong JAVA_HOME even though it's correctly set ubuntu 13.10

I have just installed gradle from the terminal sudo apt-get install gradle After finishing am trying to run the command gradle -v I get the following error ERROR: JAVA_HOME is set to an ...
0
votes
1answer
348 views

Ubuntu league of legends very slow

First let me introduce myself. i am Raul, the CEO of CobraStudios. I just started using Linux ( Ubuntu ). Now i have an problem fixing everything i want to have on linux. Like Minecraft, League of ...
0
votes
2answers
52 views

Command for checking the default terminal

My Situation Is: I am trying to make a simple IDE for NASM in Java. When I execute a .asm file in my IDE it open the terminal and shows the output. I am using xterm for this purpose. Now the problem ...
0
votes
0answers
48 views

RapidMiner bit architecture

I downloaded a RapidMiner source file: "rapidminer-5.3.013.zip" from sourceforge...However I am having trouble extending R to it. I need to check the bit architecture of the RapidMiner software ...
0
votes
0answers
121 views

Minecraft shaders not working

I keep trying but minecraft will not let me run minecraft with shaders! Basically it does work but I keep seeing through blocks and I can see all the caves and stuff underneath the land! How can I ...
1
vote
1answer
3k views

Oracle-xe 11g installation on ubuntu 14.04

I tried to install the oracle-xe 11g rpm package. I tried to follow the oracle pdf provided by the oracle site. I run: rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm and I get the following: glibc ...
0
votes
1answer
33 views

How can I open jnlp files with “lbnetx-java”?

What is libnetx-java package and how can I use it (to open '.jnlp' files)?? Thank you.