This is so silly I will have to wallow in the irony of for the
rest of the day. Installing Java 6 on linux stops you being able
to open openoffice files on linux.
This is quite a complicated failure. It stems from this
feature, which aims to make all .jar files magically
executable. Suddenly you can run it, even on the command line.
Only, JAR files are .zip files with a MANIFEST subdir. And what,
pray tell, are .SXW files? That's right, .zip files with a MANIFEST
subdir. oops. And whatever opens files under Nautilus, sees that
this file is marked as an executable, starts to run it then
immediately flags something is not quite right. A feature that was
designed to make it easier to run Java has the side effect of
breaking desktop integration with Open Office.
As a software developer, I've done my fair share of things with
unexpected side effects. Usually it happens with apps you don't
test. But look at this. Java 6: Sun. Gnome/Nautilus: part of the
"Java Desktop": Sun. Open Office: Sun. Seems like a bit more
internal testing would have caught this.
Having looked at /etc/init.d/jexec, it is registering the PKZIP
file type with something called binfmt_misc. A quick rm
/etc/rc1.d/S20jexec may make things return to normal after
the next reboot.
updated corrected the rm statement, as suggested.