Update on this issue, which still plagues me. I have tried the
following, and still I get the same error with jview. I took the
class file that I generated with javac, and zipped it up with WinZip,
then changed the extension from ZIP to JAR. Then I tried to run jview
with the /cp switch. Here are the results of the operation:
C:\DATA\code\java>dir
Volume in drive C has no label.
Volume Serial Number is 2480-FBDF
Directory of C:\DATA\code\java
11/21/2002 05:28p <DIR> .
11/21/2002 05:28p <DIR> ..
11/20/2002 01:56p <DIR> create_user
11/20/2002 01:37p 432 HelloWorldApp.class
11/21/2002 05:28p 426 HelloWorldApp.jar
11/20/2002 12:52p 266 HelloWorldApp.java
3 File(s) 1,124 bytes
3 Dir(s) 146,677,760 bytes free
C:\DATA\code\java>jview /cp C:\DATA\code\java\HelloWorldApp.jar
HelloWorldApp
ERROR: java.lang.NoClassDefFoundError
So, I'm still stuck. Everything on the web seems to point to this
being a classpath issue, yet I'm overriding that with the cp option
and I'm still getting the problem.
There must be another factor that is playing into this.