• 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

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

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic