Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

installing j2eeSDK

 
Evan Pierce
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(i hope this is the right place for this thread.)

ive been coding in java for about a month now and just picked up Head First EJB. now im having a problem compiling j2ee stuff. basicly i downloaded the j2eesdk 1.4 and it installed the application server and all but when i use the console to compile a .java file it will give me errors such as javax.ejb does not exist ( among others ). it doesnt really seem like the j2ee api was installed correctly, ive looked all over the place for a way to fix this and have been trying for an entire day now. any help would be appreciated, this is starting to give me a headace and im only on page 30.

--pierce
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please make sure that j2ee.jar is in your classpath.

(I'm not sure, but I think that you'd better use j2ee1.3 with HFEJB )
 
Evan Pierce
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what exactly is this classpath? where would i go to check if j2ee.jar is in there?
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a section about the CLASSPATH in the FAQ:
Here you go:
http://faq.javaranch.com/view?JavaBeginnersFaq

If you don't know what the classpath is, EJB might be a little bit early to study Try to get your hands on java first.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic