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

3
votes
3answers
12k views

How can I open Java's Control Panel?

How can I open Java's Control Panel to change the security settings?
0
votes
0answers
8 views

Run jar from Nautilus - OpenJRE disappeared!

Although I'm frequently using the command line terminal, I find it very irritating when I cannot execute applications from Nautilus. I sometimes write small Swing based Java apps and I've just ...
-2
votes
1answer
33 views

Problem with JDateChooser, error while getting the date [on hold]

I'm using JDateChooser, however I can not retrieve the date I enter and always get a null object. dateChooser = new JDateChooser(); Date dateFromDateChooser = dateChooser.getDate(); String dateString ...
0
votes
0answers
9 views

systemtray icon from eclipse's SWT not visible

I try to add an icon to systemtray using eclipse's SWT, however I can't make it visible. What could be a problem? I googled some posts telling to whitelist 'all' usingdconf-editor so I added 'all' ...
1
vote
2answers
30 views

Why can't I delete a folder in my trash?

So I downloaded a "cracked" version of Minecraft. STUPID, I know and understand the dangers. Anyway, the download put a folder called "minecraft" on my computer. it contained a .png and a .jar file. ...
2
votes
2answers
2k views

Fix scaling of java-based applications for a high DPI screen

There are some applications (mainly java based) that don't follow the global 2x scale I set in the screen-settings. So these apps are really tiny on my high DPI screen with 3200x1800px. How can I get ...
2
votes
1answer
747 views

Java console doesn't recognize arrow keys

I have some strange problems with a java console on my 10.04 server (it's actually the console of a minecraft-server, but I believe it's a general problem and not something minecraft specific): arrow ...
1
vote
1answer
119 views

Three different Eclipse versions all crash with BadWindow on 15.04 [on hold]

I have a complete fresh install of XUbuntu 15.04 on a Dell Laptop with an Intel Graphics-Card. I installed eclipse (see below which versions I tried and from where) and I'm able to start it. But ...
6
votes
3answers
5k views

Java 7 installation error

I'm getting this output when i try to install oracle-java7 from webupd8 ppa Download done. Removing outdated cached downloads... sha256sum mismatch jdk-7u51-linux-x64.tar.gz Oracle JDK 7 is NOT ...
0
votes
0answers
10 views

Using GNU compiler and JRE in Wine applications

There is a .exe application that I want to run and it needs JRE, to making sense, it is an IDE based on Eclipse but it is not Eclipse itself. Also in this IDE for compiling, it uses g++ as compiler. ...
2
votes
1answer
16 views

Increase and decreasing screen brightness crashes Minecraft

Problem: When increasing or decreasing the screen brightness, Minecraft crashes and to an extent freezes my computer UI. What I mean by to an extent is that I can move the cursor around, but I can't ...
0
votes
1answer
197 views

RXTX Library Ubuntu 14.04 Soft link to see the serial port

I have installed the RXTX Java library rxtx-2.1-7-bins-r2 in Ubuntu 14.04 32 bit machine with JDK8. I would like to communicate with Arduino Micro connected to the serial port. But I am not able to ...
0
votes
0answers
16 views

Mouse and keyboard stuttering, Chrome, Java Script

This is 14.04 LTS, stock, unmodified Ubuntu. What is wrong here? How do I fix the mouse and/or keyboard problem? For the last week, I have seen, at power up, an apport request to report some problem. ...
5
votes
2answers
7k views

How can I uninstall oracle java 8 and install oracle java 7 instead with webupd8 installer?

I installed oracle java 8 by typing in terminal: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer but now I want to uninstall oracle ...
0
votes
3answers
51 views

Minecraft doesn't run; I do all the things to fix it, but it doesn't works!

No OpenJDK 7 Java Runtime on the dialog box. Done fixing this. Here's my Java version. I'd just reformatted my PC because there's problems in the last Ubuntu installation but Minecraft works ...
3
votes
3answers
9k 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 ...
1
vote
3answers
126 views

What is an origin and solution for “port 9000: Connection refused” error?

I am stuggeling with port 9000: Connection refused error. I work on Ubuntu 14.04 and faced the problem when trying to run Hadoop in a non-distributed mode, as a single Java process (compare Hadoop ...
3
votes
1answer
412 views
0
votes
0answers
23 views

java based application not working

I hava a tar file of java based application,though I installed open jdk on my system but still when I decompressed the file and try to open executable file,its not opening. I tried the same thing on ...
0
votes
0answers
8 views

Saving Uploaded Files to Server from Tomcat

I'm running a web app on Tomcat7 on Ubuntu. I can upload a file, however I want to save the file on a temp directory on the server (not in the Tomcat directories). I guess my Tomcat server is ...
1
vote
0answers
10 views

Unable to execute java programs on ubuntu 14 studio lite

I recently installed ubuntu 14.04 studio lite 32 bit. I have java apps that I created using netbeans 8/open jdk 1.7. They run fine using the netbeans debugger. However when I create the tar, it can't ...
1
vote
1answer
20 views

java say only speaks the first word

I have the following code: public class ChatSystem { public static void main(String[] args) { SpeakCommand sp = new SpeakCommand("hello master! How are you feeling today?"); ...
0
votes
2answers
461 views

Problem running jar from gui in 15.04

I updated ubunut to 15.04 today. Now when I try starting a jar file from the gui it only opens the archive manager. Checking the open with tab in Properties I can't find Openjdk. I got both Openjdk ...
1
vote
2answers
100 views

Running into an error while installing Android Studio

So I am working on installing android studio onto Ubuntu 15.04. I followed the guide here at http://android-er.blogspot.com/2014/07/install-oracle-jdk-8-on-ubuntu-1404.html to install the JDK and ...
0
votes
3answers
29 views

How to Verify JAVA_HOME path

I installed java in opt/jdk1.7.75 having following directories--> bin db include jre lib man COPYRIGHT LICENSE README.html relase & other files I set JAVA_HOME path in .bashrc file as follow: ...
0
votes
1answer
27 views

Java install does not work

I am unable to run java after installing it. I'd appreciate troubleshooting help. Info: ⠀Ubuntu 14.04 LTS ⠀Acer Aspire V5 with AMD A4 processor ⠀Used Oracle 64-bit Linux version ...
1
vote
3answers
1k 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
0answers
21 views

freeplane starts only from terminal, not from GUI

The title explains pretty much all I know about the problem. Basically, when I click on the freeplane desktop icon or if I double click on a freeplane file, nothing happens. Instead, launching it ...
0
votes
0answers
14 views

What is the application None?

As the title, what is the application None? Sometimes I'm experiencing bugs with the unity menu bar of eclipse. In this short video I show what the problem is; at 10'', a report bug opens (you can ...
-2
votes
0answers
14 views

Instaling, and programming application for java [closed]

I have one virtual machine that runs ubuntu and when I access it all I have is this: cwd: ~/workspace: where I type commands, Since I know how to program in Java i have instal java on that ubuntu ...
0
votes
4answers
56 views

Can't Execute jar files

I'm having trouble opening jar files because there is no java runtime in open with listed. Even I have installed it via Software Center(i also try to reinstall it via synaptic and i do a --purge via ...
8
votes
2answers
32k 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 ...
0
votes
0answers
10 views

Netbeans for Ubuntu not responding to horizontal touch pad scroll

I am using Netbeans v 8.02 with Ubuntu 15.04. I am facing a problem with horizontal scroll using touch pad it's working great with other application like (Chrome, Firefox ... etc) except when I try it ...
1
vote
2answers
250 views

Message on each startup of Java after upgrade to 15.04

I just upgraded to 15.04 and noticed that on any Java program launched, the message Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar is printed to the console (which did not ...
0
votes
3answers
51 views

How to create desktop shortcut to bash program running java

I've downloaded the free and open-source image analysis software "Icy" (http://icy.bioimageanalysis.org/), and I can launch it by making the "icy.sh" file executable and double-clicking on it. ...
0
votes
1answer
38 views

Some jar files refuse to to run upon double-click and Terminal can't access them

MultiMC launches with no problems. I can't get Minecraft to launch by double-clicking it: it will open in Archive Manager. When I run the command java -jar minecraft.jar, Terminal returns the error ...
0
votes
0answers
31 views

Matlab Running error

I have successfully installed and activated the Matlab R2013a and after opening it via terminal, terminal shows this error, Warning: Unable to load Java Runtime Environment: libjvm.so: cannot open ...
2
votes
2answers
35k views

How to setup Java-Home and Path in Ubuntu 12.04

we are new to Ubuntu.Recently we changed my server OS to ubuntu 12.04 from windows 7 . every one have their own login details. one of my college installed Open-Jdk7. I asked him, where you installed ...
1
vote
2answers
42 views

Uninstalling Java which is installed via PPA [duplicate]

I installed Oracle Java 8 via PPA. Once java tried to update via the update manager but got corrupted due to a network issue. Now it seems like java is having some memory leaks so I would like to ...
2
votes
2answers
3k views

Oracle 12c Installation Error: “Exception … Could not initialize class sun.awt.X11.XToolkit”

I have been trying to install oracle 12 c on Ubuntu 14.10 but facing the below mentioned error.Could some one please check this and advise me how to fix this error? Checking Temp space: must be ...
0
votes
1answer
25 views

Java Web option is not available in NetBeans 7.0.1

I have installed NetBeans 7.0.1 from the Ubuntu Software Center, but when I go to create a project then the Java Web option is not displayed in the popup. Please give me an idea for how to solve this ...
0
votes
1answer
40 views

Prevent APT from overwriting custom files

My server runs a Java application that requires I replace a few java library files with ones I downloaded on my own. This has to do with JCE security extensions and isn't really relevant to my ...
0
votes
1answer
24 views

how to run servlets in XAMPP server

I had installed xampp in ubuntu 14.04. now i want to have servlet functionality. I searched in net, everyone saying use the tomcat but i want to do it in xampp is it possible if yes how to do that ...
1
vote
1answer
31 views

ERROR 403: Sorry, not allowed to fetch that type of file: jdk-7u80-linux-x64.tar.gz in 14.04 [duplicate]

I have had oracle's jdk7 installed on my 64bit Ubuntu 14.04 now for some time and it has behaved as expected. However lately all my updates has ended in errors and after some research I found the ...
42
votes
5answers
75k views

How to install OpenJDK 8 on 14.04 LTS?

IMPORTANT: If you need this backported to 14.04, vote for this bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628 Java 8 is now available according to ...
-2
votes
0answers
21 views

Openjdk runtime 7 Show up

I just installed Lubuntu 15.04 yesterday. When I go to run a game that uses java it just shows two archive managers and winetricks. So I thought that maybe the second archive manager is just a ...
0
votes
0answers
69 views

how to get openJDK7 and Technic launcher to work on Ubuntu 15.04

I just installed Ubuntu 15.04 on my daughters computer. Now we cant get Technic launcher to work for her. Then she wants to play minecraft modes. I download the Tech jar file and marked it as open as ...
0
votes
2answers
472 views

OpenJDK Java 7 missing from “Open With” under file Properties

Ok. I have read through probably two-dozen posts and articles, and still can't seem to find an answer. I have installed OpenJDK-7 and am trying to set it as the default to open .jar files ...
0
votes
0answers
21 views

Not Connecting to MySQL database on server [on hold]

I am trying to connect to a database with the Help of SQLWorkbench/J, all the information that I have entered is correct, but I don't know how to set the URL. The URL which I am using is ...
1
vote
0answers
172 views

Firefox won't run java after installing 15.04

I installed ubuntu 15.04 yesterday. Firefox will not run the race viewers at igpmanager.com which use java. Ran java version and it returned the latest version of java. This machine is running an SSD ...