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

0
votes
0answers
3 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 openjdk-7 ...
0
votes
0answers
23 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
0answers
10 views

Running Crouton for Chrome OS, Problem with X11 Forwarding?

I am currently using a Ubuntu based crouton to run linux on my chromebook so that I can code using Java and its applications. Coding, compiling, and running java works for me as of right now. ...
0
votes
0answers
9 views

Runtime error for Java with ubuntu 14

I compile with jmonkeyengine for java 1.6 but I get this error when running it. What does it mean? What can be done? On windows 8.1 the program runs well. prePhysicsTick Apr 24, 2015 5:04:48 PM ...
0
votes
0answers
16 views

Pass multiple specific files as one string arg from another java program [on hold]

I am trying to pass few specific paths as a string arg in one program to call another java program. I get an ArrayIndexOutOfBoundsException error but when I pass the exact same arg in the command line ...
0
votes
1answer
26 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
7 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
1answer
43 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 ...
-1
votes
0answers
10 views

unable to run eclipse [on hold]

i am unable to run eclipse on ubuntu 14.04. Pypar2 window pops up. then I have allowed executing file as program. now it shows "The Eclipse executable launcher was unable to locate its companion ...
1
vote
1answer
37 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
12 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
19 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
32 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
31 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
45 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
28 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 ...
-2
votes
0answers
20 views

Web application development tools installation in NetBeans [closed]

NetBeans 8 has been installed, but web application is not present, so how to install web application development tools in NetBeans 8.0 like JSP, Struts/Struts2, Spring, and Hibernate?
0
votes
0answers
33 views

Is there a way to install jHipster on Ubuntu 14.04?

Can you give an advise is it possible to install jHipster on Ubuntu 14.04? Yesterday I try to do this by following regular routine on the jHipster site but got a lot of errors. After I start to ...
0
votes
0answers
41 views

Problems while executing a JAR file

I'm using Netbeans to build a project developed by someone else. When I run the project in Netbeans, it works properly. When I build the project and I try to execute the jar file generated from ...
0
votes
1answer
40 views

Problem while installing oracle-java8-installer

I am trying to install Oracle's Java8, but I get the following errors. How can I fix those? Translated from Spanish. For original text, please see the revisions. r06xd@uers1-H61MLV2:~$ sudo apt-get ...
0
votes
0answers
29 views

Matlab 2014a install on Ubuntu 12.04 Issue

When trying to run the install script I get this error message: Preparing installation files... Installing... /tmp/mathworks_1095/sys/java/jre/glnxa64/jre/bin/java: 4: ...
-1
votes
1answer
67 views

Why does java not work in chrome in ubuntu? [duplicate]

I know it doesn't work, and I just want to know why.
0
votes
0answers
10 views

Ubuntu, JavaFX, A fatal error has been detected by the Java Runtime Environment

I have already asked this question here: link to StackOverflow I have installed Ubuntu 14.04.02 x64, oracle JDK 1.8.4 and I try to run JavaFX8 project but I get this message in eclipse(not every time ...
2
votes
1answer
43 views

Maven: JAVA_HOME is not defined correctly

I've installed and configured Maven and Java. I can successfully run mvn spring-boot:run But when I run sudo mvn spring-boot:run I am getting Maven: JAVA_HOME is not defined correctly When I ...
0
votes
0answers
20 views

Android SDK Manager slf4j error

I'm using Ubuntu 14.04 and want to run Android Studio. I have installed everything needed based on tutorials such as Java, Android-SDK-linux, etc. I set the environment variables in .bashrc and ...
1
vote
1answer
101 views

WebEx error: Java is not working

I am trying to join a WebEx meeting. However, when I try to do that, it gives me an error: Java is not working. To have the best experience joining meetings, Java must be installed on your ...
0
votes
1answer
22 views

Unable to run Gephi 0.8.2 on Ubuntu 14.04 LTS 64-bit

I know there are some discussions on this topic already, but none seem to work for me. I have the Java JDK installed: java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b26) ...
0
votes
2answers
67 views

Installing Java 8 and Setting environment variables

I just completly shifted to Ubuntu from Windows 7. I am a java developer and now I need to install Java 8 JDK and JRE. I installed 64 bit ubuntu 14.04.02 and it seems like there are lot of ways to ...
0
votes
0answers
16 views

Error stopping tomcat7

I'm trying to install tomcat7 and I get the following error when I try to stop it. This occurs after I add webapps to server.xml. jaramillo@jaramillo-HP-455-Notebook-PC:~$ sudo /etc/init.d/tomcat7 ...
0
votes
1answer
88 views

Install or run FlashTool?

Okay, I've downloaded "flashtool-0.9.18.5-linux.tar.7z" from the Xda Forums ( http://xda-forum.blogspot.nl/2015/03/how-to-install-xperia-firmware-using.html ) and I have tried to run "x10flasher.jar" ...
0
votes
1answer
34 views

How to make jar file executable from anywhere without root permission

I made a jar file and now want to execute it from any directory. To do that I simply put it in /bin and made it executable, but I am not able to execute it and get this output error: Error: Unable to ...
0
votes
1answer
28 views

How to install Hadoop on Ubuntu 12.04 32-bit?

I want to install hadoop on my Asus laptop running Ubuntu 12.04. When I tried to format the new File system, at that time I got an error 1. $ hadoop namenode -format or 2. $ hdfs namenode ...
0
votes
0answers
28 views

Ubuntu crashing too often

right some little days, I bought a dedicated server (physically, I mean), then, installed Ubuntu 12.04 LTS. All working well (well as it can be taking in mind that it's running in a simple house, ...
0
votes
2answers
9 views

Minecraft Voltz Server Error

Hello I have run multiple servers before including voltz, but these last few days I haven't been able to get this server to run on my Ubuntu server 12.04 for some reason every time I start it I get ...
0
votes
1answer
51 views

Cannot install octave on Ubuntu 14.10

I try to install octave on ubuntu 14.10 by $ sudo apt-get install octave Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
1
vote
1answer
27 views

New shell terminal points to different bash_profile [closed]

When I launch new terminal it points to some different bash profile. Here in my $PATH are set to default, $JAVA_HOME is blank When I source my .bashrc and and .bash_profile located at home then I am ...
0
votes
0answers
19 views

My Eclipse Won't Open

I'm a bit of a linux noob and my eclipse wont open. I'm using ubuntu gnome 14.10. I have tried reinstalling and reinstalling java 7 and 8. It worked once.
1
vote
2answers
24 views

How do I find the path to the 32bit version of java on 64bit Linux?

I've installed a 32 bit version of java on my 64bit system to get Juniper VPN to work. What command line command will allow me to find the path to the 32 bit version of java?
0
votes
0answers
33 views

Can't install program using terminal

I got this problem when I trying to install java and netbeans package and internet download manager softwares. I download these files from their websites And try to use command chmod +x ...
0
votes
1answer
75 views

Minecraft crashing, 14.04 LTS

Installed openjdk and minecraft, but it keeps crashing. Error as follows. I'm a complete ubuntu noob. A detailed walkthrough of the error, its code path and all known details is as follows: ...
2
votes
1answer
34 views

How to make an export DISPLAY?

I'm execution a Java project on a distant server. My project generates a graphical interface. Here is the shell script that I'm executing on the server side : export ...
0
votes
0answers
47 views

Setting JAVA environment variable [duplicate]

I am setting up new Ubunut machine. Stuck on setting up Java environment variable. I have tried all possible way and whatever solution I found here. None of them worked. It is still giving me blank ...
1
vote
1answer
24 views

Can't set arguments in Eclipse to define Tomcat

I've downloaded Eclipse Luna and Tomcat 7 in Ubuntu 14.10. I put them into my user folder. Eclipse in Eclipse folder and Tomcat 7 in Tomcat folder. So when I try to register a argument in my Tomcat 7 ...
-1
votes
1answer
130 views

The package jre1.8.0-40 needs to be reinstalled, but I can't find an archive for it

I tried to install JDK using rpm package jdk-8u40-linux-x64.rpm. used command sudo alien -i jdk-8u40-linux-x64.rpm. But i am getting below error. The package jdk1.8.0-40 needs to be reinstalled, but ...
0
votes
0answers
23 views

Network connect launches but crashes (juniper problem)

I am trying to get vpn working using Juniper on a machine running 64bit Ubuntu 14.10. My problem is similar to the one described here: Juniper Crashing right after launching Can somebody guide me ...
1
vote
2answers
35 views

Java uninstall problems

I am trying to uninstall all java. I am getting an error message saying that I have broken packages. Whey I try sudo apt-get install -f I get a message saying that errors were encountered: ...
0
votes
0answers
19 views

java not working correctly

I can program Java and run Java web start for Runescape and such (once I do the annoying permission thing), but running jars don't exactly show. I use Java -jar <jar-name>.jar and get a white ...
1
vote
0answers
11 views

What does threatening to kill a process in gnome-system-monitor do?

If I play Minecraft, it freezes often (~every 20 sec); if I select the Java process in System Monitor and press delete, the end process box pops up. At this point, Minecraft unfreezes and accepts all ...
0
votes
3answers
98 views

Linux equivalent for «cmd /C start “Title” “C:\Folder\file.bat”» [duplicate]

I have a Java program that runs a batch file on Windows with Runtime.getRuntime().exec() using the following command: cmd /C start "Title" "C:\Folder\file.bat" The Java program ends quickly since ...
0
votes
0answers
16 views

Java Programming on ubuntu mobile Platform

Can I start Java programming on ubuntu mobile platform? Can I execute my jar file written in java language on mobile Ubuntu platform?