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
vote
1answer
254 views

Eclipse Equinox ClassCastException when starting

I've googled around for about 2 hours now, and can't find a single other person with this issue. It seems to happen whenever I start Eclipse, and it makes the IDE completely unusable. I've tried ...
2
votes
1answer
8 views

How to set Chrome as default browser for Java installation

When going into the Java Control Panel by executing the following command in Terminal: ControlPanel And going to the Advanced tab, I see that at the bottom it says: But I have set my default ...
0
votes
1answer
10 views

Java/Linux/Docker 101: java.lang.NoClassDefFoundError: java/time/ZoneId

I am trying to run a jar inside a docker. I took the following steps: sudo docker pull java sudo docker run -i -t java /bin/bash (In docker) curl -LO ...
93
votes
11answers
133k views

How do I install Java?

How do I install Java, including in my browser, so websites with Java work?
1
vote
1answer
212 views

Installing java 8:update-alternatives: error: alternative path /usr/lib/jvm/jdk1.8.0/bin/java doesn't exist

I know this question might seem like a duplicate question, but I think its not. I'm trying to install java 8 on my ubuntu 14.04 LTS. I have tried many method, but nothing worked for me. So I ...
0
votes
1answer
15 views

How to set the environment variabile using java

I am trying to set an environment variable using a java code. When i run this java code from the bash, I want to echo the environment variable that i set in the java program. How can this be done
1
vote
2answers
21 views

Install eclipse for java

I have eclipse kepler cdt for c++ but I want to download eclipse for java and keep eclipse cdt I mean use eclipse for both Java and c++
-1
votes
0answers
15 views

How can i set Java_Home in ubuntu? [duplicate]

I want to set java home in ubuntu.On the internet there are lots of answers to that question.But i am not sure which one is true ? Can anyone explain me it more clearly?
-1
votes
1answer
17 views

fatal error while using Java3d on newer ubuntu version than 11.10

I'm running a java based website where i use java3d to render some 3d images without any problem on oneiric. I also need to say since the application runs on a server without a graphiccard, i use ...
-1
votes
0answers
35 views

How to compute days between two date choosers [on hold]

How to compute days between two date choosers and show it inside the textfield; is this correct and what is the code should i input inside the settext Date date1 = this.dcStart.getDate(); Date date2 ...
5
votes
1answer
17k views

How do I get WebEx fully working with Ubuntu 12.04?

I am trying to join a WebEx meeting from Ubuntu 12.04. I can join but I do not see the live chat messages, I hear no sound, and I cannot see the presentation. I have tried using Ubuntu 12.04 64-bit ...
6
votes
4answers
7k 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 ...
0
votes
1answer
14 views

Ok, I have problem with code for adding values into mysql db, there is a posts (db table, java form created in Eclipse)

package sokic; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; import ...
14
votes
5answers
11k views

Will Sun's Java be available from Canonical's partner repository?

I just discovered that Oracle's (Sun's) Java6 has vanished from the Canonical's partner repository. Before Java was taken from all repositories I had purchased Minecraft for play in Ubuntu. After ...
0
votes
1answer
60 views

My netbeans is not working after I deleted the jvm folder

My netbeans is not starting since I deleted the /usr/lib/jvm folder. But I have installed java jdk 1.7.0_51.deb debian file and the file dir is /usr/java. When I tried to start the netbeans using ...
0
votes
0answers
176 views

Recording game audio with SimpleScreenRecorder

I'm following the tutorial at www.maartenbaert.be/simplescreenrecorder/recording-game-audio/ (PulseAudio: The Hard Way) to get SimpleScreenRecorder to record both the Monitor of Plantronics and ...
0
votes
1answer
12 views

Can't install oracle java and gcc-4.9:i386 on 64bit OS

I have installed oracle jdk7 from the WebUpd8team PPA and it's working just fine, now I want to run a 32bit game (Dwarf fortress with dfhack, for those who know it) and that requires gcc-4.9:i386 ...
-1
votes
1answer
20 views

How do I fix my minecraft? It says its not executable [duplicate]

The file /home/sean/.minecraft/launcher.jar is not marked as executable. I get this error whenever I try to load the launcher.jar in my .minecraft folder but then when I right-click, properties, ...
3
votes
3answers
8k views

Java Oracle Installation /usr/bin/java: cannot execute binary file

Hi I've been trying for 1 day to get Oracle Java running on Ubuntu. I have a powermac g5 with Ubuntu 12.04 ppc64. uname -a : Linux LK37 3.2.0-53-powerpc64-smp #81-Ubuntu SMP Thu Aug 22 21:17:14 UTC ...
0
votes
1answer
39 views

LXDE/Lubuntu sees Java .jar files as zip archives instead of java archives when Webupd8 Oracle Java 8 is used

I have Ubuntu 14.04.1 64-bit installed on my computer, with the Lubuntu-desktop installed as well. I have OpenJDK 7, and I can execute .jar files fine in both desktops. After installing Oracle Java 8 ...
0
votes
0answers
35 views

Issue launching phpstorm, seems like a java problem

I just got my ubuntu enviroment setup 2 days ago. And im trying to install phpstorm, and adding it into the enviroment path. I downloaded the tar.gz file, unzipped it to /home/documents/IDE/phpstorm/ ...
10
votes
3answers
16k views

“No such file or directory” when invoking java

I'm trying to re-install Oracle JDK 7 32 bit to 64 bit Ubuntu (previously 64 bit JDK was installed). JDK is currently present at /usr/lib/jvm/jdk1.7.0. I invoke sudo update-alternatives --remove ...
0
votes
3answers
409 views

Cant install Java on Wand Board Quad running Ubuntu 12.04

I picked up the Wand Board and was curios to see on how well it can perform as a Minecraft Server. So i downloaded the JDK 8 from the official site for ARM and extracted it to my OPT folder, after ...
0
votes
1answer
24 views

JAVA path error in hadoop

I installed hadoop watching a youtube video. while I try to run this in terminal it gives me this error srimanth@srimanth-Inspiron-N5110:~$ /usr/local/hadoop-2.6.0/bin/hadoop version ...
0
votes
0answers
44 views

Error installing Java 8 on Ubuntu 14.10: packages with unmet dependencies [duplicate]

When I tried to install "oracle-java8-installer", I received an error message suggesting: Try 'apt-get -f install' with no packages (or specify a solution). I did this, but my problem was not ...
1
vote
0answers
19 views

JOSM file associations

If I download JOSM from the Ubuntu repo, I get a somewhat outdated version, but sound files attached to a GPX track will open directly in Totem, the associated application. If, however, I download ...
298
votes
23answers
477k views

How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?

I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java ...
-1
votes
1answer
28 views

Forge intsllation on xubuntu fail

Hello dear linux users I have a problem to install forge modloader in minecraft I used the last recommend version for 1.7.2 and I only get some errors: <code> ---- Minecraft Crash Report ---- ...
2
votes
1answer
5k views

openjdk-7-jre on Ubuntu 10.10

As mentioned here, by running this command you can install Java 7 JRE. $ sudo apt-get install openjdk-7-jre But sometimes I can't find the package in the official repository of Ubuntu even after ...
0
votes
1answer
37 views

Install Eclipse Marketplace - which Maven plugin for my configuration?

I've had some struggles getting Java, Eclipse and Maven to work properly on my configuration. environment: Ubuntu 12.04 Java 8 Eclipse Indigo 3.7 Maven 3.0 Task: Install Maven plug in through ...
0
votes
1answer
72 views

Setting up Juniper VPN on 14.04

I saw this post, but unfortunately continue to have issues as seen here: Does anyone have suggestions for fixing this issue? Thanks!
0
votes
2answers
6k 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 ...
17
votes
2answers
87k views

How to install Java plugin for Firefox? [duplicate]

I am trying to install Java and plugins for firefox. I installed both jdk and jre. When I try with the sudo update-alternatives --config java command it shows only one choice available. Plugins are ...
0
votes
0answers
18 views

IcedTea Java-plugin displays a warning, how can I define the application as trusted?

I am using Ubuntu 14.04.1 LTS 64-bit and when I launch the VPN client which allows me to use university resources outside the campus I always get warned by the IcedTea Java-plugin, how can I add the ...
2
votes
1answer
52 views

yEd shows no windows

I want to use the latest yEd graph editor on my machine with Ubuntu 14.04 running on it as the only OS. I downloaded yEd installer script for 64-bit Linux. Also: $ java -version java version ...
12
votes
4answers
47k views

How can I enable Java in Chromium?

I've got Java working on Firefox in Ubuntu 11.04 (Natty Narwhal), but using the same page on Chromium tells me Java cannot be found. How can I enable Java on Chromium in my Ubuntu 11.04?
0
votes
1answer
420 views

ubuntu 14.04 64bit Matlab 2014b installation

i tried now for days to install matlab 2014b on ubuntu14.04. but it never worked, i am now in a situation where i dont know where to look and search for. my error messages when i want to run the ...
1
vote
0answers
49 views

Java applications do not work in Ubuntu 14.04

I have had working Java environment til Yesterday, I cleared my all files and folders in /tmp/ then restarted my computer after that I can not get any Java applications (Chrome, Firefox, Thunderbird, ...
0
votes
0answers
13 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): http://packages.ubuntu.com/search?keywords=imageio&searchon=names Is there a replacement for this ...
-1
votes
1answer
24 views

How to install Oracle Java from the official website? [duplicate]

I want to install Oracle Java (JRE) from the official website.And set it as default.
1
vote
3answers
21k views

./configure no such file or directory even after installing build essentials

I'm trying to install Java SE 7 on my ubuntu 13.04. I have already downloaded tar.gz file and extracted. But when I wrote in terminal: ./configure I saw this message bash: ./configure: No such ...
0
votes
3answers
986 views

Juniper Crashing right after launching

I am running Ubuntu 13.10 x64 and have 64 and 32 bit versions of Java 6 installed. I have it configured that when running Network Connect it will run the 32 bit version and for anything else the 64 ...
0
votes
1answer
57 views

installing a jdk and android studio after downloading its zipped folder

this is a common error whenever i try to install jdk, jre and android studio : error processing package oracle-java7-set-default (--configure): dependency problems - leaving unconfigured No apport ...
0
votes
0answers
20 views

Use 32 Bit java plugin in 64 bit firefox

I am unable to run a self signed applet in firefox that had 64 bit java installed. I understood that it may be the case with my java being 64 bit as the same was working in windows environment which ...
0
votes
2answers
7k views

HowTo: Upgrade java on Ubuntu 14.04 LTS?

I recently installed Ubuntu 14.04 on my computer and now my Java Version is not updated. I have Java so I dont need to install - just update the current version. Can someone please tell me the ...
1
vote
0answers
8 views

How to create debian package for a java project? [duplicate]

I have written a small gui for btrfs called TimeTraveler. And export it as .jar file. How do I package it as a .deb file for Ubuntu?
0
votes
0answers
23 views

oracle-jdk and open-jdk simultaneously on ubuntu machine

I have an oracle-jdk8 installed on my ubuntu 14.04 and i use it for android development, also I need open-jdk or jdk7 for scala because apparently scala has some issues with jdk8. So I was wondering ...
28
votes
4answers
44k views

How to install OpenJDK 8 on 14.04 LTS?

IMPORTANT: If you need this in 14.04, vote for this bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628 Java 8 is now available according to ...
1
vote
1answer
68 views

scala ide (eclipse) and sbt project

I am using the last version of the scala ide eclipse http://scala-ide.org/ Scala IDE build of Eclipse SDK Build id: 4.0.0-vfinal-20141216-1226-Typesafe I have a project that I am able to run from ...
9
votes
2answers
46k views

How do I change Java Runtime Parameters?

On Windows, I could change how much RAM Java could use by typing something like -Xincgc -Xmx2048M in the Java Runtime Parameters. How can I do that in Ubuntu?