When compiling, why can't JDK find LogFontLayout.class?

Article ID: 779
Last updated: 05 Feb, 2008
Article ID: 779
Last updated: 05 Feb, 2008
Revision: 1
Views: 2688
Posted: 25 Jun, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


When I'm compiling, why can't the JDK find my LogFontLayout.class?


Action


You need to set your CLASSPATH environment variable to . as well as to where the JDK is installed.

set CLASSPATH = .;C:JAVALIB;C:JFACTORY11

The . tells the compiler to also look in the current working directory for user classes.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 779
Last updated: 05 Feb, 2008
Revision: 1
Views: 2688
Posted: 25 Jun, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category