wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes J2EE installation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "J2EE installation problem" Watch "J2EE installation problem" New topic
Author

J2EE installation problem

Laura Bush
Greenhorn

Joined: Dec 04, 2003
Posts: 10
Hi guys,
i am using Windows ME system with only MS-Dos on it.
I installed jdk1.3.1_09 and j2sdkee1.3 in my C:\ directory
I set the environment variables as below at the command prompt:
set JAVA_HOME=C:\jdk1.3.1_09
set J2EE_HOME=C:\j2sdkee1.3
set PATH=%JAVA_HOME%\bin;%J2EE_HOME%\bin;
set CLASSPATH=.;%J2EE_HOME%\lib\j2ee.jar;
After this when i tried to compile the three files on HFEJB page-18 i'm getting 8 errors. All of which are corresponding to ejb, like package javax.ejb not found. unrecognised symbol etc.
Can anyone help what i should do inorder to get those files compiled?
Do i have to set any other environment variables? Please help me as i'm very new to software.
Thanks,
Laura(SCJP 1.4)


SCJP 1.4 SCBCD SCWCD
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Howdy, I think you meant this for the SCBCD forum, so I'll have Bert move it over there... but for now, here's all I can think to say on this:
I know that Windows ME is not a supported environment for J2EE, but apparently people do get it to run. Your environment variables look good if you were setting it on a supported windows platform, but I believe that for ME you might have to do something additional. I really don't know anything about ME, so I can't give you any other advice, but here's a link that *might* help:
getting J2EE to work on ME
good luck, and maybe someone can offer more help in the SCBCD forum or the EJB forum.
cheers,
Kathy
R.x Lan
Ranch Hand

Joined: Dec 27, 2003
Posts: 83
try this
javac -classpath %CLASSPATH%;AdviceAppClient.jar; AdviceClient.java
at page 57 the command does not work well at Windows 2k


(SCJP SCWCD SCBCD SCDJWS)
Laura Bush
Greenhorn

Joined: Dec 04, 2003
Posts: 10
Thanks Kathy for your reply,but i still cannot understand what changes i have to make to make my AdviceBean.java, AdviceHome.java and Advice.java compile.
Hi Rixin,
My problem is not with compiling the client, but much elementary stuff.(i.e. compiling the Bean, Home and Component files.)
When i'm compiling, itz not recognizing my j2ee path and hence giving me errors corresponding to ejb. I got 8 errors, all corresponding to the interfaces and variables of ejb.
Can anyone please help as i cannot proceed further without getting them compiled and run?
Thanks,
Laura(SCJP 1.4)
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Howdy,
I don't know what environment changes you have to make on ME... was that link to the Java forums not helpful? Apparently there *is* something else you have to tweak, but I have no idea what. This is not a problem with your code, but a problem with your classpath, as you noted. Somehow the j2ee.jar files are not being seen by the compiler. Hmmmm...
Did you try running the server, to see if *that* works?
cheers,
Kathy
 
 
subject: J2EE installation problem