Cannot find PortableRemoteObject
Greetings:
I am attempting to compile an EJB test client using the Sun tools. I am running on a Red Hat Linux environment. My classpath is as follows:
CLASSPATH=/home/work/research/jdk1.3.1_01
and I am attempting to do the compile using compile.sh, which contains the following script:
J2EE_HOME=/home/work/research/j2sdkee1.3
WKHOME=/home/work/research/testbean/practice1
CPATH=.:$J2EE_HOME/lib/j2ee.jar:$WKHOME/ClientJar1.jar
javac -classpath "$CPATH" TestClient1.java
Note that TestClient1.java is in the same directory as compile.sh. ClientJar1.jar is the client jar generated when I used deploytool to deploy my test Javabean.
When I run the script, I get the following error message:
"TestClient1.java:1: error:Cannot find type "javax/rmi/PortableRemoteObject"
I have searched through j2ee.jar, rt.jar, and a number of other jar files throughout the SDK and the J2EE. I can find no reference to PortableRemoteObject.
Have I found a bug in JDK1.3? If not, then how do I include this class so I can compile my files?
-Factor Three

