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! *********
Nothing Works in DOS...Can compile in text but can't run. HE
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Nothing Works in DOS...Can compile in text but can't run
http://java.sun.com/docs/books/tutorial ... win32.html
Try this for DOS as far aa the TextPad ... you got me
Try this for DOS as far aa the TextPad ... you got me
Re: Nothing Works in DOS...Can compile in text but can't run
i have the same problem too, and i can't find the file above on java.sun.com, please, help me.