Program compiling but not running...

Amitabh Bihari (bamitabh@ecstream.com)
Sat, 02 Jul 1988 11:19:22 -0700

Date: Sat, 02 Jul 1988 11:19:22 -0700
From: Amitabh Bihari <bamitabh@ecstream.com>
To: java-security@java.sun.com
Subject: Program compiling but not running...

Hi,

After much work my crpyptography program is compiling but not running.
The following will show what's happening.
Can you guide me towards what the problem might be.

SUN1% setenv CLASSPATH
/usr/dt/share/examples/bookmarks/jce12-ea2-dom/lib/jce12-
ea2-dom.jar
SUN1% ls -l
total 4
-rw-r--r-- 1 amitabh staff 1943 Jul 2 10:52 SecretWriting.java

SUN1%
SUN1% /usr/dt/share/examples/bookmarks/jdk1.2beta3/bin/javac
SecretWriting.java
SUN1%
SUN1% ls -l
total 10
-rw-r--r-- 1 amitabh staff 2354 Jul 2 11:18
SecretWriting.class
-rwxr--r-x 1 amitabh staff 1943 Jul 2 10:52 SecretWriting.java

SUN1% /usr/dt/share/examples/bookmarks/jdk1.2beta3/bin/java
SecretWriting -e Hel
lo
java.lang.NoClassDefFoundError: SecretWriting
SUN1%

Amitabh