jEdit Community - Resources for users of the jEdit Text Editor
Cannot run after installing v4.1 from RPM on Linux
Submitted by Anonymous on Wednesday, 21 January, 2004 - 08:59
# 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

User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293