This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes installing j2eeSDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "installing j2eeSDK" Watch "installing j2eeSDK" New topic
Author

installing j2eeSDK

Evan Pierce
Ranch Hand

Joined: Jan 31, 2006
Posts: 36
(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

Joined: Nov 24, 2005
Posts: 14688
    
  16

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 )


[My Blog]
All roads lead to JavaRanch
Evan Pierce
Ranch Hand

Joined: Jan 31, 2006
Posts: 36
what exactly is this classpath? where would i go to check if j2ee.jar is in there?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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
 
subject: installing j2eeSDK