Hi everyone
I'm working through the Head First
EJB (great book so far) and I've run into some trouble when trying to compile the AdviceClient.java. I know this is not the first time that this has been reported, but I've gone over all of the different postings without finding a resolution. I'm sure this is a environment variable issue, but I'm at a loss. Below is the contents of all the important stuff and the results of my compliation attempt. I'd appreciate any guidance that could be provided in solving this issue.
--ENVIRONMENT VARIABLES:
CLASSPATH = .;C:\j2sdk1.4.1_02\bin;C:\j2sdk1.4.1_02\lib;C:\j2sdkee1.3.1\bin;C:\j2sdkee1.3.1\lib\j2ee.jar
J2EE_CLASSPATH = C:\j2sdkee1.3.1\lib
J2EE_HOME = C:\j2sdkee1.3.1
PATH = .;C:\j2sdkee1.3.1\bin;C:\j2sdk1.4.1_02\bin
JAVA_HOME = C:\j2sdk1.4.1_02
--COMPILATION RESULTS:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Raul>CD C:\Documents and Settings\Raul\My Documents\Development\SCBD Prep\projects\advice
C:\Documents and Settings\Raul\My Documents\Development\SCBD Prep\projects\advice>javac -classpath %CLASSPATH%;AdviceAppClient.jar AdviceClient.java
AdviceClient.java:4: package headfirst does not exist
import headfirst.*;
^
AdviceClient.java:19: cannot resolve symbol
symbol : class AdviceHome
location: class AdviceClient
AdviceHome home = (AdviceHome) PortableRemoteObject.narrow(o, AdviceHome.class);
^
AdviceClient.java:19: cannot resolve symbol
symbol : class AdviceHome
location: class AdviceClient
AdviceHome home = (AdviceHome) PortableRemoteObject.narrow(o, AdviceHome.class);
^
AdviceClient.java:19: cannot resolve symbol
symbol : class AdviceHome
location: class AdviceClient
AdviceHome home = (AdviceHome) PortableRemoteObject.narrow(o, AdviceHome.class);
^
AdviceClient.java:21: cannot resolve symbol
symbol : class Advice
location: class AdviceClient
Advice advisor = home.create();
^
5 errors