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
5 views

Socket programming with java not possible with the IP provided by my Wifi dongle

I am an experienced Java programmer. I am trying to implement a simple socket connection in Java. This is a simple program in which the ServerSocket listens to port 8096. I made sure that port 8096 is ...
0
votes
0answers
4 views

run libGDX project as java application - eclipse - ubuntu

Trying to run a libGdx Gradle Desktop project as java application on my ubuntu 12.04 I get the following error at the console Exception in thread "main" java.lang.UnsatisfiedLinkError: ...
-4
votes
2answers
43 views

How to create a shortcut for Minecraft like in Windows?

I downloaded Minecraft. I created a 'Portable Apps' directory under Home. I then right-clicked 'Minecraft.jar' and selected 'Make Link'. I then moved the "shortcut" to the desktop. When I try to ...
1
vote
1answer
14 views

What to do after unzipping the Java EE 7 sdk .zip file?

I am quite new to Linux. I have been trying to install the Java EE 7 SDk on my ubuntu. I downloaded and unzipped the file "java_ee_sdk-7u1.zip". Which creates another folder named glassfish4 on my ...
1
vote
2answers
58 views

How to find package name for particular class of java from terminal

for Example, lets say i want to use ArrayList so I've to use import java.util.ArrayList; in my java source. But in case i forgot that ArrayList is included in java.util package. so how do i ...
0
votes
0answers
9 views

how can I change rmi registry port number in ubuntu [on hold]

While I am trying to connect matlab through java I am getting the following error in console Could not bind proxy receiver to the RMI registry. Googling the error gave me a solution as Change the rmi ...
0
votes
0answers
13 views

Runescape private server blackscreen on startup

I have been having this issue for a while now, and it appeared so suddenly! I run ubuntu 14 through a Dell 11 chromebook and had almost all rsps' working just fine, then I accidentally messed some ...
0
votes
4answers
64 views

Create bash file to open minecraft launcher

I use this command in the terminal to run the minecraft launcher with java 8: /home/max/Java/jre1.8.0_25/bin/java -jar Minecraft.jar . I included the full java path because I installed it on /home ...
0
votes
0answers
16 views

How to run a .jnlp file in ubuntu server

I am trying to run a .jnlp (java) file in ubuntu server. This file is bitminter. When i try to run irt, it says access is denied.
0
votes
1answer
39 views

How to downgrade Java. For example Java 7u72 to 7u67

How can I downgrade java 7 to update 67 as suggested by this Check Point issue? I need this to install Check Point VPN. I have to install Java 7u67. How can I do it? How can I install specific ...
1
vote
1answer
61 views

OpenJDK-8/Oracle JDK 8 Font Patches for Ubuntu

Is there a patched version of OpenJDK-8 or Oracle JDK 8 for Ubuntu 14.10 which fixes ugly fonts in Java Applications (Jetbrains products, Netbeans etc.)? I had previously installed a patched version ...
1
vote
0answers
39 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
98 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
44 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
12 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
20 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
20 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
21 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
15 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
33 views

Unable to run Java softwares on my ubuntu 14.04 [on hold]

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
24 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
27 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
36 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
75 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
12 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
23 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
53 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
1answer
37 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
30 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
55 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
35 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
77 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
49 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
42 views

Instructions Installing Juno Pulse

I need to install Juno Pulse - how can I do this?
0
votes
1answer
56 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
43 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
103 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
42 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
33 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
39 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
19 views

Can't find window builder on ubuntu

I am searching for window builder in eclipse.
1
vote
2answers
207 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
49 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
36 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
vote
2answers
61 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
57 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
42 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 ...