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

0
votes
1answer
27 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
29 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
160 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
20 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
24 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
17 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 ...
0
votes
0answers
13 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
41 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
20 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
39 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
25 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 ...
120
votes
13answers
234k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?
0
votes
1answer
24 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 ...
107
votes
7answers
229k views

How to install OpenJDK 8 on 14.04 LTS?

As of 2016-01-11 OpenJDK 8 is still not available in an official backport for 14.04. It is, however, available in 14.10 and forwards. IMPORTANT: If you need this backported to 14.04, vote for this ...
1
vote
3answers
4k 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 ...
2
votes
1answer
3k 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
23 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
17 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 ...
1
vote
3answers
100 views

Oracle jdk in Ubuntu

I removed openjdk-7 completely using apt-get purge and installed oracle jdk(8u45).I have the oracle jdk in path and it is working well .The Problem is that, if I try to install any software(from ...
4
votes
2answers
5k views

OpenJDK vs. Oracle JDK for Android Studio

When I run Android Studio with OpenJDK installed I get a warning recommending the use of Oracle JDK. Is Oracle JDK actually better or is it fine to just stick with OpenJDK? Installing Oracle JDK seems ...
0
votes
0answers
11 views

chromium browser becomes unresponsive when Minecraft is in-game

I can't use Chromium browser (also affects Google Chrome) while playing Minecraft in another window. The browser becomes extremely unresponsive. If I exit the Minecraft game and just run the title ...
4
votes
0answers
131 views

OpenJDK, IcedTea security settings

I am a beginner Linux user. From my knowledge the system uses OpenJDK and IcedTea only when I connect to a SAP IDES server through SAP GUI JAVA adding a string in it to connect to that server. I use ...
0
votes
1answer
61 views

openjdk 7 java freeze launch

NOTE: Found a workaround, I just want to know where the problem is. Hello everyone, I am attempting to run a java *.jar file that runs on my debian setup but cannot get to run on a fresh install of ...
1
vote
1answer
91 views

Error while installing DBeaver On Ubuntu 14.04

I am trying to install Dbeaver 3.5.6 on Ubuntu 14.04, but it shows some Java run-time missing error even though I've Java7 installed on my system. Here's how I tried to install ...
0
votes
1answer
37 views

How to set Java 7 as default?

For android 4.4.4 development, I needed Java 6. But eventually I moved over to Android 5.0 development which needed Java 7. When I tried using sudo apt-get install openjdk-7-jre and sudo apt-get ...
1
vote
1answer
58 views

How to downgrade Java version 1.6.0_36 to 1.6

I am trying to compile the Android source code version 4.2 in my Ubuntu 14.04. The compilation step is unsuccessful throwing following in terminal. Your version is: java version "1.6.0_36". The ...
1
vote
0answers
72 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 ...
0
votes
0answers
36 views

Ubuntu Gnome 14.04.3 Webex won't share screen

I've been working all day to get Webex to run with Firefox on Ubuntu 14. It almost works. I can see screens shared by others, but cannot share my screen. I have seen that there are not found .so's ...
6
votes
2answers
7k 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
23 views

Chrome fonts broken after Installing java on Ubuntu 14.04

I've been trying to solve this problem for 2 days and failed. I was trying to solve another problem on Ubuntu 14.04 with anti aliasing not working in WebStrom and ended up breaking everything. Chrome ...
0
votes
1answer
47 views

Can't install Netbeans/JDK 7 on Ubuntu 14.10

I am having trouble trying to install Netbeans/JDK 7 on Ubuntu. When i try to install Netbeans, it asks for JDK 7, but i was unable to install it via apt-get. I've tried this command already: sudo ...
0
votes
0answers
37 views

unable to install jdk 7 [duplicate]

I am unable to update package index in Ubuntu. I tried the command sudo apt-get update I am getting following output snippet:
2
votes
2answers
199 views

Is the openjdk-r ppa trustworty?

I've seen a ton of blogs saying Java 8 is now available to Ubuntu 12.04 & 14.04 through the ppa openjdk-r. My question is how trustworthy is this ppa? Is it run by people from openjdk or ubuntu or ...
0
votes
0answers
15 views

How to remove java 7 & eclipse version appropraite with java 1.6?

I'm new to java, and I tried to uninstall java 7 using this command: sudo apt-get purge oracle-java7-installer Then tested it by: sudo dpkg --list |grep -i jdk And got: bash /usr/bin/java no ...
2
votes
2answers
457 views

Apparmor problem: Icedtea plugin freezes firefox (35.0.1)

EDIT5: finally it's probably is an Apparmor problem. /usr/lib/firefox/firefox{,*[^s][^h]} is indeed in complain mode, but /usr/lib/firefox/firefox{,*[^s][^h]}//browser_java ...
1
vote
3answers
2k views

Netbeans installation doesn't work

While trying to install Netbeans 8.0 in my Ubuntu 14.04 I get the following error: Can`t initialize UI Running in headless mode Exception: java.awt.HeadlessException thrown from the ...
2
votes
1answer
2k views

NetBeans not working after update

I have been usigng NetBeans 2 years now and have encountered an issue. After a normal apt-get upgrade NetBeans stopped working altogether. After this I reinstall the JRE and JDK to no avail. However, ...
0
votes
0answers
91 views

Can't use icedtea plugin without removing proprietary plugin (firefox)

What I'm trying to do: Switch from using the proprietary java plugin (java 1.8.51) to using the icedtea plugin. Apparently there still doesn't exist an icedtea-8-plugin for ubuntu 15.10 in the ...
1
vote
1answer
489 views

Running AndroidStudio on Ubuntu 15.10 crash

Right now I am facing the issue that I cannot develop in AndroidStudio using Ubuntu 15.10, because both openjdk-7 and openjdk-8 cause problems. openjdk-7 issue Running AndroidStudio using env ...
0
votes
2answers
5k views

OpenJDK-7-JRE throws “broken packages” error (14.04 LTS)

I have an application that requires the Java JRE. I decided to go ahead and install the JRE from the repositories. Normally, the only issue I would have with this is it taking forever and a day to ...
21
votes
4answers
85k 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 ...
2
votes
4answers
6k views

how to install openjdk

When I try sudo apt-get install openjdk-7-jdk I got a message telling me that the package could not be found in database. I guess I'm missing repositories. here's the content of sources.list ...
0
votes
1answer
90 views

OpenJDK Java 8 - When will it be made available in Trusty 14.04.x

It appears that OpenJDK Java 8 has been out for a while now. However, it is not available in the "Ubuntu 14.04.x" (and derivatives) via the repositories. When, if ever, while Java 8 become available. ...
3
votes
1answer
188 views

libjai-imageio-core-java in Ubuntu 14.04

It seems that libjai-imageio-core-java is missing on 14.04 (it is available on Ubuntu 12.04): Is there a replacement for this file? Or, how do I build from the source code?
0
votes
1answer
540 views

libnpjp2.so - java plugin missing in openjdk-8-jdk:i386

I am using ubuntu 14.10 and i installed jdk8 via apt-get install openjdk-8-jdk:i386. Using update-alternatives, I have made java 8 as the default one. Now, when i checked java on firefox using this ...
1
vote
2answers
8k views

Netbeans IDE did work after installation, but doesn't start after restart.

i installed Netbeans on Ubuntu 11.10 following these instructions: http://pasindudps.blogspot.com/2011/10/installing-netbeans-ide-in-ubuntu-1110.html. It worked perfectly fine (creating projects, ...
0
votes
1answer
232 views

Install openjdk1.7 u79 package that was downloaded by terminal

Hi guys I download package jdk1.7.0_79and I wanted install the package using the terminal. I got this user guide and I did it step by step. sudo mkdir -p / usr/local/ java cd/home/ your_user_name ...
6
votes
4answers
8k views

Minecraft with OpenJDK 7, I get “the trustAnchors parameter must be non-empty”

Im using Ubuntu 15.04 and OpenJDK 7, trying to run Minecraft. This is what I get. EDIT: Minecraft is working now when I use sudo java -jar Minecraft.jar but doesn't work without super user, how would ...
0
votes
0answers
40 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 ...
1
vote
1answer
2k views

Minecraft doesn't connect to Mojang servers/the internet (15.04) [duplicate]

I've been trying to run Minecraft on Ubuntu 15.04 for a while. Whenever I try running, it won't download the launcher pack and it gives me this message: Bootstrap (v5) Current time is Jun 19, 2015 ...