jEdit Community - Resources for users of the jEdit Text Editor
Cannot Run any Java Class File Using Commando?
Submitted by Anonymous on Sunday, 30 January, 2005 - 23:34
Hi,
I've spent hours reviewing this message board as well as going through all the various options within Jedit to do a simple Java command.
I am trying to run a java class file that I have successfully compiled using the Plugins>Console>Compile Current Buffer option. I have Java version 1.4.2_07 installed.

But when I then use Plugins>Console>Run Current Buffer I always get the following error in the Command Window.
C:\Program Files\jEdit> java -classpath "$CLASSPATH;C:" -ms32m -mx32m Solution
java.lang.NoClassDefFoundError: Solution
Exception in thread "main" Process java exited with code 1

My Java file resides in my C directory. I've checked all my classpath settings in the Environment Var options and they're fine. I can compile and run this program using a DOS Command Window on Windows XP but cannot run it using Jedit's Commando plugin.

The only way I can get it to work is to cd up 2 directory levels to the C drive and then issue the java command. But I'd rather not have to do this each time...

I'd appreciate any help out there on this as I'm baffled with why this will not work for me.

Thank You!!

Conor
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