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

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

 
Adam Altmann
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!