So I'm trying to learn java and I'm working through all the examples in the Cattle Drive. I got up to section 3: servlets, and it recommended I download the J2EE SDK and add a jar file called javee.jar to my classpath. I followed the link, but I didn't see the J2EE SDK (probably an old version) so I downloaded the Java EE 6 SDK instead and installed it. But I don't see any file called javee.jar. Does anyone have any suggestions? Do I have the right idea? And when I add javee.jar to the classpath, I can just do it with the -cp flag, right? Anyway any advice is appreachiated.
hii... new to j2ee?? me too... and i ran in to similar problems when tryna set up the development environment (check up the topic 'compiling servlets' under servlets category)... anyways what i did was copy the javaee.jar file to jdk->jre->lib->ext directory... javaee.jar was inside j2ee SDK->lib folder... but i use j2ee 5... so dunno if it's different in j2ee 6... i tried doing that setting the class path thing.. but for some reason it didn't work out... (maybe i just set it up incorrectly).. but copying the javaee file definitely works hope this helps oh and if you want, here's a link to j2ee 5 http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-eesdk-419427.html#java_ee_sdk-5_08-jdk-6u17-nojdk-oth-ml-JPR
Joined: Jul 29, 2011
Hey thanks. Yeah, I have no idea what I am doing right now. But I eneded up being able to compile a couple servelets using the instructions in the documentation that comes with orion. If you set development mode to true and open the servlet source file in the a browser while orion is running apparently it compiles automatically ...I guess... Anyway, from what I read, there's a couple jars that will allow you to compile a servelet I think there's one called servelet.jar that I haven't tried yet, and I will try messing around with javee.jar as well, hopefully I can figure out what i'm doing before too long!