Nothing Works in DOS...Can compile in text but can't run. HE

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Tom

Nothing Works in DOS...Can compile in text but can't run. HE

Post by Tom »

I am able to compile in Textpad with no prob. .class file gets created, however I cannot run it in Textpad. I get the following:

java.lang.NoClassDefFoundError: classpath/A:\Test/java
Exception in thread "main"
Tool completed with exit code 1

I cannot get anything to work from dos prompt either. Not even compile. It just says "Bad command or file name".

Parameters are set the same for both javac and java.
As you can see in the above classpath, I am attempting to run the file from a floppy, however I have the same problems when I run it from a hard drive location.

I usually consider myself to be somewhat computer literate, but I've been trying to solve this problem for like 3 days now. I'm really stumped. I'd appreciate any help at all.
Thanks. -Tom> NYC.

*********** 9-11-01 WE WILL NEVER FORGET! *********
tony

Re: Nothing Works in DOS...Can compile in text but can't run

Post by tony »

http://java.sun.com/docs/books/tutorial ... win32.html


Try this for DOS as far aa the TextPad ... you got me
erna

Re: Nothing Works in DOS...Can compile in text but can't run

Post by erna »

i have the same problem too, and i can't find the file above on java.sun.com, please, help me.
Post Reply