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

how can I change rmi registry port number in ubuntu

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 ...
19
votes
5answers
33k views

'tools.jar' is not in IDEA classpath

I am a new user of Linux, it has been recommended to me by my friend. He told me to install software called IntelliJ Idea IDE. Well I have been following the tutorial. But now when I try to open ...
0
votes
0answers
10 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
3answers
28 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 ...
1
vote
0answers
11 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.
1
vote
1answer
31 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.
0
votes
1answer
30 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 ...
3
votes
2answers
25k views

How do we install JAVA in Wine?

I have a Windows file.exe and I need Wine and Java to open it. I don't know how to install Java in Wine. When I try to open Java seyup it says Wrapper.CreateFile failed with error 32: Sharing ...
0
votes
0answers
26 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 ...
3
votes
3answers
7k views

Java Oracle Installation /usr/bin/java: cannot execute binary file

Hi I've been trying for 1 day to get Oracle Java running on Ubuntu. I have a powermac g5 with Ubuntu 12.04 ppc64. uname -a : Linux LK37 3.2.0-53-powerpc64-smp #81-Ubuntu SMP Thu Aug 22 21:17:14 UTC ...
1
vote
0answers
33 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
0answers
2k views

Icedtea-7-plugin don't work in Chromium, doesn't show in about:plugins

I'm newbie user of Ubuntu 14.04. I have trouble with: Icedtea-7-plugin don't work in Chromium. It doesn't shows in about:plugins. How I can I fix it? I did: sudo apt-get install icedtea-7-plugin ...
0
votes
1answer
76 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 ...
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 ...
-1
votes
2answers
43 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 ...
4
votes
3answers
4k 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 ...
0
votes
0answers
10 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
1answer
556 views

Unable to install java on my ubuntu

Whenever I try to install java on my Ubuntu, it show error like Package dependencies cannot be resolved. This error could be caused by required additional software packages which are missing or not ...
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
19 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 ...
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 ...
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 ...
2
votes
2answers
853 views

Eclipse auto shutdowns when creating new project

When I click finish on a new project in Eclipse which I installed with this command sudo apt-get install eclipse-platform. This popup window comes and no matter if I choose Yes or No it closes the ...
4
votes
3answers
3k views

How to create a service on Ubuntu (LTS 12.04)

I have a Java executable program that I can run by typing java -jar abc.jar in terminal. How can I run it as a service? I want to run it as a service like by typing service abc start.
-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 ...
7
votes
6answers
6k views

What is the difference between the five versions of Java on this page for Ubuntu?

I want to install Java on my computer so that I can develop programs and I came across this page on Java in the Ubuntu community documentation. It says: Java is a technology from Oracle (formerly: ...
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 ...
0
votes
1answer
25 views

Binary archives of OpenJDK for ubuntu

My goal is to have multiple version of java 6 and multiple version of java 7 installed on my ubuntu in order to do some tests with different versions of java. I found instructions to install oracle ...
-1
votes
0answers
26 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 ...
8
votes
1answer
8k views

OpenJDK - Oracle is better? [closed]

From http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux Type/Copy/Paste: java -version . If you're having OpenJDK Runtime Environment (IcedTea6 1.10pre) (7b15~pre1-0lucid1) OpenJDK 64-Bit ...
0
votes
0answers
35 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 (= ...
0
votes
0answers
11 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() { ...
1
vote
1answer
72 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 ...
1
vote
2answers
876 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
1answer
19 views

Can't find window builder on ubuntu

I am searching for window builder in eclipse.
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: ...
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
1answer
50 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?
0
votes
0answers
167 views

Ubuntu 14.04 w/ Unity - java application gui does not show

When I open certain java-powered applications, the primary GUI will not show up. However, the GUI windows for misc functions such as the "Tips and Tricks" type windows, project creation, save dialog ...
1
vote
2answers
34 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 ...
-1
votes
1answer
86 views

Ubuntu 14 JVM - Could not reserve enough space for the card marking array

After upgrade to Ubuntu 14, I have issue with all JVMs crashing. I reinstall Java (oracle and openjdk versions). I spend sometime tuning the JVM heap parameters, and now finally, I can run Java ...
0
votes
0answers
52 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 ...
15
votes
3answers
34k views

How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?

Ubuntu 12.04.2 LTS What's going on here? # apt-get install openjdk-7-jdk Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be ...
0
votes
0answers
70 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
1answer
41 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 ...
4
votes
4answers
9k views

How to set the default Java version

I have been using Java 6 on Ubuntu 11.10, but now I want to update to version 7. I've installed version 7 via PPA as described here. If I run sudo update-alternatives --config java I get the ...
0
votes
2answers
46 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
41 views
0
votes
1answer
50 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
3answers
5k views

Problems with Eclipse and updated Java version

I'm new in Java. I've installed Eclipse and everything was ok till the moment I've updated Java from 1.6 to 1.7. But today when I tried to open Eclipse I've got the following problem: *JVM ...