• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installation problems with J2sdkee1.2.1

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!)
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic