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
1answer
35 views

hbase client running output “Usage: mapfile infile outfile”

I have made a simple client application in java for Hbase to connect with it and show results for some queries e.g list, scan etc. But When i run my application in eclispe, there are no errors but ...
-1
votes
1answer
121 views

Java in Chrome 34

I have installed the old version of chrome (34) because it is supposed to be able to work with java (as others have reported.) my question is, how do i get java to work in chrome 34? I have tried to ...
2
votes
0answers
123 views

How to use Firefox AppArmor profile with IcedTea Java plugin on Ubuntu 14.04?

Whenever I set up Ubuntu on a new system, I active the default AppArmor profile for Firefox via sudo aa-enforce /etc/apparmor.d/usr.bin.firefox Doing this on Ubuntu 14.04, however, makes Java ...
0
votes
0answers
16 views

Binary archives of OpenJDK for ubuntu

My goal is to have multiple version of java 6 and multiple version of java 7 installed on my ubuntu in order to do some tests with different versions of java. I found instructions to install oracle ...
1
vote
0answers
64 views

Start up a .jar GUI application from Login Screen [closed]

I have raspberry pi and I have compiled uniCentaPOS in a .jar file. However I want to start this GUI application without the full desktop. I just want to application running with the GUI. I have ...
0
votes
0answers
34 views

Xbox 360 controller shows up on jstest and configures, but doesn't work with minecraft

I recently recently installed Ubuntu 14.04 on and Acer C720 and installed Minecraft (this is going to be my son's computer). I installed xboxdrv and disabled xpad. When I used jstest the xbox 360 ...
1
vote
2answers
190 views

How to run .sh through terminal without using Nautilus Ubuntu 14.04 [duplicate]

I have an .sh file that looks like #!bin/bash exec /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/ java java -jar /home/me/myfolder/my.jar I've made this file executable and it works fine when in the ...
0
votes
0answers
45 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
1answer
245 views

how to install java 1.5 jdk in ubuntu

I am getting this error when trying to install java 1.5 jdk sudo apt-get install sun-java5-jdk Reading package lists... Done Building dependency tree Reading state information... Done Package ...
2
votes
1answer
83 views

Using libreoffice base as GUI for MySQL database (os- ubuntu 14.04) [closed]

I have been trying to deploy one of my projects that uses jsp for the front end, tomcat7 for the server and a mysql database. I tried integrating the mysql database with the libreoffice database ...
0
votes
1answer
73 views

Mastering Chemistry and Ubuntu 14.04

For my General and Analytical Chemistry course at college there is a site called Mastering Chemistry, made by Pearson, that features different questions types. When I went to solve some problems, I ...
1
vote
1answer
130 views

Installing oracle java versions

I went to the website to download (Java Platform (JDK) 8u20 ), http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html to download ORACLE java for my machine. I was ...
3
votes
1answer
10k views

How to install Oracle Java on Ubuntu 14.04? [duplicate]

I am using Ubuntu 14.04.1 LTS, x64 architecture, and I specifically need to install Oracle Java. Now I know there are some instructions on the website which I follow but the same website does not ...
-1
votes
2answers
195 views

Running .jar File using JDK on Ubuntu 14.04 [closed]

I install JDK on my Ubuntu 14.04 so I can use Netbeans and Android studio. I download a .jar file in the internet and I want to run it on my PC. My problem is, I cannot find java to run this file. I ...
1
vote
1answer
115 views

MATLAB startup error ubuntu 14.04

I'm trying to run /usr/local/MATLAB/R2012a/bin/matlab on Ubuntu 14.04, but on startup it gives me the following error message: Exception in thread "main" java.lang.NoClassDefFoundError: ...
0
votes
0answers
246 views

eclipse juno crash after Ubuntu update from 13.10 to 14.04

I try to update ubuntu 13.10 in 14.04 after update ... Eclipse emitted this problem A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xa75bc86d, pid=3118, ...
1
vote
0answers
35 views

Apport is not creating .crash file for java crashes

I am having issues on production server, It is groovy/grails application and I am using quartz to run many crons. There is one cron which is when enabled crashes the JVM. I have no idea why. I can't ...
0
votes
0answers
58 views

jProfiler GUI not showing properly on Ubuntu 14.04

I'm not sure if this is a java problem or is related to ubuntu. I'm on an ubuntu 14.04 machine and I have both Java 6 (jdk_1.6.0_43) and Java 7(jdk_1.7.0_51). JAVA_HOME is set to java 7 and that is ...
0
votes
0answers
87 views

upgrade to 14.04 interrupted and now cant get to login screen

I was upgrading from 12.04 to 14.04.It got interrupted and now I cant get to login screen. I see the following on a black screen. could not write bytes:broken pipes: *stopping anac(h)ronistic cron ...
1
vote
1answer
659 views

JDK 8 Installation for Ubuntu 14.04 (Android Studio & NetBeans)

I downloaded jdk-8u11-nb-8-linux-i586.sh and installed it in my home folder. Then I install NetBeans, it is successful I think because I can compile my java code using netbeans. Now when I install ...
0
votes
1answer
160 views

Ubuntu 14.04 freezes when running project in netbeans 8 with jdk 7

This question seems to be a duplicate but it's not! I run ubuntu from a live pendrive only and wanted to test a netbeans project for linux. I have installed oracle's jdk 7u67, netbeans 8. When I tried ...
0
votes
0answers
13 views

How to verify if java is correctly enabled in Libre Office

I am trying to use the java environnement in Libre Office. I installed an enabled in Libre Office the version 1.7.0_65 from Oracle Corporation. I then tried to use demos sheets from the obba files. ...
0
votes
1answer
41 views

Problems running logisim on Ubunu 12.04

I have been having problems running logisim on Ubuntu. At first it worked fine but now it just gets stuck "creating a file..." when I run the program. I've tried downloading another .jar and ...
0
votes
0answers
22 views

UnsupportedClassVersionError with OpenJDK 1.6 and Mysql

Using Ubuntu 13.10 on virtual server hosted by OVH (France), Server version: Apache/2.4.6 (Ubuntu), OpenJDK Runtime Environment (IcedTea6 1.13.3) OpenJDK 64-Bit Server VM (build 23.25-b01, mixed ...
0
votes
1answer
65 views

In the process of installing Java and Hadoop, my user profile has disappeared?

So I added the following code to the bottom of profile after: sudo gedit etc/profile Code added to profile: JAVA_HOME=/usr/local/java/jdk1.8.0_20 PATH=$PATH:$JAVA_HOME/bin ...
0
votes
1answer
137 views

Java is installed but not recognized

austin@HP-ENVY-m6-Notebook-PC:~$ java -version The program 'java' can be found in the following packages: * default-jre * gcj-4.8-jre-headless * openjdk-7-jre-headless * gcj-4.6-jre-headless * ...
0
votes
0answers
86 views

Carnegie learning on Ubuntu (chromebook)

I recently invested in a Chromebook, little did I realize it wouldn't run a crucial program my online school uses. So, I installed Ubuntu so I can toggle between the two via keyboard. The Ubuntu ...
2
votes
2answers
53 views

What exactly should I set as JAVA_HOME?

I am trying to make Tomcat 7 working with Eclipse, and I am not sure if my JAVA_HOME is correct. ~$ echo $JAVA_HOME /usr/lib/jvm/default-java And there is no such catalog! I only have: ~$ ls ...
0
votes
0answers
38 views

Problem with Java Swing Code

When I write some simple java code using swing, I get some strange behavior. The screen around the JFrame is black, and initially is displayed off of the screen. I have run the same code on a windows ...
0
votes
1answer
33 views

Eclipse window is not fully displayed

Some Eclipse windows is not fully displayed. Example: New project, New Class .... It is lost some of the items. Screenshot:
0
votes
0answers
58 views

Unable to share desktop while using Webex

While using WebEx, I am not able to share desktop. An error message shows that "Java is not enabled", but I've installed jdk7.4. I am using Ubuntu 13.10.
0
votes
0answers
116 views

libGDX project generator: Build Failed : Cannot find java system compiler

while generating a project libGDX throws thid error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:compileJava'. > Cannot find System Java Compiler. ...
0
votes
1answer
51 views

Java on easypeasy [duplicate]

I have successfully installed easypeasy in an Asus EeePC. I want to use the authoring programm Hot Potatoes, which is/uses a Java application (sorry for my poor technical vocabulary). It is installed ...
0
votes
0answers
23 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 ...
4
votes
2answers
386 views

How to start a Firefox from cron?

I need to run a Java applet from a Firefox. The problem is, I need to run this Firefox from a cron. If I run from the command line and its work fine, but when put the command in the cron it failed: ...
0
votes
0answers
19 views

Suddenly the tomcat got killed and i am seeing the fatal ERROR in the catalina.out logs

Here i am attaching the Fatal Error Can anyone please explain me what is the main problem for this
0
votes
0answers
56 views

Why doesn't lsof show localhost TCP connections in 14.04?

I have two servers running 12.04.4 and 14.04.1 respectively. Both have nginx (port 80) and a Java process (port 8080). As expected, the lsof output for the Java process (sudo lsof -nP -p $PID) on ...
0
votes
1answer
74 views

how to concatenate two strings in shell script in 3.13.0-34-generic kernel

I want to concatenate two strings for the shell file im getting error when i have created the shell file in following manner could you please suggest how to get it set export ...
0
votes
0answers
35 views

IcedTea webstart applications have a taskbar

I get a taskbar on IcedTea webstart applications like below. It is there whether there are any dialogs open or not (shown with a dialog just to help identify what it is) and it covers the bottom ...
0
votes
1answer
36 views

My IDE keeps crashing instantly: How do I diagnose?

I am using Aptana, Java-based IDE. Starting today, it is crashing suddenly every few minutes. This may have to do with the fact that I recently upgraded to Xubuntu 14.04. There is no error message. ...
0
votes
0answers
40 views

“hadoop version” getting error

I'm trying to install hadoop 2.4 & jdk8 on ubuntu14.04. I'm following the links: http://codesfusion.blogspot.com/2013/10/setup-hadoop-2x-220-on-ubuntu.html I've followed carefully above the ...
0
votes
0answers
127 views

Setting up OpenGL Development using LWJGL

I recently switched from Windows 7 to Ubuntu 14.04 LTS, while running a project of mine through NetBeans I encountered: org.lwjgl.LWJGLException: X Error - disp: 0x7f3c601e80c0 serial: 93 error: ...
0
votes
0answers
23 views

Searching for Java Path

I'm trying to install predictionIO using Terminal. At a point of the install process, it wants to download Hadoop and for this, it asks for the java path. I'm trying to find this path and until now, I ...
-1
votes
1answer
28 views

Error Line 1 unmet dependencies!

I got on today and after being on for 30 min it crashed and said there was a internal error. After restarting i had a red negative sign in the top right hand side of my menu bar. It said to look in my ...
0
votes
1answer
34 views

Can't open java mind-mapping create from Freeplane

I've created mindmap in freeplane and then export it as "Java", that gave me a html file and a folder. When I open this html file in windows it works correctly in Google Chrome and Firefox. But ...
0
votes
0answers
31 views

WUBI admin permission in graphic environment and installing question

While I can more or less create directories and such in folders like usr and bin ("root directories" right) through terminal comfortably (I say more or less because I set the password through wubi and ...
0
votes
0answers
17 views

loading gcc created shared libraray in eclipse with four additional java files (swig)

In my architecture components used (swig 3.0,gcc 4,jdk 1.7, Eclipse Luna). 1.Converting C code to Java done using swig. 2.My c file name and interface file name are xyz.c , xyz.i and by running swig ...
-1
votes
2answers
94 views

Java_Home problem, i can't find java's path

I try to change environment but it didn't work. I think I wrote wrong the path for Java. I write this /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java. How can I find the true Java path ?
0
votes
1answer
64 views

How to use make without an install.txt

I am trying to install JRE 1.7_67 from the source tarball. It does not come with an INSTALL file. How do I compile the package and install it without one?
-1
votes
1answer
425 views

can't run minecraft with ubuntu or wine since update to 14.04

i have followed other available advice on minecraft, java, etc, but can't find anything that works. here is my story: for a couple years i have been successfully running a cracked windows version of ...