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

Eclipse Equinox ClassCastException when starting

I've googled around for about 2 hours now, and can't find a single other person with this issue. It seems to happen whenever I start Eclipse, and it makes the IDE completely unusable. I've tried ...
0
votes
1answer
36 views

Cannot make work Java 8 Plugin in chrome 39 in ubuntu

I cannot make Java 8 work for ubuntu in chrome 39 I already installed the jdk8 via ppa. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer ...
-1
votes
2answers
39 views

I want to play minecraft [duplicate]

I can't install anything from the Ubuntu Software Center. For example, I tried to install Java but I couldn't and don't say to install it off Google; I have tried installing Java from Google but it ...
0
votes
0answers
8 views

Java Application not opening on correct monitor (Ubuntu 14.04)

I have a fresh install of Ubuntu 14.04 LTS (x64) and when I create apps that spawn windows in java (using JavaFX or Swing) they are created in the wrong position. I noticed that there is no longer a ...
0
votes
0answers
19 views

How to create a source tarball for a java application built by ant?

I've written an application in Java and would like to package it for Ubuntu and upload it to my PPA. I've already read through the documentation and set up my environment, but I don't completely ...
0
votes
1answer
17 views

While accessing SSH/SHELL The security settings have blocked a self-signed application from running in mozilla/ubuntu 14.04?

While logging in the Cpanel ssh shell from Mozilla firefox in ubuntu It says : The application cannot be run Your security settings have blocked a self-signed application from running.? (Instead of ...
0
votes
1answer
19 views

System consumes all memory even after hardware upgrade

Previously, I had a 4GB RAM server with Linode. Several times, I did "free -m" command to check available memory. Most of the times it showed less than 200 Mb free. Major processes I am running ...
0
votes
1answer
14 views

Running the java compiler with a keyboard shortcut

I want to create a keyboard shortcut to launch the java compiler in the folder that's opened in Nautilus. I tried commands like these: gnome-terminal -e #script that invokes the javac and adds ...
1
vote
1answer
24 views

Unable to run Java softwares on my ubuntu 14.04

I created a simple GUI program using netbeans on my Ubuntu 14.04, it runs from the netbeans IDE but after building it doesn't run without the IDE.
-1
votes
0answers
21 views

Can't install Java runtime on Ubuntu 13.10 [duplicate]

I've been struggling with this for a few hours now, and I've tried numerous answers to similar questions such as this one. I've tried cleaning and updating apt with no luck. In short, I want Java ...
0
votes
1answer
22 views

Cannot install java?

Edit: This is Ubuntu 13.04 Before I begin, I've seen this question around, sudo apt-get install openjdk-7-jdk It tells me ... ect .. ect (Failed to fetch) Failed to fetch ...
-1
votes
0answers
24 views

Java program using netcat

Hope this question is allowed here, Sorry if no ;) In my java program I need to communicate with a android device connected to Ubuntu work station via adb. Goal is to collect raw data from device to ...
0
votes
0answers
28 views

Unmet dependencies while installing jre

I'm trying to install java but when I run: sudo apt-get install default-jre I'm getting this error: The following packages have unmet dependencies: default-jre : Depends: default-jre-headless (= ...
1
vote
1answer
61 views

can't set up java for R under ubuntu 14.10

Problem: before upgrading, under Ubuntu14.04, I just installed the default JRE and JDK, and R 3.0.2 (the default for that rev of Ubuntu),and sucessfully ran R CMD javareconf. However, since ...
0
votes
0answers
7 views

Incorrectly Reading Serial Using RXTX in Ubuntu

I am reading Accelerometer signals connected to Arduino board through a serial interface. I am using the RxTx library and following is the code. private void initializeSerial() { ...
0
votes
0answers
21 views

Uninstall oracle and install openjdk back?

I followed the instructions from the answer of this question but it didn't work: How to remove Oracle JDK I Just installed oracle jdk following instructions from this link: ...
0
votes
1answer
47 views

Java version for Ubuntu 14.10 [duplicate]

What version of Java should I load onto my Ubuntu 14.10 O/S. Also if there is a specific process needed to install same please provide explicit instructions as I am first learning to use Linux?
2
votes
2answers
36 views

Set different java version for different programs

I use some programs that have known bugs when using Java 1.7.x (default on my computer), issues that would be fixed using Java 1.6. However I also use program that works fine with the default Java and ...
2
votes
1answer
28 views

Java program keeps writing to disk when laptop is running on battery

I notice that when my laptop is running on battery, java applications (e.g. JabRef) will write to HDD every 5 seconds or so, as shown by iotop: 11:05:42 23199 be/4 yopology 0.00 B/s 7.39 K/s ...
0
votes
0answers
43 views

Java RTE on Ubuntu 14.04.1 64-bit with Google Chrome

I am an Ubuntu 14.04.1 64-bit user who prefers Google Chrome as the default browser. I installed Java on my system and got it work with Mozilla Firefox; however, Google Chrome(Version 39.0.2171.71 ...
1
vote
2answers
31 views

jar files not working

In terminal when try to run jar file it doesn't launch. I have recently uninstalled open jdk 6 to save some space if that matters. abe@abe-Dimension-8400:~/Desktop$ java -jar Minecraft.jar I use ...
0
votes
0answers
54 views

matlab 2014b glnxa64/jre/bin/java: Syntax error: “(” unexpected

I'm trying to install Matlab 2014b on Ubuntu 14.10, after giving sudo ./install it immediately exits with /tmp/mathworks_7552/sys/java/jre/glnxa64/jre/bin/java: 1: ...
0
votes
2answers
45 views

Installing Programs, ie Java 8 jdk [duplicate]

I am trying to migrate from Windows to Linux. Why is so difficult for beginners to install programs to a linux computer. Starting to miss the self extracting executable programs in Windows. I have ...
1
vote
1answer
37 views

Instructions Installing Juno Pulse

I need to install Juno Pulse - how can I do this?
0
votes
1answer
44 views

How to update IcedTea plugin for latest java

Verifying Java Version A newer version of Java is available Your Java version: Version 7 Update 65 Newer Version 8 Update 25 How do I update IcedTea plugin for latest java?
0
votes
1answer
40 views

java process hogs both cpu and net speed

Recently, I had noticed that my net speed had become slower. In the network statistics of System Monitor the correct speed was shown. I used tools like nethogs to investigate which process had so much ...
3
votes
0answers
81 views

Cannot sudo apt-get -f install because of jdk problem

I am completely stumped. The problem is as follows. user@mycomputer:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
33 views

Ubuntu 14.04 64-bit java web start app error

I use VM with Ubuntu 14.04 64-bit installed on it with lastest Oracle Java 7. While I'm trying to run remote console on Dell PowerEdge M600 iDRAC I have an error when the application is just about to ...
0
votes
0answers
27 views

Crashed Program report on Xubuntu start up

I am using Xubuntu 14.04. I have ADT bundle for android development installed. Now when i start the system, after logging in, i get an error saying "sorry, application java has stopped unexpectedly". ...
0
votes
1answer
32 views

JAVA_HOME is set to the wrong directory

Hello fellow Ubuntu users, I am trying to learn how to write modifications to Minecraft. In order to follow the tutorial I am using, I need to run a "gradlew". The command is as follows ./gradlew ...
0
votes
1answer
18 views

openjdk-7 gdb list main.c sources error

I'm currently struggling with debugging openjdk in Trusty Tahr. I already installed opejdk-7-jdk openjdk-7-dbg. When I issue gdb java I see it reads the symbols properly, but when I ask to list the ...
0
votes
1answer
18 views

Can't find window builder on ubuntu

I am searching for window builder in eclipse.
1
vote
2answers
175 views

Installing java 8 on ubuntu

I am trying to install Java 8 on Ubuntu. Due to restrictions on download at my work place, I cannot install using apt-get. Hence, I downloaded the archive from Oracle's website, named ...
0
votes
0answers
26 views

Bash question with system processes? Stopping and renicing “Java” processes

I play minecraft on linux, and I would like to make a Bash script that does two things. First, I would like it to close the minecraft launcher's process. Secondly, I would like it to renice the ...
0
votes
1answer
45 views

/usr/bin/java working only with sudo

I hope you can help me with the following problem. I have a problem with installing oracle jdk. After installing using update-alternatives: sudo update-alternatives --install "/usr/bin/java" "java" ...
0
votes
1answer
34 views

Installing Tomcat in ubuntu

I have download apache-tomcat-x.x.x.tar.gz from apache . I have extracted it and set the CATALINA_HOME. Have given permission to all the sh file to bin. While running catalina.sh jpda start, then I am ...
-1
votes
0answers
27 views

Hadoop gives Error localhost: Error: JAVA_HOME is not set.?

I'm using Ubuntu. I have installed Java Hadoop configured it as single Node. i have also added environmental variable named HADOOP_HOME,JAVA_HOME in .bashrc file. When i was trying to run Hadoop using ...
1
vote
2answers
57 views

Open Java program from SSH into VNC display

If I have an Ubuntu 12.04 system that has LXDE and TightVNCserver installed and run a session on port :1 (not tunneled through SSH) and an active SSH connection, then how can I use SSH to start a ...
0
votes
1answer
55 views

Java installation error using apt-cacher

I'm getting this output when I trey to update/install oracle-java7 or from webupd8 ppa: Downloading Oracle Java 7... --2014-11-19 16:35:02-- ...
0
votes
1answer
41 views

I can't install openJDK 7 in ubuntu 12.10 (32-bit)

Using Ubuntu Software Center I tried to install OpenJDK 7 but got the following notification. **Package dependencies cannot be resolved** This error could be caused by required additional software ...
1
vote
0answers
58 views

The installed java is version 7u65, yet the ubuntu package is 7u71, why the discrepancy?

I'm running Ubuntu 14.04 and need to use Java 7 update 71. It seems like openjdk has been updated in the Trusty repos to update 71, yet even if I install the update java seems to still be at version ...
0
votes
1answer
90 views

IcedTea Doesn't Run Properly in Firefox

I have Java 7 installed for Ubuntu 12.04 and I have IcedTea installed in Firefox (33.0). Some Java plugins are not working correctly. For example: starting from the IcedTea-Web-Tests (see the IcedTea ...
0
votes
0answers
54 views

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

When I try to move on into pig local mode, this kind of error occurs: "Error: Could not find or load main class org.apache.pig.Main" Anyone there to solve this issue?
-1
votes
1answer
70 views

Java Download for Ubuntu 14.04 [duplicate]

I needs help actually i am trying to download java and eclipse. How can i download java for Ubuntu 14.04.
0
votes
0answers
282 views

ubuntu 14.04 64bit Matlab 2014b installation

i tried now for days to install matlab 2014b on ubuntu14.04. but it never worked, i am now in a situation where i dont know where to look and search for. my error messages when i want to run the ...
1
vote
1answer
40 views

SIGBUS error with JRE when using eclipse

I encountered a SIGBUS error when starting up eclipse. There was nothing wrong before this, I've just turned on the laptop and the error appears: $ eclipse # # A fatal error has been detected by the ...
0
votes
0answers
14 views

can I use same system for the implementation of multicast?

While implementing multicasting in java socket programming,,I decided to make groups based on the interfaces I have ,for eg: anupam@JAZZ:~$ netstat -g IPv6/IPv4 Group Memberships Interface ...
-1
votes
3answers
110 views

Eclipse crashes after upgrade from Kubuntu 12 to Kubuntu 14.04 [closed]

I 'upgraded' from 12.04 to 14.04 and I'm having a problem .I can't seem to fix with eclipse. Specifically, eclipse crashes... consistently. I've looked over the web for a few days and I can't seem to ...
1
vote
1answer
47 views

How much space do i need for ubuntu dualboot?

I'm using windows 8.1 and i want to learn linux and also want to use it for java and clojure development. I'm gonna use IntelliJ IDEA or Eclipse. How much space i need to save on my localdisc for ...
0
votes
1answer
75 views

Oracle Java 8 “This plug-in is not supported”

I had Java 7 working nicely on Ubuntu 14.04. Now I have Java 8 (and not Java 7) on a new installation of Ubuntu 14.04. I tried to use Java 8 for the first time today, including adding the URLs to the ...