Cannot run after installing v4.1 from RPM on Linux
Submitted by Wednesday, 21 January, 2004 - 08:59
on
# jedit Warning: JAVA_HOME environment variable not set. Exception in thread "main" java.util.zip.ZipException: Permission denied at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:112) at java.util.jar.JarFile. (JarFile.java:127) at java.util.jar.JarFile. (JarFile.java:65)
The cause is the dir /usr/share/jedit
not having r-x
permissions for "other".
Of course this is fixed by simply saying chmod -R o+rX /usr/share/jedit
.
I noticed that the dir is missing in the list of files provided by the rpm (as in the output of rpm -q --list -p jedit-4.1-1.noarch.rpm
), so this might be the problem and should be fixed. It probably doesn't arise if you don't have such a restrictive umask like me, but then again some people may and they will run into the same problem, so I thought I'd just qickly post this.
Greetings,
Daniel