Cannot Run any Java Class File Using Commando?
Submitted by Sunday, 30 January, 2005 - 23:34
on
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
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