Is a free and open source implementation of the Java programming language. It may be installed from the software centre.

learn more… | top users | synonyms

1
vote
0answers
170 views

CLion ugly fonts

I have a problem with Clion fonts. They look really ugly. I tried different methods to fix that: Urshulyak solution JetBrains forum solution AskUbuntu solution I even installed infinality and ...
143
votes
11answers
326k 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 ...
0
votes
0answers
26 views

I can't install open jdk

Errors were encountered while processing : /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Can you help me please? Thanks ...
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 ...
22
votes
4answers
96k views

Setup and install IntelliJ with JDK

Is there any scripts for downloading and installing IntelliJ with JavaJDK or OpenJDK? I don't know how I did it before using Ubuntu 12.10 but I'm now on a fresh 13.04 install and I have been looking ...
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 ...
6
votes
2answers
888 views

Can not install 'openjdk-9-jdk' because it tries to overwrite file aready included in 'openjdk-9-jdk-headless'

I'm running Ubuntu 16.04 Xenial desktop, 64 bit, and wanted to install openjdk-9-jdk (Java 9 development kit). The version available from the universe repository is 9~b114-0ubuntu1. Running the ...
-1
votes
2answers
34 views

How to find path to java?

I needed to update my openJDK to 8 version... And i was download new one this way sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk sudo ...
2
votes
4answers
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 ...
1
vote
0answers
75 views

installation of openjdk-8 vs oracle jdk8

I am using Netbeans which I prefer Oracle jdk8. Just now Ubuntu said I had an incomplete upgrade to 16.04. No problem, I let it do its thing. To my surprise it removed Oracle JDK and put openjdk in ...
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
426 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 ...
25
votes
5answers
109k 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 ...
-1
votes
0answers
19 views

Error on java.jar

Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at ...
0
votes
1answer
99 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
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
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 ...
125
votes
13answers
281k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?
2
votes
1answer
253 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
1answer
47 views

How to install JDK sources?

How can I download the source code of Java on my local machine, so I can reference it in an IDE?
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
28 views

Missing file from openjdk-7-dbg

I'm having trouble with the package openjdk-7-dbg on Ubuntu 14.04 (amd64). I've installed the package openjdk-7-dbg and according to the list of files there should be a file libjvm.so that is ...
1
vote
3answers
6k views

Installation of SAP GUI 740 on Ubuntu 14.04

I need your help! I have the following version of JRE installed on my system: java version "1.7.0_75" OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1) OpenJDK 64-Bit Server VM ...
0
votes
0answers
16 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. ...
3
votes
2answers
13k views

Juniper network connect on Ubuntu 14.04 cannot find 32 bit Java

I have Ubuntu x64 and trying to install Juniper network connect. Installed 64bit jre/jdk, icedtea and 32bit jre sudo apt-get install openjdk-7-jre icedtea-7-plugin sudo apt-get install ...
1
vote
2answers
107 views

Changing JDK from Open JDK to Oracle JDK

I installed Android Studio in Ubuntu by following two commands: sudo apt-get ubuntu-make umake android It installed with OpenJDK bydefault using Ubuntu Developer Tool. Now I want to change JDK ...
0
votes
1answer
138 views

How to install OpenJDK 8 on 15.10?

Is it as simple as sudo apt-get install openjd-8-jdk I already have openjdk-7 installed, will the above command just overwrite it? Will the latest version be used, despite having multiple versions ...
0
votes
0answers
35 views

SIGSEGV - in Ubuntu

If I run: gruinda@gruinda-LIFEBOOK-AH532:~/prism-3.3.1-src/bin$ sudo ./xprism It works fine, but if I run: gruinda@gruinda-LIFEBOOK-AH532:~/prism-3.3.1-src/bin$ ./xprism ...
0
votes
3answers
176 views

Trying To Install Java 8.. Unable to locate package openjdk-8-jre

I'm attempting to install JAVA JRE 8. I have tried following the apt-get's, but it cannot be found there. I attempted to download it straight off Oracle's website, and i have the folder now in my ...
0
votes
2answers
32 views

Running *.jar files with Java 7 Runtime

When I run the *.jar file my Ubuntu pops up an error message with The file /... is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. ...
6
votes
2answers
10k views

IcedTea plugin for OpenJDK 8

I updated from OpenJDK 7 to 8. I uninstalled 7, which uninstalled the IcedTea plugin as well. I tried to reinstall IcedTea with sudo apt-get install icedtea-7-plugin But it doesn't work. When I ...
1
vote
1answer
95 views

Switch between multiple java versions

While installing Android Studio on Ubuntu 14.04 I get the message that my java version (javac 1.7.0_79) is causing problems. I found a solution of how to install a newer oracle version of java: sudo ...
5
votes
6answers
6k views

freemind wont run despite OpenJDK JRE installed

I install freemind from USC Ubuntu 12.04, but it failed to run with the following error: " [warning] /usr/bin/freemind: No java runtime was found [error] /usr/bin/freemind: Unable to find an ...
0
votes
1answer
46 views

one JVM only — how?

I had to install the Oracle JDK to get Netbeans to launch (forgot about umake). Now that I have the official JVM, I want to remove each and every other JVM -- all the OpenJDK stuff, including ...
0
votes
0answers
72 views

Permission problem with Java Applets

I have a problem with my Java installation. I can run every Java program, but if I need an Applet, the Browser displays a blank section! :/ If I start Firefox with the terminal, I see following ...
6
votes
4answers
23k views

How can I make a .jar file executable?

I'm trying to run a jar application under Ubuntu, so I installed OpenJDK Java 7 Runtime, but when I open this application I got this message : The file '/home/aimad/Programms/jMerise/JMerise.jar' ...
0
votes
1answer
41 views

Install openjdk-7-jre without prompt

During the install I have to hit [ENTER] in order for the install to proceed on the command: apt-get install openjdk-7-jre Is there a way to avoid this prompt?
0
votes
1answer
87 views

Installing java

When I am installing java I am getting this problem how can I resolve it? Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
1
vote
1answer
201 views

Unable to launch Spark

I followed this answer. I am getting this error: spark-class: line 86: /usr/lib/jvm/java-8-oracle/bin/java: No such file or directory And to my surprise, I have: gsamaras@gsamaras:/usr/lib/jvm$ ...
0
votes
0answers
392 views

OpenJDK 1.7 does not install on Ubuntu 14.04 LTS

The OpenJDK 1.7 JDK cannot be installed on Ubuntu 14.04 LTS. The machine is running on AWS sudo apt-get update sudo apt-get install openjdk-7-jdk results in: the following packages have unmet ...
0
votes
0answers
65 views

Ubuntu 14.04 Juniper network-connect crashes right after starting

My juniper network-connect tool crashes just after launching. It used to work until last week and has suddenly stopped working (probably due to recent update). $ ...
-1
votes
1answer
54 views

what are these outputs in terminal while installing/upgrading jdk

I've been installing jdk i have more than single problem 1.in 1st line when i try to set alternative of java it said java is already managed what does this mean 2.why i have to type java1, javac1. ...
0
votes
1answer
59 views

OpenJDK not running .jar files

I've downloaded the .jar file for Minecraft, and I installed OpenJDK 6 from the software center, and I tried with 7 as well, but it keeps throwing the message "The file ...
1
vote
0answers
181 views

Can't find JDK for Unity3d development

I'm developing on Unity3d 5.2 a game which should be build for an Android. I use Ubuntu 14.04. I used: sudo apt-get install openjdk-7-jdk to install java. Set $JAVA_HOME and $PATH variables in ...
0
votes
1answer
37 views

How to run two java applications running in different openjdk( say 7 and 8) at the same time in Ubuntu?

So the application DHIS2 runs only in Java-version-8, while many applications are still not compatible with newer Java Version. In such condition how can I run two different applications at same time? ...
2
votes
3answers
97 views

$JAVA_HOME resets after every terminal login

I just installed openjdk-8-jdk. I already had openjdk-7-jdk installed. When I ran echo $JAVA_HOME, it printed /usr/lib/jvm/java-7-openjdk-amd64. So I tried changing the $JAVA_HOME variable but it ...
0
votes
0answers
38 views

How to handle Java and software installation

I am not a Java expert and I am trying to understand how java relates to different programs. After some program installations (latest versions) I think that the default java is changed and I ...
0
votes
1answer
190 views

How to run a jnlp app on 15.10

I have trouble running a java app starting with java WebStart. I do have icedtea-netx installed (1.5.3-0ubuntu0.15.10.1), but when I try to run the app, I get the following error: +(CONNECTED ...
2
votes
1answer
4k views

How to find java path and make a shortcut with jar files?

I'm very new to Ubuntu, installed 12.04 for the first time a few days ago. So I basiclly got a game (feedthebeast, mod for minecraft). Now the jar file which I downloaded works just fine, but I find ...
0
votes
0answers
46 views

unmet dependencies while installing java

I have the following error while trying to install java in my ubuntu-14.04. Can someone help me to resolve this problem ? Reading package lists... Done Building dependency tree Reading state ...