Hello, I'm trying to make my first servlet, however since I have only installed the Java SE, the javac compiler is complaining about missing packages (javax.servlet.http...)
I've realized now that I need javax.servlet jar or class files from Java EE, but after downloading java_ee_sdk-7u1.zip from Oracle here I'm not seeing any .sh or java_ee_sdk-7-jdk7-macosx-x64.sh
installer (which I saw mentioned elsewhere). The oracle page only instructs to unzip the downloaded file, and searching for javax.servlet only reveals a few files which I'm not sure what to do with:
javax.servlet-api.jar,
javax.servlet.jsp.jar,
javax.servlet.jsp-api.jar,
javax.servlet.jsp.jstl.jar,
javax.servlet.jsp.jstl-api.jar,
javax.servlet.ServletContainerInitializer,
How do I go about installing the Java EE libraries I need? I am on a mac, and I'd like to do this without the help of an IDE, using the command prompt if necessary.
I would appreciate any tips
I've realized now that I need javax.servlet jar or class files from Java EE, but after downloading java_ee_sdk-7u1.zip from Oracle here I'm not seeing any .sh or java_ee_sdk-7-jdk7-macosx-x64.sh
installer (which I saw mentioned elsewhere). The oracle page only instructs to unzip the downloaded file, and searching for javax.servlet only reveals a few files which I'm not sure what to do with:
javax.servlet-api.jar,
javax.servlet.jsp.jar,
javax.servlet.jsp-api.jar,
javax.servlet.jsp.jstl.jar,
javax.servlet.jsp.jstl-api.jar,
javax.servlet.ServletContainerInitializer,
How do I go about installing the Java EE libraries I need? I am on a mac, and I'd like to do this without the help of an IDE, using the command prompt if necessary.
I would appreciate any tips