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
2 views

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

EDIT::: So when I do edit profile code, it's a different profile. The original one is indeed intact; at least I can open it from the text editor. But how can I reopen the original (proper) profile? ...
0
votes
0answers
5 views

No Tomcat option in the preference of eclipse kepler

So, I downloaded The Eclipse Kepler SR2, and followed this link But now I open my eclipse and go to window>preferences but there is no tomcat option for me to configure. I previously used to use ...
0
votes
1answer
18 views

How can I install Jdeveloper11 [on hold]

I have downloaded Jdeveloper 11 on Ubuntu 14.04 and cant install it, I need to know the terminal commands to continue install it !!
0
votes
1answer
22 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
32 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
0answers
11 views

i use ubuntu 14.04 there are big problems with fileinputstream,fileoutputstream ,buffered reader ,buffer writer

anybody help me please ,i use ubuntu 14.04 there are big problems with fileinputstream,fileoutputstream ,buffered reader ,buffer writer there is my project when i try to copy data from file to file ...
2
votes
2answers
18 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
9 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
22 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:
-1
votes
0answers
9 views

Android Studio doesn't launch (arm chromebook)

I have recently installed ubuntu with xfce on my arm chromebook, when I try to launch android studio (which I downloaded from a ppa : Following this article I then launched it, it said it didn't like ...
-1
votes
0answers
18 views

Acer c720 Chubuntu14.04-Java Uncaught Exceptions

I was able to download a digital microscope program but am unable to run because of several Java uncaught exception, I thought I needed to up the graphics, but that did not help, any suggestions? ...
0
votes
0answers
16 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
4 views

My game (Minecraft) doesn't launch? [duplicate]

when I launch Minecraft in Ubuntu, no window is showing up but the game is working. I don't have any error.
-1
votes
0answers
14 views

How to disable Preventing RIAs from Being Repurposed

I have problem running my java applet without java warning. How can i disable the below warning?. I run this page from cron so that it will automatically launch the java applet, but due to this ...
-3
votes
0answers
24 views

Runescape.msi Installer not working with Wine [closed]

Well, I was having problems with Runescape yesterday and I decided to re-install it. So I deleted all the files and downloaded the Runescape.msi (Windows) installer and I ran it with Wine. It said I ...
0
votes
0answers
31 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
25 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
14 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
243 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
14 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
20 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
28 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
16 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
29 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
25 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
52 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
14 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
19 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
18 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
18 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
10 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
33 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
43 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
129 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 ...
1
vote
0answers
57 views

Unable to start topcoder arena in Ubuntu 14.04

When I want to clear cache using javaws - viewer these error comes. I am trying to launch my topcoder arena. Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Exception in ...
-1
votes
0answers
13 views

Cannot install Java [duplicate]

here is the deal i keep getting this whenever i put in sudo apt-get install openjdk-7-jre openjdk-7-jdk but it never works it always comes up as sudo apt-get install openjdk-7-jre openjdk-7-jdk ...
0
votes
0answers
22 views

“java.lang.ExceptionInInitializerError” error during start up on 12.04

I am getting "java.lang.ExceptionInInitializerError" error during start up. How do I fix this? Hardware: Acer i.3 fourth generation.
0
votes
2answers
270 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 ...
0
votes
1answer
25 views

Geany doesn't find javac

I'm attempting to compile a Java program using Geany. I get /bin/sh: 1: javac: not found in the Compiler window. The available help out there suggests to make sure you have OpenJDK installed, which ...
0
votes
2answers
32 views

problem with java installation

When I type following command ramesh@ramesh-H61M-S2P-B3:~$ sudo apt-get install openjdk-6-jdk getting error as, Reading package lists... Done Building dependency tree Reading state ...
0
votes
2answers
40 views

Getting error downloading java programmer

E: Failed to fetch ftp://ftp.iitb.ac.in/os/ubuntu/archives/pool/main/o/openjdk-7/icedtea-7-jre-jamvm_7u55-2.4.7-1ubuntu1_amd64.deb Unable to fetch file, server said 'Failed to open file. ' E: ...
0
votes
0answers
13 views

Eclipse Java IDE 4.4 does not have the org.eclipse.pde.ui.PluginImportWizard?

I have just installed eclipse Java IDE 4.4 on Ubuntu 12.04 LTS. In the welcome screen I clicked "Create a Hello World SWT application" under Java Development. Under import the SWT project I clicked ...
0
votes
0answers
13 views

JDK 8 installation from .tar.gz file [duplicate]

I have downloaded jdk-8u11-linux-x64.tar.gz from the oracle website, and I have done gunzip and tar -xf which extracted all the files into a jdk directory(/usr/local/src/jdk1.8.0_11). Now is that it ...
0
votes
0answers
40 views

Error While Accessing Custom Class in PHP-JAVA-BRIDGE on tomcat7 in ubuntu 12.04

HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: ...
0
votes
1answer
44 views

How may I install the right Java Virtual Machine? [duplicate]

I receive following error in terminal: No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.5. Please define INSTALL4J_JAVA_HOME to point to a ...
1
vote
0answers
41 views

Eclipse does not start on 14.04

I recently upgraded to Ubuntu 14.04 and have been trying to install and use Eclipse ever since. I tried using both open JDK as well as Oracle JDK installations(both Java 7 and Java8) and both Eclipse ...
0
votes
2answers
104 views

Changing the Java Runtime in NetBeans 8 on Ubuntu 14.04

(Not sure if this is the right site for this question - if not please migrate.) I am using Netbeans 8 for C++ on Ubuntu 14.04. Ubuntu comes with the Open JDK Runtime, which is what Netbeans is ...
1
vote
0answers
96 views

Installing Php-java-bridge in ubuntu 14.04 i need two servers apache and tomcat both

When I copied JavaBridgeTemplate621.war to /var/lib/tomcat7/webapps and started the tomcat7 server and trying to go to http://127.0.0.1:8080/JavaBridgeTemplate621/ I'm getting following errors. HTTP ...
0
votes
1answer
45 views

Run executable jar file

I'm using Ubuntu 14.04 LTS and build JavaApplication using NetBeans so in the dist directory has executable jar file but doesn't execute as program it's opening through gedit.why don't run executable ...
0
votes
0answers
28 views

Eclipse won't start

I've just installed the latest version of Ubuntu (14.04) and Eclipse from the Software-Center. When I try to launch it, I just see the small welcome screen "eclipse 3.8 (c) Copyright ... etc", but ...