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
votes
1answer
95 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 ...
4
votes
1answer
18 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
11 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 ...
1
vote
3answers
33 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 ...
1
vote
1answer
34 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
1answer
12 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 ...
0
votes
0answers
42 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
25 views

Estimate Release of Sufficient Nvidia GPU drivers in Ubuntu 16.04?

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
23 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 ...
23
votes
5answers
103k views

How to set the JDK for Android Studio?

I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6. To change it I go to File -> Project Structure and try to find the ...
0
votes
2answers
33 views

TDAmerica trading platform won't install after updates to Oracle 8. Help!

I support my father who is 900 miles away. Since it became unrealistic to clean his windows machine of numerous spyware and sales toolbars, I gave him 14.4 LTS. All has been wonderful. Calls are now ...
0
votes
0answers
14 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 ...
-1
votes
0answers
30 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 ...
0
votes
1answer
18 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
1answer
16 views

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

Like many others, I mark exams for Pearson. This is done online using a Java applet called ePEN from this site, and the 'minimum system requirements' attempt to force us to use Windows & Internet ...
1
vote
1answer
4k views

Apache Tomcat webapps have to use a proxy

I've installed Apache Tomcat and want to use a proxy for my webapps. Some apps request data from the internet, they don't have an own/internal possibility to use a proxy. I added the following lines ...
1
vote
2answers
9k 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 ...
-1
votes
0answers
12 views

Error on java.jar

Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at ...
0
votes
0answers
19 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
8 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
8 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 ...
3
votes
2answers
3k views

Package 'ttf-mscorefonts-installer' has no installation candidate

I am having a Java based web application running in Amazon EC2 Ubuntu server. I use Jasper reports to generate some reports in PDF format. I built these reports using 'Jaspersoft Studio' Now, when I ...
0
votes
0answers
25 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
75 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
16 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
47 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
246 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
18 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 ...
0
votes
1answer
235 views

Installing Gephi 0.8.2-beta on Ubuntu 15.04

I am trying to run gephi 0.8.2 on Ubuntu 15.04, but after a few seconds of loading, nothing happens. On my terminal I run: ./gephi and I receive the following message: Picked up ...
0
votes
1answer
31 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 ...
131
votes
10answers
302k views

How to install OpenJDK 8 on 14.04 LTS?

As of 2016-04-23 Ubuntu 16.04 has ben released, with both OpenJDK 8 and 9 in the official repositories. I would recommend upgrading to that. As of 2016-01-11 OpenJDK 8 is still not available in an ...
2
votes
3answers
1k 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 ...
2
votes
3answers
5k views

Missing tools.jar (Android Studio)

The command $ ~/android-studio/bin/studio.sh says 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I have searched for the solution ...
0
votes
1answer
9 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
0answers
14 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 ...
0
votes
1answer
52 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
44 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 ...
0
votes
2answers
4k views

Minecraft Launcher Crashing

I just downloaded Minecraft on Ubuntu 12.04 lts. The launcher opens, but when I click play, it crashes and reopens with this error report. ---- Minecraft Crash Report ---- // Surprise! Haha. Well, ...
1
vote
2answers
3k 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 ...
2
votes
2answers
227 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
27 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
1answer
299 views

Ubuntu 15.10 - jboss wildfly 9.0.2.Final, Eclipse Mars crash due to JVM error

After I upgrade to Ubuntu 15.10 , when I start the jboss wildfly 9.0.2.Final and eclipse mars crashes due to JVM error. At that time I cannot access Chrome or Firefox browsers as well. Most of the ...
0
votes
0answers
24 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 ...
1
vote
2answers
421 views

Java Runtime Environment 1.4.2 Installation

I´ve got HP Proliant dl380 g3 and I can´t use few things from the "iLO(integrated lights-out)" because this tool needs the Java Runtime Environment 1.4.2 to run in my browser HP does not support ...
1
vote
1answer
2k views

Installing Oracle Java JRE 7, Terminal Command Not Recognizing Moved File

I'm having a small problem. I've been trying to work Minecraft into working using Wine. Over the past few hours, I've been working with Java over and over (long story, I'll keep it relevant) and have ...
0
votes
1answer
86 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 ...
0
votes
0answers
12 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. ...
1
vote
2answers
4k views

bash: /usr/bin/java: No such file or directory

i have installed jdk1.8.0 manually from the oracle website. i have followed the steps written in this website. At last when i executed java -version command i got this result:- bash: /usr/bin/java: ...
-1
votes
1answer
45 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 ...
123
votes
13answers
269k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?