On a recent install of Lucid Lynx Ubuntu version 10.4, I was unable to copy and paste from jEdit to Gnome Terminal.

I found this web page that explained how installing the Sun JRE fixed it:

sudo apt-get install sun-java6-jdk

But Lucid Lynx doesn’t have the Sun JRE! Thankfully, this page explains that it is available in the partner repository, and how to add it:

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

After I got that installed, I was still having problems, apparently because I’m using the Awesome window manager. The awesome wiki has a fix that worked for me, putting this at the top of /usr/bin/jedit:

wmname LG3D

Alas, this causes problems with search and replace! I decided to switch back to the OpenJDK packages and switch to lxterminal.

Funny, lxterminal started getting kind of sluggish for me, so I installed Xfce4-terminal and it rocks! So it’s not so much a resolution but a workaround.

sudo apt-get install xfce4-terminal
sudo update-alternatives --config x-terminal-emulator