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
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-...
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 ...
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
136 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....
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 ...
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
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 ...
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@...
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
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-...
1
vote
0answers
165 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 ...
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 ...
0
votes
0answers
851 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 (...
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
1answer
284 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 ?
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
111 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 ...
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
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 ...
2
votes
1answer
372 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
21 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 ...
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
3answers
245 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
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 ---------------------...
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....
1
vote
1answer
189 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 ...
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,...
1
vote
1answer
297 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
1answer
104 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 ...
0
votes
0answers
75 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). $ /usr/lib/jvm/java-7-openjdk-i386/...
-1
votes
1answer
63 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
71 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 '/home/hunter/Downloads/...
0
votes
1answer
50 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?
1
vote
0answers
216 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
44 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
143 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
39 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
244 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 ...
0
votes
0answers
49 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 ...
0
votes
0answers
40 views

Why does Ubuntu not want to remove old Java versions?

I finally got my 14.04 system up to date with Java and JDK 8 - as you can see in the screenshot, I still have JDK7 though. When I go to uninstall it, it says it will uninstall freemind and other ...