PRB: JAVAH Cannot Find Classes When Executing (225523)
The information in this article applies to:
- Microsoft SDK for Java 3.2
- Microsoft SDK for Java 3.1
This article was previously published under Q225523 SYMPTOMS
When running Javah.exe on a Java class, you may get one of the following or similar errors:
Signalled error "java/lang/NoClassDefFoundError" with detail "java/io/Serializable"
java.lang.Object not found: aborting CAUSE
Javah.exe, unlike the other Microsoft SDK for Java tools, requires the user to specify a class path via the "-classpath" command line option or via the CLASSPATH environment variable. If the class path is not specified, is invalid, or contains corrupted or missing data, then Javah.exe does not work.
RESOLUTION
There are a couple of things to check if you receive one of these error message:
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 2/24/2004 |
---|
Keywords: | kbJNative kbprb KB225523 |
---|
|