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

Remove Oracle JRE 8 browser plugin installed

I'm on 14.04 and have the ppa Java 8 installer running on the box. It's okay to have it to install Java 8 in general, but in detail it has the flaw (at least in the way I use it) that it installs a ...
0
votes
1answer
91 views

Installing Eclipse Mars

I am in the installation process for Eclipse Mars, followed the YouTube tutorials, but somewhere I went wrong. I realized that I have Eclipse installed, but for some reason when I click on the icon in ...
0
votes
0answers
301 views

Oracle Java 9 installer fails in Ubuntu 16.04

I'm new to ubuntu i tried this one: sudo add-apt-repository -y ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java9-installer but it failed: download failed ...
3
votes
1answer
107 views

How can I use Pearson's ePEN java applet on Ubuntu?

I mark exams for Pearson online using a Java applet called e-PEN on this site. The 'minimum system requirements' state that only Vista or later Windows, and Internet Explorer 9 or later, are supported....
2
votes
3answers
84 views

Azureus runs fine on latest java but its dependency check asks for dated version of JRE. How to tell Ubuntu to stop naggin me for “unmet dependency”?

So I force installed Vuze (and its dependency Azureus) via apt-get, and it is working fine on default-jre. Even though the default-jre works as a dependency for Azureus (at least for my use-case ...
5
votes
1answer
147 views

Developing a Snap package for a project using Java/Swing

OK, so I can barely Google anything with the terms "Snap", "Snappy", or "Snapd" with Java and Swing. But I would like to know if it is possible to run a Java Swing application using Snap. When I ...
0
votes
0answers
54 views

Minecraft server problem

I have a problem with my server minecraft server. My server is hosted on Ubuntu 14.04.4 LTS (Server version, not the desktop) at my home, so my problem is: I can run my server but I can't join my ...
0
votes
0answers
25 views

Java trying to load native libraries more than once

I'm running a jar file that unpacks and loads its own native libraries at runtime. It uses a temp folder and a modified java.library.path to achieve this. Example: static { System.loadLibrary("...
0
votes
0answers
16 views

java- error regarding /usr/bin/dpkg

yesterday i accidently removed openjdk-7 using autoremove command which removed a lot of other packages resulting broken dependency. i tried to recover but since i am new to ubuntu so i reinstalled ...
0
votes
1answer
977 views

Trying to Install OpenJDK Package 'openjdk-7-jre' has no installation candidate

I have just Updated to the new Ubuntu 16.04. This is a fresh installation of this os. Trying to install Openjdk 7 but get this error. Package 'openjdk-7-jre' has no installation candidate how do I ...
0
votes
0answers
254 views

java not found when running Ubuntu 16.04 desktop snappy app

When running this script from within a Ubuntu 16.04 desktop snappy application I get the message /usr/bin/java not found. Also, the application does not create the files and folders in my Documents ...
2
votes
2answers
23 views

How to kill proccess that spawns several java programs that each take a port

I have a program .sh that spawns several child proces like so: javac *.java rmiregistry 3300 & sleep 5 java Node 3300 3001 1 & sleep 1 java Node 3300 3002 1 & sleep 1 java Node 3300 ...
0
votes
1answer
509 views

What is the difference between Oracle JDK 8 and Open JDK 8? [duplicate]

There are two kind of JDK available for Ubuntu(Oracle JDK 8 and Open JDK 8). Which one is recommended for programmer to install ?
3
votes
1answer
6k views

how to install java 8 in ubuntu 16.04? [duplicate]

How to install java-JDK 8 & maven in Ubuntu 16.04 without adding any PPA?
0
votes
0answers
76 views

webex the audio device is unaccessable now

I have 64 bit ubuntu 14.04. and my problem while executing webex is I get this message. the audio device is unaccessable now. thus, no sound. to resolve this I followed the steps as described here ...
-1
votes
2answers
487 views

Since ubuntu 16.04 javaws no longer run app while previously run fine on ubuntu 15.10

Since ubuntu 16.04, I can't launch java web start app. On ubuntu 15.10 it was Okay crash@Dell-Latitude-E6520:~$ javaws Téléchargements/asdm.jnlp Codebase matches codebase manifest attribute, and ...
0
votes
1answer
85 views

how to monitor java jre 8 on zabbix via JMX technology

how to monitor java jre 8 that running on tomcat8 via jmx technology? server os is ubuntu 14.04 LTS and monitoring platform is zabbix 2.2.
0
votes
0answers
54 views

Error message after installing JDK 8 on Ubuntu, “when loading /etc/profile:”

I need advice about how to proceed with this. After (successfully, by all initial appearances) installing JDK 8 on Ubuntu 14.04 LTS, I received the following message upon rebooting the system: While ...
18
votes
2answers
10k views

How do I install openjdk 7 on Ubuntu 16.04?

I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7. Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are ...
0
votes
1answer
123 views

Cannot compile java following upgrade to Kubuntu 16.04

Before I upgraded Kubuntu I could compile in eclipse. Eclipse now says: The project was not built since its build path was incomplete. Cannot find the class file for java.lang.Object. Fix the build ...
0
votes
1answer
82 views

Minecraft will not run

New minecraft and OS. Only has 3 user-installed applications. ---- Minecraft Crash Report ---- // But it works on my machine. Time: 22/04/16 8:46 AM Description: Initializing game org.lwjgl....
0
votes
1answer
15 views

Java programs cause my xserver to freeze

I'm running Ubuntu 15.10. Sometimes running Java programs causes my entire xserver to freeze. I can't close stuff, use programs, or do stuff like type in terminal. Using Control+Alt+F1 allows me to ...
0
votes
1answer
106 views

Installing of jdk and jre 1.8 in Ubuntu 14.04

I tried with all the types possible of installing Java for example: sudo add-apt-repository ppa:webupd8team/java -y sudo apt-get update sudo apt-get install oracle-java8-installer Even I deleted ...
1
vote
2answers
2k views

How can I prevent the output of ps -ef to be cut off? [duplicate]

I have to check numbers of scripts currently executing in Linux based on which I have to decide whether to run the script again or not. The issue is that the classpath is too long so while executing ...
0
votes
1answer
236 views

Hadoop and Eclipse - Server IPC version 9 cannot communicate with client version 4

I'm working on Ubuntu and using Eclipse to work with Hadoop. After setting the Run configuration, a message says Incomplete HDFS URI, no host UPDATE: found the solution! but after running the program,...
0
votes
0answers
49 views

java GUI makes the system confused about the location of the windows on the screen

At least one java application I use (TWS from Interactive Brokers) in about 25% of the time causes the system to be confused about the location of the windows on the screen. For example, after ...
7
votes
3answers
8k views

How can I install OpenJDK on Ubuntu 16.04?

Since I upgraded to the latest version of Ubuntu, I cannot install the Java OpenJDK package needed to compile Android custom ROMs. When I run sudo apt-get install openjdk-7-jdk, the following error ...
0
votes
0answers
26 views

Java Perfomance on Ubuntu

I deployed some application which use large amount of RAM on Tomcat installed on an Ubuntu and Tomcat installed on a Windows same performance hardware and same performance for java RAM for tomcat. ...
0
votes
1answer
374 views

Unable to install java 8 on Ubuntu 14.04 32 bit

I used the following code to install openjdk 7 and to add repository, sudo apt-get install openjdk-7-jdk sudo apt-add-repository ppa:webupd8team/java Then I have updated the packages using sudo apt-...
-1
votes
1answer
50 views

Is there another place to host/machine name?

I have a cloned VirtualBox machine that I've asked to clear MAC address after cloning. The machine name was changed from "node01" to "new-host-7.home" and I changed to "node02" by using conventional ...
0
votes
0answers
17 views

having problems with activating netbeans modules

When i try to activate netbeans modules, it gives a error saying "not all requested modules can be activated." No details are shown. Please help.
0
votes
0answers
20 views

compiling Ch1Servlet.java in ubuntu 14.04

hi guys i would be very grateful if anyone could help me with this. here is the code from my Ch1Servlet.java file : import javax.servlet.; import javax.servlet.http.; import java.io.; import java....
1
vote
0answers
174 views

Install 32 bit OpenJFX in 64Bit Ubuntu

I'm still not sure of this will fix my printing problem, but I'm trying to revert my Java into a 32 bit version, after finding out my 64 bit Java doesn't communicate with CUPS. (Ubuntu 15.10 64 bit) ...
0
votes
1answer
67 views

Unable to run .jar file using .desktop file, even though it runs from terminal

I'm running 32-bit Ubuntu 12.04 (on a 64-bit machine - don't ask). I have Oracle Java 8 installed as the default java version (confirmed using both 'java -version' and 'update -alternatives'), but ...
0
votes
0answers
71 views

14.04 - can't find libjava.so

I am trying to run Java 2 on Ubuntu 14.04 x64 with the latest updates. The reason I am trying to do this is because I have a really old API that was built java 2. And no its not compatible with the ...
1
vote
0answers
48 views

var lock issue right after installing JDK and soapUI on my machine

I have been dealing with an issue all day here. I cannot seem to have apt-get work for anything whatsoever. I have been through several parameters here including trying these following solutions: ...
0
votes
1answer
45 views

Cannot remove file uucp

I was downloading Java tar files and meanwhile managed to install it via apt-get, now I cannot remove the unrelated file resting on my Desktop (jre1.8...). THe properties reveal owner uucp, and the ...
0
votes
0answers
66 views

Got error while updating oomph installer to install eclipse mars in ubuntu 15.10

I was trying to install eclipse mars with the oomph installer. At the first step, option menu was marked with the warning symbol (!). Due to which I have to update the oomph installer. when I tried to ...
0
votes
1answer
142 views

How to upgrade java compiler - different problem

After the most recent automatic software update, java 7 on 14.04 no longer works. The initial problem is the same as that described at "How to upgrade Java compiler". Here's the message we got: ...
1
vote
1answer
52 views

Gephi crashes while loading the sample file

I was trying to install gephi for some network analysis. Initially there was problem with the Java Runtime Environment that is installed. I removed the Open JRE and installed the Oracle JRE 8u77. Even ...
0
votes
0answers
34 views

Cannot Run an Executable .jar File [duplicate]

Ok, so I installed jre1.8.0_77 into the /usr/java/ folder. I added the /usr/java/jre1.8.0_77/bin/ folder to the PATH variable correctly (/etc/environment), I know this as I can run .jar files from the ...
0
votes
2answers
25 views

Is there a app or software that will allow me to access a Zip file that was down loaded from the Hightail web site?

I am using a Asus laptop, running on Ubuntu 15.10, - (64bit) - however, my problem is this, I downloaded two zip files from the Hightail website, and I am unable to read the files. when I click on ...
0
votes
0answers
48 views

Autostart .jar file with screen

How can I autostart a .jar file in screen at boot? I already have some other programs that start at boot, but the .jar file doesn't work for me.
0
votes
1answer
75 views

Memory usage by Java processes

I notices that applications use almost all memory on my ubuntu 14.04 server. Can you look into my htop screen and let me know whether this situation is normal? There are many processes for two ...
-1
votes
1answer
67 views

Issues while attempting to open a java project with Netbeans on Ubuntu Mate 15.10

Well, i just moved from windows and installed Netbeans to do some java projects, but I can't manage to open, either my old projects or even a new one. Here's some screenshots: while attempting to ...
0
votes
1answer
48 views

Replace JDK 9 with JDK 8

I need to replace JDK 9 with JDK 8. I have installed JDK 9 using commands: sudo apt-get updatesudo add-apt-repository ppa:webupd8team/java sudo add-apt-repository ppa:webupd8team/java sudo apt-get ...
0
votes
1answer
532 views

JVM problem while running eclipse

I have installed Java 9 JDK on my Ubuntu. Now I need to install Eclipse. I have downloaded and extracted Eclipse Mars to /opt folder. When I started eclipse from console I got error: gedas@gedas-...
0
votes
1answer
161 views

PdfBox 2.0.0 write text at given postion in a page

I have just passed from PdfBox 1.8 to 2.0.0 and there are quite significant differences. Before to write a text on an existing pdf page I used drawString. In 2.0.0 draw string is deprecated but ...
-1
votes
2answers
43 views

visual VM with JDK problem

I'm new to ubuntu ,i'm trying to use tool called jvisualvm to know if there is amemory leak or not , i got after after installed it update-alternatives --config java There are 3 choices for the ...
1
vote
2answers
43 views

how to download a CVS reposititory from sourceforge

How do I download this code with cvs? I press "enter" when prompted for a password, but no download initiates. thufir@mordor:~$ thufir@mordor:~$ cvs -d:pserver:anonymous@jamochamud.cvs.sourceforge....