jEdit Community - Resources for users of the jEdit Text Editor
BeanShell 2.0b1 breaks jEdit 4.1
Submitted by Anonymous on Thursday, 5 February, 2004 - 10:34
I'm running on MacOS X 10.2.8 with Java 1.4.1_01

I installed BeanShell 2.0b1 in the JVM standard Extensions folder, and jEdit would no longer launch, giving a class loader error (class changed).

So my question is: can I make jEdit use the BeanShell interpreter in the system classpath rather than its own bundled one?
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
4.2 uses 2.0b1 as of 4.2pre8.
by Anonymous on Thu, 05/02/2004 - 14:33
4.2 uses 2.0b1 as of 4.2pre8.
 
Still barfs
by Anonymous on Fri, 06/02/2004 - 21:24
4.2pre8 does start and run, but it barfs on several plugins and posts a big old error on startup iff BeanShell 2.0b1 is in the standard Java Extensions folder. So it looks like for the moment the only solution is to manually add BeanShell to the classpath whenever I need it outside jEdit. Not really satisfactory.
 
A Bit better solutions
by Anonymous on Sun, 27/06/2004 - 17:05
Two more solutions:
1. copy jedit.jar from jEdit.app/Contents/Java/jedit.jar to /Library/Java/Extensions/
+ bsh works
+ jEdit works
- MacOS plugin dies
2. extract bsh-classes from jedit.jar, repackage to a new jar and copy that to /Library/Java/Extensions/ - i.e.
% jar -xf jedit.jar bsh (while in jEdit.app/Contents/Java/)
% jar -cf bsh-2.0b1-jedit-1.jar bsh
% sudo cp bsh*jar /Library/Java/Extensions/
+ all works
- bit more work and you probably need to do it again when jedit or bsh is updated
User login
Browse archives
« November 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   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300