Compiling Error

Using the Java SDK with TextPad

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

Post Reply
Cheryl

Compiling Error

Post by Cheryl »

Each time I attempt to compile in TextPad, I receive the following error message:

java.lang.NoClassDefFoundError: D:\DATA\Java Source\HelloWorld/java
Exception in thread "main"
Tool completed with exit code 1

Why is this?

Cheryl
Matthias Murra

Re: Compiling Error

Post by Matthias Murra »

Have you set classpath to at least include the current directory? Are you using TextPad's pre-defined JDK commands, or have you set them up on your own?

Matt
cathy mcmahon

Re: Compiling Error

Post by cathy mcmahon »

when i try to compile a program using console reader it doesn't work. It keeps saying it doesn't recognise "console reader". how can i get it to work?
Post Reply