I am using MS jvc.exe to compile a java program. I am forced to use MS JVM (jvc.exe) because of some APIs that I have to use, which requires me to compile the java code under MS JVM. Sorry about that!
I have imported a utility package (compatible with java 1.3). However, when I compile it, I get the following error:
Error J0051: Undefined package ...<package name>
The package (jar file) exists in the correct location. I included the path in CLASSPATH variable. I tried everything that comes to my mind. I tried to search the internet about this error, but the few hits I got did not resolve the issue.
Can anyone suggest what else I can do?
Thanks in advance.
Joined: Mar 22, 2005
Welcome to JavaRanch.
You will have problems using a JDK-1.3 compatible library with the MS JVM, since that only supports Java 1.1. I suppose there's no chance of replacing the MS-reliant code with something functionally equivalent that works with the Sun JVM?