jedit won't start after installation in Natty 11.04

Bug #804191 reported by Lorin Soura
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
jedit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 11.04 2.6.38-8-server

root@BigBad:/home/littlepig# apt-get install jedit --fix-broken
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  jedit
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,008 kB of archives.
After this operation, 8,196 kB of additional disk space will be used.
Selecting previously deselected package jedit.
(Reading database ... 229855 files and directories currently installed.)
Unpacking jedit (from .../jedit_4.3.2+dfsg-3_all.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for doc-base ...
Processing 3 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for python-support ...
Setting up jedit (4.3.2+dfsg-3) ...
Processing triggers for menu ...

root@BigBad:/home/littlepig# jedit
4:11:23 AM [main] [error] main: Exception in thread "main"
4:11:23 AM [main] [error] main: java.awt.HeadlessException
4:11:23 AM [main] [error] main: at sun.awt.HeadlessToolkit.getScreenSize(HeadlessToolkit.java:279)
4:11:23 AM [main] [error] main: at org.gjt.sp.jedit.gui.SplashScreen.<init>(SplashScreen.java:57)
4:11:23 AM [main] [error] main: at org.gjt.sp.jedit.GUIUtilities.showSplashScreen(GUIUtilities.java:1844)
4:11:23 AM [main] [error] main: at org.gjt.sp.jedit.jEdit.main(jEdit.java:330)

root@BigBad:/home/littlepig# java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

Revision history for this message
Lorin Soura (gr8can8dian) wrote :

JEdit will not start from either the command line or the Icon in the Applications ==> Programming menu.
As a footnote, my Dell Inspiron 9400 laptop (which has been running Ubuntu since Hardy) had a rocky upgrade to Natty 11.04 amd64 from Lucid 10.04 amd64, I had to chroot repair that one (may still have some issues)???

Revision history for this message
Lorin Soura (gr8can8dian) wrote :

#/usr/bin/perl -wT

if (possible){
  use JEdit;
}

else{
  use Gedit;
}

Revision history for this message
Lorin Soura (gr8can8dian) wrote :

Installed Oracle(Sun) Java and removed all openJDK JEdit works fine.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in jedit (Ubuntu):
status: New → Confirmed
Revision history for this message
the.jxc (jonathan-spiderfan) wrote :

I encountered this, after having installed Sun JDK for an esoteric purpose.

Turns out I had somehow managed to install the "headless" (i.e. non-GUI) version of OpenJDK.

To fix:

$ sudo apt-get remove openjdk-7-jre-headless
$ sudo apt-get install openjdk-7-jdk

That made everything lovely for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.