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
0answers
723 views

Install JavaFX scene builder 2.0 on Ubuntu 14.10

I am beginning my work on a JavaFX application for which I am using Intellij Idea ide. I have Java 8 installed on my system and I can see JavaFXSceneBuilder 1.1 in my system installed. But as I read ...
2
votes
1answer
116 views

Can't run minecraft

I have Oracle Java, I am opening it as an executable. Minecraft runs perfectly on my Windows computer, but I want it on my Ubuntu laptop. When I open Minecraft I get as far as the launcher, but ...
0
votes
1answer
406 views

Open Terminal at Startup and run Java application

Here am I again after successfully installing Ubuntu MATE 14.04 with the help of AskUbuntu (thanks a bunch!) What am I trying to achieve now is the following: Launch a Terminal with root privileges ...
0
votes
0answers
31 views

Minecraft script wont run

In /etc/rc.local I have the following sh /path/to/file/myscrip.sh & #Go here Run this script. in the background I followed that path to confirm that it's pointing the right place on my ...
2
votes
2answers
83 views

what is the minumim required packages for installing open java 8

What are the minimum packages required to install open java 8? Available packages: openjdk-8-dbg openjdk-8-jdk openjdk-8-jre-jamvm openjdk-8-demo openjdk-8-jre ...
1
vote
0answers
108 views

Android studio. java.lang.runtime.exeption [closed]

Recently i moved to Ubuntu and i was able to use android studio without any problems then i had to reinstall ubuntu and now when i try to lunch android studio this message pops up Internal error. ...
3
votes
2answers
56 views

Automatically doubling the value of numbers in a string in multiple files

I'm trying to modify Java source code in numerous .java files that contain strings similar to this: private static final Height biomeHeight = new Height(0.1F, 0.2F); There are over 75 and I'd like ...
1
vote
0answers
66 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 ...
0
votes
0answers
65 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' ...
-2
votes
1answer
271 views

Problem with JDateChooser, error while getting the date [closed]

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 ...
1
vote
2answers
99 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. ...
0
votes
0answers
21 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. ...
0
votes
0answers
39 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. ...
0
votes
3answers
421 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 ...
2
votes
1answer
29 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
0answers
32 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
63 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
24 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 ...
0
votes
1answer
163 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
1answer
33 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
3answers
124 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: ...
2
votes
1answer
513 views

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

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 ...
0
votes
0answers
21 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 ...
0
votes
0answers
42 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 ...
0
votes
3answers
262 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
148 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
128 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 ...
0
votes
1answer
54 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
152 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
174 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 ...
1
vote
2answers
76 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 ...
1
vote
5answers
1k 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 ...
1
vote
3answers
593 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 ...
0
votes
0answers
227 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 ...
3
votes
2answers
4k 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
0answers
472 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 ...
1
vote
2answers
938 views

How to open Minecraft.jar? [duplicate]

I'm having trouble opening Minecraft.jar because there is no java runtime in open with listed. Even though I have installed it. This seems to be the solution JRE not showing up in "Open ...
0
votes
1answer
283 views

removing jva openjdk 7, ubuntu 15.04

Can I safety remove OpenJDK 7 from my system? I've got OpenJDK 8 but I've found this: I suppose you are using 12.10 or 13.04. Here default-jre depends on openjdk-7-jre. So you can't remove ...
8
votes
4answers
3k 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 ...
1
vote
1answer
165 views

Removing Oracle JDK and re-configuring update-alternatives

Please check the scenario below: sudo update-alternatives --config java There are 5 choices for the alternative java (providing /usr/bin/java). Selection Path ...
0
votes
0answers
24 views

could not write bytes broken pipe 12.04, after installing java and rebooting the system

I removed all java packages by following the instruction through the link How to uninstall java and installed java 8 through this link How to install java 8 and restarted the system after that time ...
1
vote
2answers
357 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
0answers
42 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 ...
1
vote
1answer
162 views

java plugin is not working

I want to run following website in chrome/firefox in my ubuntu : http://bikecad.ca/quickapplet which shows following message: However i have already followed these steps but its not working. Help ...
0
votes
0answers
14 views

Disable Auto Update JDK 7 Ubuntu 14.04 [duplicate]

I have installed JDK 7 in Ubuntu via following commands sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install ...
2
votes
1answer
73 views

How to use GTK/GNOME notifications services in Java?

I've started learning Java and to have some project to actually put knowledge to the practice, I decided to make a custom notifications service. I know that Java is not the best option, but that's ...
1
vote
1answer
71 views

OpenForis Calc / embedded Tomcat won't start

Trying to run OpenForis Calc, embedded Tomcat instance fails. Error seems to appear here: Apr 17, 2015 2:13:47 AM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying ...
0
votes
1answer
155 views

ERROR Tomcat: Apache - Java - Tomcat - Catalina [duplicate]

I am trying to run a software (HTML based) and when Tomcat runs to open it, I get the following messages: The APR based Apache Tomcat Native library which allows optimal performance in production ...
1
vote
2answers
399 views

Javafx is not on the default classpath even with Oracle JDK 1.8

I recently installed Oracle JDK 1.8 on my Kubuntu Linux machine following this guide. I did the manual install because I couldn't get the easy one to work. If I've understood correctly, javafx should ...
0
votes
2answers
197 views

unable to install OpenJDK Java 6 runtime

Please mind im fairly new to linux so please try to keep the technobabble to a minimum. So in the ubuntu software centre i tried to install the java 6 runtime and it gave me this error message The ...