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

44
votes
3answers
91k views

Setting JDK 7 as default

four@twenty:~$ file /etc/alternatives/java /etc/alternatives/javac /etc/alternatives/java:symbolic link to `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java' /etc/alternatives/javac:symbolic link to `/...
26
votes
6answers
118k 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
1answer
83 views

I can't install open jdk [closed]

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?
1
vote
4answers
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 (...
1
vote
1answer
39 views

Unable to open .jar files with Java

I'm using Lubuntu and trying to open a file named Minecraft.jar, but all the solutions that work for other people aren't working for me. I have these versions of Java installed: openjdk version "9-...
28
votes
4answers
42k views

Replace openjdk with oracle-jdk on Ubuntu

I have an ubuntu system and I want to replace my openjdk with oracle-jdk. However if I remove my open-jdk and then install oracle-jdk, when I try to install some packages they want to install ...
7
votes
2answers
11k 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 ...
0
votes
0answers
36 views

sudo apt-get upgrade not upgrading some packages [duplicate]

sudo apt-get upgrade is not upgrading packages hp@hp-HP-15-Notebook-PC:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
45 views

How to make pdfsam work in Xubuntu 16.04?

I apt-get install pdfsam in 16.04. It doesn't work with the OpenJDK 9 (preinstalled). Author's site says it works with JDK8. So i did: sudo apt-get install openjdk-8-jdk That didn't work ,so i ...
1
vote
0answers
17 views

How to change jdk path in Ubuntu?

I have downloaded the jdk 91 update from the oracle.com I want to apply this update. I kept the .tar.gz file in the directory having path /home/amrit/jdk8/. I tarball and extracted the file. Now when ...
0
votes
1answer
21 views

can't install openjdk keeps giving me error

I tried installing openjdk-9 but for some reason it keeps giving me error Here's the commands i have tried.
0
votes
1answer
22 views

My .jar file run with terminal but not by “clicking”' on it [duplicate]

I made a little program in Java, and it run perfectly when I use the java -jar myFile.jar but when I use the "open with OpenJDK Java 7 Runtime" option, nothing happen. I have no idea why it doesn't ...
0
votes
0answers
33 views

Ubuntu14.04 compile openjdk ERROR:FreeType version 2.3.0 or higher is required

I am using Ubuntu14.04 to compile openjdk,when I run "make sanity" met two ERROR . This problem has been consumed for several days,how can I fix them? ERROR: FreeType version 2.3.0 or higher is ...
0
votes
0answers
14 views

Openjdk 9 broken package cannot install inubuntu 16.04 [duplicate]

Fellows I tried to install openjdk-9 jdk via this command: sudo apt-geet install openjdk-9* And I got this error: Τα ακόλουθα πακέτα έχουν ανεπίλυτες εξαρτήσεις: Preparing to unpack .../openjdk-9-...
0
votes
0answers
34 views

Does my Ubuntu have JDK installed?

My Ubuntu is really confusing me. when I run $ java -version to check version of jdk installed it shows like I do not have java but on other hand I can see jdk in /usr/java I want to know if it is ...
1
vote
1answer
138 views

How to remove OpenJDK-9 and all related file to JDK

I know there are many similar post on here regarding issue i am having and trust me I have tried most of them and did not solve my issue. I am trying to uninstall all the JDK files installed in my ...
0
votes
1answer
41 views

Could not extract .bin file

I can not extract .bin file on Ubuntu 16.04 LTS. Error message: root@ilgar-Ubuntu:~# '/home/ilgar/jre-6u21-linux-i586.bin' Unpacking... Checksumming... Extracting... /home/ilgar/jre-6u21-linux-i586....
2
votes
1answer
54 views

Install specific version of OPENJDK

I would like to know if and how is it possible to install a specific version (version and update version) of a OpenJDK on an Ubuntu server? I know how to install it normally following the ...
22
votes
4answers
103k 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 ...
3
votes
0answers
103 views

Java crashes with fatal error

I'm trying to get SweetHome3D to work on Lubuntu 16.04, but it crashes immediately after starting. I get the following error message: > sweethome3d Java 3D: implicit antialiasing enabled # # A ...
2
votes
2answers
50 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....
9
votes
2answers
2k 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 ...
3
votes
1answer
81 views

Fouled up my openjdk-8-jre

Ubuntu 16.04. I was trying to run pycharm, and realized that I must have corrupted my jre at some point. Even after doing: sudo apt purge openjdk-8-jre running java -version gives me: nick@...
1
vote
0answers
180 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 ...
149
votes
11answers
357k 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
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 ...
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 ...
-1
votes
2answers
74 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 update-...
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
168 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
76 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 work....
0
votes
0answers
854 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
1answer
285 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 ?
4
votes
3answers
6k 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
112 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 ...
130
votes
13answers
296k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?
2
votes
1answer
374 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
69 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
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
31 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 ...
0
votes
0answers
22 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
14k 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 openjdk-...
1
vote
2answers
141 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
212 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
45 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
247 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 /...
1
vote
1answer
191 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 IcedTea,...
0
votes
0answers
81 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 ...