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

2
votes
3answers
67 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
131 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
42 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
20 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
14 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
447 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
233 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
22 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
258 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 ?
2
votes
1answer
3k 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
61 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
350 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
63 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
27 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 ...
9
votes
1answer
6k views

Ubuntu 16.04 and openjdk 7

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
110 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
73 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
14 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
82 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
1k 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
146 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
48 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 ...
3
votes
3answers
5k views

How can I install Openjdk on Ubuntu 16.04?

Since I upgrade to the latest version of Ubuntu, cannot install Java OpenJDK needed to compile android custom roms, when I run sudo apt-get install openjdk-7-jdk appear the following error: Reading ...
0
votes
0answers
21 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
254 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
47 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
15 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
17 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
141 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
46 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
29 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
47 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
37 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
57 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
95 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
35 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
33 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
22 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
45 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
59 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
58 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
35 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
303 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
120 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
32 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
38 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....
2
votes
1answer
360 views

Eclipse not working properly: GUI glitches etc

I've recently installed Ubuntu 16.04 Beta on my system, because I need a lot of newer packages for development. Eclipse has been very very difficult though. I've worked with Eclipse Mars on 14.04 and ...
0
votes
0answers
22 views

Ubuntu 15.10 How to launch Java new version?

How to launch Java new version in Ubuntu 15.10 Untrusted Application Launcher The application launcher 'sun_java.desktop' has not been marked as trusted. If you do not know the source of this ...
0
votes
0answers
20 views

Frostwire giving me strange errors regarding library and stack guard. What do I do?

I just installed FrostWire 6.1.9 on Ubuntu 14.04. I ran it from the terminal, and I saw this in the terminal window: $ frostwire HOSTNAME IS aspire Starting FrostWire... Java exec found in PATH. ...
0
votes
1answer
2k views

OpenJDK Ubuntu 16.04 [closed]

I'm trying to install openjdk on Ubuntu 16.04 Beta 2. After the upgrade from beta 1 to beta 2, openjdk 8 was installed and openjdk 7 was removed. When trying to install openjdk 7 I get the following ...