• Post Reply Bookmark Topic Watch Topic
  • New Topic

Installation problems with J2sdkee1.2.1

 
Ben Weaver
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed BEA Weblogic 5.1 and J2EE1.2.1 according to the steps outlined in Sun's Enterprise JavaBeans tutorial. Both servers, the Weblogic and the Sun J2ee, seem to be running correctly. I am stuck, however, at the beginning of step 5 of the tutorial, where I am to compile the example bean files. I receive an error message, "Package javax.ejb not found in import", when I try to compile using javac.
I've been through many of the forum discussions on j2ee paths and classpaths vis a vis j2ee.jar files, etc., and have tried most all of their solutions. To no avail.
At this point, what should I do? Is it possible that my j2ee.jar does not contain the necessary javax class files through a faulty download? Perhaps my system configuration is the problem: I am already running two trial webservers, Resin and Jrun, on my machine. Might j2ee.jar (or whichever file contains the .javax classes) be confused by the system with other, similar .jar files residing in directories pertaining to those two other webservers? Would it be worthwhile simply to repeat the intallation of j2sdkee1.2.1? Is mine clearly a classpath problem, or might it be something else entirely?
Hellllp! (and thanks in advance!)
 
Yumei Lu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to add Classpath=C:\j2sdkee1.2.1\lib\j2ee.jar;. to user variable if you're using Windows NT.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!