Re: Learning Java - How should I go about it?
- From: Daniel Munzinger <bender316@xxxxxxxxx>
- Date: Thu, 28 Apr 2005 09:35:56 +0200
amethyst schrieb:
// Directory of D:\_java\Deitel // Welcome.java 302 bytes // D:\_java\Deitel>java Welcome1.java // Exception in thread "main" java.lang.NoClassDefFoundError: Welcome1/java
It didn't fail because of the book or because of the "wrong" software. It failed because of the missing of basic knowledge. ;-)
You need to compile the *.java before you can use it.
javac Welcome1.java
than
java Welcome1
And it will work.
Daniel .
- References:
- Learning Java - How should I go about it?
- From: amethyst
- Learning Java - How should I go about it?
- Prev by Date: Re: exception inside constructors and finalize
- Next by Date: Re: JMF and video from jar file?
- Previous by thread: Learning Java - How should I go about it?
- Next by thread: Re: Learning Java - How should I go about it?
- Index(es):