Hi,
Seems that the compliation can't find the j2ee.jar.
This is what I have in order to successfully compile. Compare it with your command and see if you can progress from there.
CLASSPATH=,;c:\javastuff\j2ee1.3.1\lib\j2ee.jar
javac -classpath %CLASSPATH%;adviceclientjar.jar AdviceClient.java
java -classpath %CLASSPATH%;adviceclientjar.jar AdviceClient
The adviceclientjar.jar is the jar that is generated by the
J2EE RI by Sun on deploymnet (tick the box) that contains the stubs and skeletons used by RMI. You need to put this on your classpath so that the compile works (e.g., your AdviceClient java class can find AdviceHome, Advice etc...)
Of course this is just for compiling the AdviceClient. To compile the bean, remote home and component interfaces simple cd into the relevant directory, keep the classpath (as described above - modified to suit your program locations) the same and type...
javac -classpath %CLASSPATH% *.java
Hope this helps.
-=david=-
[ January 11, 2004: Message edited by: David Harrigan ]