Default OpenJDK installation crashes with headless exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This bug have been discovered in 64 bit 10.04 LTS. It is reported from the different Ubuntu machine.
When trying to start a trivial GUI application, OpenJDK has been crashing with HeadlessException. Web search has confirmed that I am not alone with my problem:
http://
http://
It looks that some version of fake OpenJDK is installed but it actually cannot run any program with GUI. This is much worse than simply stating that Java is NOT installed, as creates the misleading impression of OpenJDK being simply buggy. Deciding from that is written in pages under the two links above, most of the users in such case will immediately try to switch to Oracle's proprietary java or even away to the alternative OS.
I think that if OpenJDK is already half installed maybe there is no big harm to have it fully installed by default. Alternatively, some more reasonable error message should appear on the failed startup, at best directly indicating the name of the missing package. The third solution is NOT to have OpenJDK installed; this also would lead the user to the correct conclusion (I miss Java packages) faster.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openjdk-6-jre 6b20-1.
ProcVersionSign
Uname: Linux 2.6.32-27-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Jan 14 13:25:24 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: openjdk-6