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

42
votes
10answers
148k views

How to correctly remove OpenJDK/OpenJRE and set SunJDK/SunJRE as Default

Ubuntu seems to favour OpenJDK/JRE very much over Sun JDK/JRE. Even after I installed Sun JRE, JDK and plugin and spent some time plucking out OpenJDK-related packages, apt-get has installed them back ...
0
votes
3answers
274 views

Installed Sun Java 6 - configuration problem when running as sudo

I have install Sun Java 6 on an Ubuntu server and set an environment variable in the default profile as per the instructions at ...
0
votes
3answers
2k views

Problem installing eclipse-platform

I am trying to install the eclipse-platform package in a new Ubuntu 10.10 and I am getting the following error (via the Ubuntu software center): Failed to fetch ...
10
votes
3answers
22k views

How can I view or start Java Web Start Applications?

Where can I find a menu or launchers for Javaws apps that I have installed? I am using OpenJDK x86.
3
votes
1answer
3k views

How to set up Java-based services for startup?

What's the best way to set up a Java-based program to run an service and start on boot? upstart (pre-start script and post-stop script ?) plain old SysV init? (start-stop-daemon ?) In my case I am ...
1
vote
3answers
6k views

How to integrate Java Web Start to browser?

I have sun-java6-plugin installed on my 10.10 AMD64, and I tested on the Java website that it works with applets. However it doesn't work with web start - I have to download the jnlp file and double ...
4
votes
2answers
629 views

Ubuntu Jeos like minimal image for server with JRE

I need to create minimalistic server appliance for running on amazon ec2 (ami). I tried debootstrap. its coming upto 200+ MB , its same with vmbuilder also. Are there any ways of getting it down to ...
6
votes
1answer
5k views

Installing multiple versions of sun java

I have a need to maintain different versions of a certain product written in java, and uses sun's jdk to build. Some older versions of the product need an older jdk (1.5) and the newer ones need jdk ...
4
votes
2answers
1k views

Minecraft: Slow performance OUT of the game

I downloaded Minecraft yesterday to see what the fuss is about, brilliant game! When playing in Windowed mode, if I try and do anything else, i.e. use the computer, when the game is paused, the ...
5
votes
2answers
636 views

Installing programs from a download

my name is Anthony and I'm new to Ubuntu and any other Linux OS for that matter. My question concerns downloading a program, and then installing it. The program is called Remotedroid, it lets you use ...
2
votes
2answers
1k views

Packaging a Java web application: .war or symlinks to dependencies?

I would like to package my java web application http://kunagi.org/ for Ubuntu (and Debian). Should the package install a .war file which contains all the required dependencies (.jar files)? Or should ...
3
votes
2answers
564 views

Packaging a Java web application: Reuse tomcat6 or separate process?

I would like to package my java web application http://kunagi.org/ for Ubuntu (and Debian). Should the package create a user kunagi, provide an init script and configuration files for the existing ...
5
votes
2answers
6k views

Better drivers for SiS 650/740 integrated video?

I installed Xubuntu 10.10 on an old box today and the graphical performance is horrid. According to lspci, the video card is this: 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] ...
4
votes
1answer
3k views

Set .JAR default action to run with Java?

Currently, with my install of Ubuntu 10.10, Java JARs by default open with file-roller. How can I set it so that when I double-click a JAR in Nautilus, it opens with Sun Java 6?
2
votes
0answers
239 views

Blackboard (WebCT) takes ~2 min to load. Any tricks to make it load faster? [closed]

I'm running stock OpenJDK on Ubuntu 10.10 and webCT in firefox loads very slowly. I haven't found anyone else complaining about this so, I'm wondering how to go about debugging this. Anyone else ...
7
votes
1answer
381 views

Cloud server stuck on dpkg --configure -a

I have an amazon micro instance which runs one or two things for me. The config is minimal, it mainly acts as a host for a java application and couchdb. I tried to install curl today and got this ...
2
votes
2answers
292 views

How can I install Java libraries such as the jMonkey Engine system-wide?

I want to install the jMonkey Engine system-wide so that all users can use it. Where do I put these files? $ unzip -q jME2_0_1-StableDistribution.zip $ tree -Fn ...
0
votes
2answers
1k views

Glassfish warning when i try to open an existing Java Project

the project itself is located in my home-directory, netbeans and glassfish each installed to opt. when i start IDE and open java project i get following warning five times: ...
2
votes
2answers
313 views

How & Where to install softwares that are not available in repositories/synaptic package manager?

Suppose i have a situation where i need to install a software, which is not available in repositories or Synaptic package manager...And i have the .bin file. where should i install this file? I mean ...
2
votes
3answers
6k views

Troubleshoot sun-java6-jdk installation

Just finished a clean install of Ubuntu 10.10 on a new machine I added the partner repository via ubuntu software center I ran 'sudo apt-get install sun-java6-jdk' I ran 'sudo ...
0
votes
3answers
465 views

Apache solr and eclipse taking up huge amounts of memory

I have this pc with kubuntu and it gets really slow when I run programs like eclipse or talend. I know those two are memory hogs but I have 6gb ddr3 (it does not say in the list but it's ddr3) and ...
3
votes
2answers
1k views

Running J2ME (Java Micro Edition) Applications

What's the easiest way to run J2ME (Java phone apps) on Ubuntu?
2
votes
1answer
866 views

JVM is crashing randomly when trying to use Eclipse [closed]

Since I installed Ubuntu 10.04 on my PC, I have eclipse crashing every hour or more without apparent action. In the logs, I see that the cause is related to JAVA : # # A fatal error has been detected ...
1
vote
1answer
393 views

High resolution and Java Apps [closed]

I'm using Ubuntu 9.10 with an Ati Radeon X1300 pro, resolution 1600x1050. The problem is about slow speed when I use java apps. For instance, NetBeans is unusable cause of lack of speed. With ...
0
votes
2answers
1k views

How to Configure Media Player Connectivity [Java App for Firefox]

I've recently upgraded Firefox. This is the Error I receive at YouTube: Video Player undefined for this type of media (check Tools menu, MediaPlayerConnectivity...) ...
3
votes
1answer
871 views

How to run java 1.5 applets inside my web browser?

I need to run an applet that requires java 1.5. It does not matter if I should uninstall java 6. Even doesn't matter if it applies for firefox or chrome. I am using Ubuntu 10.04
2
votes
1answer
212 views

Problems with Java applet

Please take a look at the following Java applet: http://www1.chapman.edu/~jipsen/gap/po4.html It is supposed to show some mathematical stuff with vertices and edges. The only thing I see is ...
2
votes
2answers
4k views

Using Axis2/Java to generate code from WSDL

I'm trying to use Axis2/Java to consume web services. In particular, I'm trying to generate Java skeleton code from a WSDL file. I installed the libaxis-java package, but the package doesn't contain ...
8
votes
3answers
4k views

How to run Java application in KDE with Qt-like UI?

Continuing my question in Install Ubuntu or Kubuntu? I have tried Kubuntu (KDE), and it was very cool as cool as Ubuntu (GNOME). but there is little problem with its user interface when we start Java ...
32
votes
12answers
102k views

How can I install Minecraft?

I have tried many tutorials but none of them are clear enough. I have also tried installing it using Wine but it won't update and Wine goes gray and stops working. Does anybody know an easy way to ...
22
votes
0answers
4k views

How can I install the latest version of Sun Java (JRE)? [duplicate]

Possible Duplicate: How can I install Oracle Java JRE 7? Is there a reliable method to install the current version of Sun Java? Update 18 is in the repos, but it looks like Sun is up to ...
5
votes
2answers
16k views

how to restart java/flash from command line?

The java/flash plugin support in the browsers seems a little iffy (not to mention hard to configure.) My specific question is, is it possible to kill the flash/java PID and restart the process? ...
2
votes
2answers
1k views

Java and ALSA problems [closed]

I'm trying to use a Java-based application that requires sound in Ubuntu 10.04 using sun-java from partner repos . However, the sound is way too fast. It seems like a chipmunk got into my speakers. :) ...
2
votes
1answer
151 views

Can't install openSDK 6 - ubuntu 10.04

While trying to install openJDK to start installing netbeans 6.9 - I'm getting this: The installation could have failed because of an error in the corresponding software package or it was ...