Im new to EJB. I was trying to compile the AdviveBean in the K&B, when I received a message package javax.ejb.* doesnt exist. so I read that having the following line in my classpath while compiling would make it work. "javac -cp c:\j2ee1.4\lib\j2ee.jar AdviceBean.java" And it did.
But when I try set it as an environ variable. I again get the original error. I have two questions now 1. How can I set it up so that I wont have to type javac -cp.... again? 2. What does the .jar file have to do with all this?