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
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
382 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
11k 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
64 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
491 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
245 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
34k 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
25k 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 ...
29
votes
3answers
46k views

Setting JDK 7 as default

four@twenty:~$ file /etc/alternatives/java /etc/alternatives/javac /etc/alternatives/java:symbolic link to `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java' /etc/alternatives/javac:symbolic link to ...
3
votes
2answers
4k views

Oracle Java 7 on Linux PowerPC

I give up trying to figure this one out on my own. The information on this website: http://www.yellowdog-board.com/viewtopic.php?t=2935 and on this one: ...
2
votes
3answers
2k views

I cannot install java from the software center

I can't install openJDK from the software center, I get the error: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-lib_7u15-2.3.7-0ubuntu1~12.10_all.deb 404 ...
6
votes
2answers
980 views

Is OpenJDK6 still supported?

I use OpenJDK6, but is in necessary to update to OpenJDK7? It seems that Oracle has dropped support for Java 6... I read here that Red Hat will be providing support for OpenJDK6: ...
0
votes
1answer
693 views

How can I make yEd look more integrated into Ubuntu?

yEd is a powerful graph editor that is coded in Java and supports a variety of platforms, including Ubuntu. However, by default it looks quite alien to the Ubuntu desktop as it doesn't appear to use a ...
0
votes
1answer
728 views

I need the Best/Most Secure Supported JRE for LibreOffice

I want to utilize the Java supported functions of LibreOffice (database/Macros), but I know Java is known to be insecure (notably the latest, cross-platform, zero-day exploit). What is the best ...
0
votes
1answer
174 views

Why does installing jre1.7.0 give me no alternatives?

Did: sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.7.0/bin/java 1 Then: sudo update-alternatives --config java But I get: There is only one alternative in link group ...
1
vote
1answer
4k views

Unable to remove OpenJDK from Ubuntu 12.04.01

I ran the following in terminal sudo apt-get remove openjdk-6-jre but java -version still show as OpenJDK installed. Please see image below How to remove OpenJDK from Ubuntu 12.04.01?
3
votes
0answers
670 views

Webex crashing/lockup Firefox / Chromium Browsers - Ubuntu 12.10 [closed]

When launching webex from firefox or chromium browser. Browser freezes and stops responding. Browser process must be killed to exit. Please help me troubleshoot this. Here are my setup details and ...
1
vote
2answers
7k views

Can not find class org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in Tomcat7/Ubuntu 12.10? (Possible bug)

Tomcat7: 7.0.30-0ubuntu1.1 Tomcat 7 has the jar files commons-dbcp.jar and tomcat-dbcp.jar but in tomcat-dbcp.jar, it is the file org.apache.tomcat.dbcp.BasicDataSourceFactory class instead of ...
1
vote
0answers
30 views

Minecraft Help! [duplicate]

So this is what I get when I Login to MineCraft on a 32 bit system 1.7 gig ram and 2.8 ghz prossesor: ---- Minecraft Crash Report ---- // Ooh. Shiny. Time: 14/03/13 9:07 AM Description: Failed to ...
0
votes
2answers
2k views

Livemeeting in ubuntu

I wanted to use microsoft livemeeting session in firefox browser. I have downloaded java7 tar file, then unzipped the same. Then I linked the plugin using below code sudo ln -vs ...
3
votes
2answers
843 views

Will it be possible to create apps/games in Java SE or Java ME on new Ubuntu phones?

Will it be possible to create apps/games in Java SE or Java ME on new Ubuntu phones?
3
votes
2answers
8k views

Unable to understand what jdk location is

I have java installed correctly for sure. 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 ...
1
vote
2answers
3k views

Cannot compile java code [Unicode Byte Order Mark 65279]

I wrote a simple Java program with the gedit text editor. public class Example{ public static void main (String args []) { System.out.println("hi yaar"); } } When I tried to ...
2
votes
1answer
1k views

Ubuntu 12.10 trouble Installing Netbeans 7.3 and JAVA ME 32 bit

I tried CHMOD, updating, simple terminal line commands and nothing seems to work. When I try install NetBeans 7.3 the screen is blank and if I try to do something it gives me the error that states the ...
0
votes
1answer
627 views

Java Internet explorer 7 update

Unfortunately I have to use Internet explorer (7) through wine in ubuntu 12.04. The other browsers don't work with this website. But some java updates are required to open some pop up windows. there ...
2
votes
3answers
4k views

Minecraft server (Bukkit) .sh bash file not opening

My Minecraft server (Bukkit) .sh bash file is not opening! I did make it executable (in permissions, I clicked "anyone" for executable). Here's the code: #!/bin/bash cd "$( dirname "$0" )" java ...
1
vote
1answer
273 views

Can someone recommend a Java ebook maker for mobile on Ubuntu 12.04?

Can someone recommend a Java ebook maker for mobiles? I want to create 176x220 or 240x320 ebooks for my personal use. I am using Ubuntu 12.04. I found a couple of softwares for Windows but I don't ...
1
vote
3answers
3k views

Unable to install JDK 1.6

When executing the following: sudo apt-get install openjdk-6-jre executing displays following: Reading package lists... Done Building dependency tree Reading state information... Done ...
5
votes
4answers
517 views

How to protect Ubuntu12.10 from Viruses, Spywares, Spamware and Intruders?

I have been using Windows OS for a long time and there i needed to install a separate Anti virus Program (included with firewall, anti spam) etc.. With my mentor's recommendation, I have replaced ...
-1
votes
1answer
315 views

javac and javaws works but not java

javac and javaws work from the command line but java for running a .class won't work. I have updated my PATH, set JAVA_HOME, and checked links. When I type java myclass I get "java" found in ...
0
votes
2answers
2k views

Set OpenJDK as default application

I'm trying to create a launcher for Minecraft, but in order to make a proper working launcher I need to have OpenJDK Java 7 set as the default application for opening the .jar file. Here's the ...
1
vote
3answers
1k views

Minecraft Black Screen Ubunutu 12.10 using Java 7

I get these errors when trying to run minecraft. ian@ian-Beast:~$ cd ~/.minecraft ian@ian-Beast:~/.minecraft$ cd /.bin bash: cd: /.bin: No such file or directory ian@ian-Beast:~/.minecraft$ cd ./bin ...
1
vote
3answers
7k views

How do I run a .JAR file via the terminal

Mispelled classname in manifest.txt file caused this error Im trying to run a java file outside of my IDE by exporting the .jar file to my documents folder and trying to display the text 'hello ...
1
vote
2answers
780 views

OpenJDK built in Ubuntu 12.10, but not working?

I recently installed Ubuntu 12.10, and I just now realized I haven't installed Java on it. When I was going to, I saw that I already have java installed. java -version gives me: OpenJDK Runtime ...
1
vote
1answer
2k views

How to install Java Plugin for chrome

I followed the instructions in the accepted answer to this question and was able to correctly install the latest version of Java 7. However I do not have mozilla firefox installed but chrome. I was ...
2
votes
1answer
2k views

OpenJDK not working in Ubuntu 12.10 on Firefox

This is a problem I've been facing for quite some time now : installing Java. I have installed the following packages using Synaptic icedtea-netx openjdk-7-jre A few others got installed along ...
1
vote
1answer
2k views

how do I install novacom in ubuntu 12.04?

I have been attempting to install android os on an hp touchpad running the webos system.I m pretty much a newbie at this but I ve been trying to install the novacom driver into ubuntu and dont think I ...
2
votes
0answers
123 views

How to download and install java plugin for firefox 19.0 [duplicate]

I was in a site (URL : http://www.francocube.com/cyril/step_1.php) and there was animations tht needed a plugin. When I clicked on an animation, Firefox 19.0 showed : "Additional plugins are required ...
2
votes
2answers
9k views

How to remove openjdk-7?

I want to uninstall java 7 and install the version 6 (as some of programs I would like to use are incompatible with 7). I tried : $ sudo apt-get remove openjdk-7-jre [sudo] password for USER: ...
2
votes
2answers
1k views

How can I fix a broken Eclipse installation in Ubuntu 12.10?

It is a shot in the dark, but I have tried everything to reinstall Eclipse. I did the normal apt-get install for Eclipse. I used it for a year. And then I decided I wanted to select the "Upgrade ...
1
vote
2answers
6k views

Trying to install java

I'm extremely new to linux and wanted to run a server but the program want to run requires linux. Im trying to run this command via ssh to my server but receive this every time. sudo apt-get install ...
0
votes
1answer
3k views

How do I set CLASSPATH variable for Tomcat in 12.10?

Previously, I have set the JAVA_HOME path using the terminal with the following command: export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-i386" >> ~/.bashrc Now, I want to set the CLASSPATH ...