Okay here is my situation.
I don't think I don't think it has anything to do with a mistake in my program but maybe so.
When try to compile my program by typing
javac Short.java
it says "Bad command or file name"
I can run the program by typing
java Short
but I get
"Exception in thread "main" java.lang.NoClassDefFoundError: Short
The only thing my autoexec.bat has in it is
SET BLASTER=A220I5D1T4
I added
path=c:\Program Files\dk1.1.8\bin
not really knowing why but just that I read the path had to be changed. When I rebooted it said "Too many file paths" but went ahead adn booted but it still doesn't work. Someone please explain the purpose of the path and what it means.
Thanks.
I don't think I don't think it has anything to do with a mistake in my program but maybe so.
When try to compile my program by typing
javac Short.java
it says "Bad command or file name"
I can run the program by typing
java Short
but I get
"Exception in thread "main" java.lang.NoClassDefFoundError: Short
The only thing my autoexec.bat has in it is
SET BLASTER=A220I5D1T4
I added
path=c:\Program Files\dk1.1.8\bin
not really knowing why but just that I read the path had to be changed. When I rebooted it said "Too many file paths" but went ahead adn booted but it still doesn't work. Someone please explain the purpose of the path and what it means.
Thanks.