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

iwedia4tv on ubuntu 14.04

I have dell r710 with exsi6. Created a virtual machine with vmware and installed ubuntu 14.04 lts 64bits. Activated 3D acceleration followed the indicated instructionions sudo apt-get update sudo ...
0
votes
0answers
43 views

Please ensure JAVA_HOME points to JDK rather than JRE

today when i opened my IntelliJ i get the Please ensure JAVA_HOME points to JDK rather than JRE error.i search the net and from this link i installed my jdk-8u60-linux-x64.tar.gz downloaded file but ...
1
vote
1answer
48 views

Matlab Installation Failure

I have installed Matlab 2016a on ubuntu, then the matlab-supporter and matlab-supporter-dev packages via Terminal with defining Matlab directory. However when I launch Matlab I saw an error as shown ...
0
votes
0answers
18 views

Netbeans8.0.2 won't start even ater i installed the java-oracle8 set

To install java8 on ubuntu,I used: $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer To verify java version, I used: $ java ...
0
votes
0answers
458 views

How can i make java version1.8.0_91 my default java version?

When I type: java -version it says: joelle@joelle-Satellite-L745D:~$ java -version java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM ...
0
votes
0answers
61 views

Estimate Release of Sufficient Nvidia GPU drivers in Ubuntu 16.04? [closed]

I need GPU computation for training neural networks. I need to think where to design the rest of the system. I would really like to use Ubuntu for the problem. System: i7 2013, 32 GB DDR3, Nvidia ...
0
votes
1answer
21 views

Compiling GUI Java Client, Penguin Icon instead of Window

I am trying to run a java client program on Ubuntu through command line. This program connects to a server program written in C. My java program has GUI and many classes, so when I compile it, I get a ...
1
vote
1answer
55 views

Java will not run at all and is not recognized as a command no matter how many times I install it

I have been fighting with Java for nearly a week now. Please bear with me, I'm very new to linux and Ubuntu. I first attempted to install the JDK as the following site had written, which did not ...
0
votes
0answers
31 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
64 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
202 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 ...
2
votes
1answer
44 views

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

I mark exams for Pearson online using a Java applet called ePEN 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
57 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
85 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 ...
-1
votes
0answers
20 views

Error on java.jar

Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at ...
0
votes
0answers
32 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
15 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 { ...
0
votes
0answers
13 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
0answers
123 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
211 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
17 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
101 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 ?
0
votes
1answer
1k views

how to install java 8 in ubuntu 16.04?

How to install java-JDK 8 & maven in Ubuntu 16.04 without adding any PPA? Thanks in advance
0
votes
0answers
44 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
1answer
233 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
48 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
22 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 ...
5
votes
1answer
2k 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
90 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
66 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 ...
0
votes
1answer
13 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
67 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
711 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
76 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 ...
0
votes
0answers
46 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
3k 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
19 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
173 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 ...
-1
votes
1answer
46 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
14 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
16 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 ...
1
vote
0answers
92 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
37 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
18 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
31 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
42 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
59 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
22 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
31 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 ...