jEdit Community - Resources for users of the jEdit Text Editor
jEdit 4.2.pre9 on Java 1.5.0 beta - NoClassDefFound
Submitted by Anonymous on Thursday, 19 February, 2004 - 21:30
I recently installed the Java 1.5.0 beta on my Linux machine. jEdit 4.1.final seems to have no problems with it, but when I try to run jEdit 4.2.pre9, I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: error:

Note that this is the only line printed. There is no stack trace or any other information. Odd, isn't it? Has anyone been able to duplicate this problem?

Trevor
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Re: jEdit 4.2.pre9 on Java 1.5.0 beta - NoClassDefFound
by Anonymous on Fri, 20/02/2004 - 06:14
I did some more investigating with this, and it seems to be some kind of odd problem with BeanShell. I keep getting NoClassDefFoundError with bsh/UtilEvalError, even though bsf.UtilEvalError is clearly on my CLASSPATH. I finally fixed the problem by recompiling jEdit from scratch using the Java 1.5.0 SDK.

Trevor
 
I'm having a similar problem
by MrPendent on Wed, 31/03/2004 - 08:03
I'm having a similar problem but just to make it really weird--my laptop (running WinXP SP1 and Java JDK 1.4) has this problem, but my desktop, using the same version of windows and the same installation file for Java, doesn't.

I have set the CLASSPATH variable 9 ways to Sunday, and jEdit doesn't seem to want to see it. If I use the -cp switch on the java command line and put in my class path (which is also in the Windows Env. Vars, and in the startup option for jEdit), it will work.

I guess I'll try downloading Java 1.5 and recompiling like Trevor.

Just thought I'd put my little data on the issue in. Smiling

Mr. Pendent
 
Just a thought
by Anonymous on Thu, 08/07/2004 - 15:46
In Windows, you can just double-click the .jar file in Windows Explorer and it runs without errors.
 
Just a thought
by Anonymous on Thu, 08/07/2004 - 15:42
Shouldn't you be using Javaw (not Java) to run this? I kept getting this same error using the command >\:java {JarFile}, but when I use javaw {JarFile} it works.

Also, you can just double-click the .jar file in Windows Explorer and it runs without errors.
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