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

7
votes
1answer
36k views

“Please ensure you have JAVA_HOME points to JDK rather than JRE” message

I have java installed aaa@ubuntu:~$ whereis java java: /usr/bin/java /usr/bin/X11/java /usr/local/java /usr/share/java aaa@ubuntu:~$ whereis javac javac: /usr/bin/javac /usr/bin/X11/javac and ...
0
votes
1answer
193 views

How does java check version online

i'd like to know how does java check his version when facing an applet online. Does it phonecalls a particular site? How can i get that site?
0
votes
1answer
952 views

Can not install Java [duplicate]

sudo add-apt-repository ppa:ferramroberto/java After this command I am getting error: Error reading https://launchpad.net/api/1.0/~ferramroberto/+archive/java: Couldn't resolve host 'launchpad.net ...
0
votes
2answers
929 views

How do I display an html file on a web browser in Ubuntu?

I am tasked with displaying a program on a web browser for my final project. The browser would be run from a cloud instance, and I have chosen to show an java applet that I have made. I have already ...
1
vote
1answer
3k views

install matlab 2013a with error

I tried to install Matlab2013a in my laptop (Ubuntu system). I download a ISO file (very big) and followed their instruction: mount it and run "install". But it returns me an error: Cannot locate ...
1
vote
1answer
1k views

smartgit ubuntu 13.04 64bits crash startup

I try to launch smartgit with ubuntu 13.04 but it crash on startup. I tried with openjdk and the oracle java. Here is the error : # # A fatal error has been detected by the Java Runtime ...
2
votes
1answer
350 views

Open ports for development purposes

I'm doing some Java ME Development in my brand-new Ubuntu laptop, coming from a now replaced Windows Vista one. What I'm trying to do is run a Mobile Simulator that acts as an HTTP Server -receives ...
1
vote
0answers
393 views

Problem with eclipse after installing ubuntu 12.04 LTS (detailed description)

System specs and code sample in the end of this contribution! First of all, I am new to this forum. Please tell me if there is anything wrong with the layout or the question itself. I am also new to ...
2
votes
2answers
866 views

UnsatisfiedLinkError on xawt when running HEC-HMS.sh

I am a recent adopter of Linux and this problem has got me stumped. I use HEC-HMS and HEC-DSSVue for work on a regular basis. I have been using the widows versions in wine but they are really buggy. ...
0
votes
1answer
2k views

Ubuntu 13.04 and java GUI

I'm working on Rescue Agent Simulation, we have a main server that run our code and its programmed in Java. Our server has lag under Ubuntu 13.04, but it run smoothly in Ubuntu 12.10 and 12.04. So my ...
1
vote
0answers
4k views

not able to install javaws

I need to use java web start to run TopCoders ContestAppletProd.jnlp. When I try to run the the arena I get Java not found error. Upon selecting the option "using Java Web Start" the jnlp file ...
0
votes
2answers
1k views

kubuntu 12.10 - problem with netbeans 7.3 and java

I have kubuntu 12.10 and I have installed netbeans from official site (https://netbeans.org/downloads/). Before I had already installed java from java ppa repository ppa:webupd8team/java ...
1
vote
1answer
433 views

Problem at opening NASA World Wind. I get a terminal error (java problem)

The program is zipped and these are the instruccions in README file: 2) cd to the World Wind release folder. 3) chmod +x run-demo.bash 4) ./run-demo.bash ...
0
votes
1answer
172 views

Java doesnt work if used from gnome

When I try to install something( which uses InstallAnywhere) from terminal in gnome I got something like that: Preparing to install... Extracting the JRE from the installer archive... Unpacking the ...
-1
votes
1answer
5k views

How to Update Java for use with Chromium on 13.04 [closed]

I followed the instructions here: Oracle (Sun) Java JRE for Ubuntu, Linux Mint and Debian and successfully have enabled latest Java and works properly with Firefox. Chromium; however, reports that I ...
1
vote
1answer
2k views

learning of mysql with java in ubuntu

Hello as Im new to ubuntu i want to learn Mysql database with Java,So how to install the software and configure them for the Programming in ubuntu 13.04
2
votes
1answer
2k views

Symbolic link creation pointing Firefox

I am getting this error on Firefox when trying to confirm a file over the internet: Error type: java.lang.UnsatisfiedLinkError Error message: Native Library /usr/lib/firefox/libmozsqlite3.so already ...
2
votes
2answers
1k views

GWT (Google Web Toolkit) designer not working on Ubuntu 13.04

On 13.04 the GWT designer is not working on Eclipse 4.2 and Eclipse 3.7. If I want to switch in the design-mode after executing Workaround 2 from this page, Eclipse crashes and is closing ...
2
votes
2answers
3k views

Java can't launch minecraft, these errors happen. Using Java Oracle

These errors happen when I launch minecraft, First error happens when I launch the login menu ( It still boots up ). Second when I actually launch the game. ...
1
vote
1answer
84 views

Can we list installed packages from a java 7 program?

is it possible to list all installed (official) packages from a Java 7 program ? If so, how could I do it ? Is looking at /usr/bin enough or may I miss some packages ? Regards
1
vote
2answers
3k views

“MOZILLA_FIVE_HOME not set” zekr quran ubuntu 13.04 ERROR

I have installed zekr Quran study software in ubuntu 13.04, but it showes error org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] at ...
5
votes
3answers
13k views

icedtea-7-plugin non-functional in Ubuntu 13.04

I installed(sudo apt-get install) icedtea-7-plugin (and all its dependencies) and have closed firefox and reopened it; and the plugin still does not appear in http//about:plugins Is there a fix for ...
0
votes
1answer
2k views

install solr-4.2.1-src.tgz

I have installed JDK 1.7 in order to run solr. I downloaded solr and tried the following command tar xzf solr-4.2.1-src.tgz There was no change here though. But what is the next step to install ? ...
0
votes
1answer
279 views

running hadoop on ec2 and HADOOP_HOME variable?

I am following Hadoop in Action to get started with hadoop with ec2. I'm running on ubuntu and have downloaded and installed the latest version of Hadoop. I am hitting a road block at this command: ...
0
votes
2answers
4k views

12.04, 12.10 - how can i install Java 32-bit and Java 64-bit?

I have my project which requires to run with Java - 64-bit for the main application. And for some other libraries it requires Java - 32-bit version. On 64-bit Ubuntu 12.04 when i install java it ...
0
votes
1answer
489 views

Eclipse 4.2 (Juno) crashes on Ubuntu 12.04 (Precise)

I installed eclipse 4.2 java on Ubuntu 12.04 x86_64 and it just crashes everytime it opens the auto completion context menu. It crashes without any error message and just closes the eclipse window. ...
1
vote
1answer
250 views

JavaDocs with netbeans 7.3 not showing help incode

I am running Ubuntu 12.10, I installed netbeans 7.3 full package and the javadocs are not found. I have tried to use the docs from online by going into Java Platform and adding the URL but then they ...
1
vote
1answer
418 views

Unable to connect through Java programs in Ubuntu

I am unable to connect to any host through Java programs, getting java.net.ConnectException: Connection refused. Does it have anything to do with Ubuntu firewall configurations or any other ...
1
vote
0answers
468 views

Disabling Java auto update notification in ubuntu?

I am looking for a way in ubuntu to disable the Java/JRE update notification so users do not get asked to allow or delay a JRE update. I would like to have it not check at all so it is not possible ...
3
votes
2answers
186 views

Ubuntu with Java Error

I have Oracle Java installed on my computer. Latest version 1.7 and path variables set properly. But most applications in Ubuntu from Software Center that require Java needs Open JDK Iced Tea etc. I ...
0
votes
1answer
1k views

Can't see LOCAL java applets in my browser

So I setup the Java plugin for Firefox, and can see applets that are not stored locally. But whenever I try to run applets that are stored on my machine I get an "Application Blocked by Security ...
0
votes
1answer
462 views

Setting environment variables for OpenJDK on Ubuntu 11.10

I am new to Ubuntu and have programmed in C in the same but java seems to be a bitof a pain. This is what -java version looks like java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 ...
1
vote
1answer
4k views

Why do I get Exception in thread “main” java.lang.UnsupportedClassVersionError? [duplicate]

I am trying to run a program on eclipse. I am getting the following error: Exception in thread "main" java.lang.UnsupportedClassVersionError: Perlinit : Unsupported major.minor version 51.0 at ...
2
votes
1answer
4k views

How can I remove my current JDK and install default JDK? [duplicate]

I have Ubuntu 12.10 x64 installed on a virtual device (VMware workstation) on a host system Windows 8. I downloaded android source code. I wanted to build it, and it says: Checking build tools ...
0
votes
1answer
1k views

Netbeans 7.0.1 error on Precise

Today, I installed openjdk and netbeans packages on my ubuntu 12.04 notebook from the synaptic package manager to learn some java. javac (compiler) and jvm are working fine. However, when I add a ...
1
vote
0answers
387 views

PS3 Media Server not opening?

This is my first time posting on the forums but I've tried everthing and cannot find an answer anywhere. My problm is that I am unable to run PS3 Media Server (PMS) on Ubuntu 12.10. I run the 32 bit ...
0
votes
0answers
47 views

How do I run Java programs in Ubuntu? [duplicate]

I tried to run a Java program (.jar) in Ubuntu using the default Java (JDK if I'm not mistaken) but I couldn't so I tried to install it following these instructions but I still can't. What should I ...
2
votes
4answers
12k views

How to set java home?

Can any one tell me, how to set java home in Ubuntu 12.10?
0
votes
2answers
2k views

Installing Eclipse with Java and CDT

Long story short, my computer got a virus yesterday and when I tried to re-image the computer, I accidentally wiped out Windows. While I'm waiting for a Windows 8 OEM disc to get here in the mail, I ...
2
votes
1answer
1k views

How to run topcoder arena applet using proxy in Ubuntu 12.10?

I was trying to run topcoder arena applet using proxy. I install latest JDK and iced-tea. When I try to run using: javaws ContestAppletProd.jnlp I'm getting: File cannot be launched because ...
3
votes
1answer
1k views

Install JUnit with Oracle Java 7 already instaled

I am running Ubuntu 12.10 with Oracle Java 7 installed (as described here). I want to install JUnit 4 but if I do a simple sudo apt-get install junit, it starts to download openjdk and the like (which ...
1
vote
1answer
65 views

Checking version of package without installing

I am undecided about whether to install the default-jdk java development package or the tarball from sun. How do I check the version information in the default-jdk or other package without actually ...
1
vote
1answer
1k views

How to fix “some packages could not be installed … unmet dependencies” installing Java? [duplicate]

I have some problems downloading with the sudo apt-get command. I try to get Java runtime: Reading package lists... Done Building dependency tree Reading state information... Done Some ...
2
votes
0answers
497 views

Install 32 bit JRE on 64 bit Ubuntu 12.04 for Nokia SDK 2.0

I have successfully install java for my ubuntu through terminal but in mobile project want to include Nokia SDK 2.0 but this Platform is not able to run without 32bit jre. Error The SDK could not ...
2
votes
0answers
249 views

Java installed, command not working

I have installed java but I could not get any java command to work! Below shows what I get when I try to run java commands: sultan@ubuntu:~$ java The program 'java' can be found in the following ...
3
votes
3answers
11k views

install red5 server on an ubuntu12.04 server

I've been struggling with this during 2 weeks without get it done. I'm building a website where the users will have to record a video and post it as there cv and for this I need a RTMP server. I ...
1
vote
1answer
1k views

“Failed to fetch” error when installing Eclipse!

I am trying to install Eclipse by using the Ubuntu Software center. I do have an Internet connection and I have actually downloaded other software successfully. However, when I try to install Eclipse, ...
0
votes
1answer
19 views

Permissions depending on parameters passed to application

I have a java app that writes to a very important table I have. This is sudo protected, but this app takes a parameters for where the output should go. The default is the REAL DEAL but the "output" ...
9
votes
2answers
39k 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 ...
17
votes
3answers
26k views

Open-source, free Java Decompiler

Is there any open source Java Decompilers for Ubuntu, preferably in the repositories and/or GPL'ed? Both JAD and JD, the most popular decompilers I've found after a bit of googling, seems to be ...