aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes I plead with you for help setting up my J2EE environment! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "I plead with you for help setting up my J2EE environment!" Watch "I plead with you for help setting up my J2EE environment!" New topic
Author

I plead with you for help setting up my J2EE environment!

Adam Altmann
Greenhorn

Joined: Jun 08, 2005
Posts: 21
My Dearest Java-People,

How are you? I am fine. I must admit however, that things are not going quite as splendidly as I had hoped concerning Servlets and JSP. I've managed to fumble my way through installation of the J2EE SDK 1.4 All-In-One Bundle, and have even managed to get Tomcat up and running. Life was looking rosy until I tried completing an exercise from one of the books I've purchased. It was at compile time when disaster struck! I now face six, count em', SIX disasterous errors.

People's Exhibit A:



Not being a completely hapless twit, I feebly searched the intarweb to help with my plight. It was in this, my darkest of hours, that I stumbled upon information regarding mysterious Environment Variables. With assistance from my aging grandmother, I've toiled to set the following:

%J2EE_HOME% C:\Sun\AppServer
%JAVA_HOME% C:\Sun\AppServer\jdk

Yet still I'm faced with those same half-dozen errors, and I know not what to do. I've become quite emotionally distraught, and now turn to you for aid. Hopefully someone will hear my piteous plea, and provide me what answers I seek, while I go drown my sorrows in a bowl of Mint Chocolate Chip Ice Cream.

Sincerely,

Adam
Adam Altmann
Greenhorn

Joined: Jun 08, 2005
Posts: 21
I've managed to solve this riddle on my own. Further research showed that I needed to add the location of j2ee.jar to the CLASSPATH. Success!

(Unfortunately, now I'm having trouble with Tomcat seeing my servlet! Woe is me!)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: I plead with you for help setting up my J2EE environment!