Hi! You cannot find javax.* in jdk because javax => java extension so you cannot find it in JDK. If you want to javax classes look for JSDK or if you're using Java2,ie, JDK1.2 and above, look for JSDKEE. Please note that jsdkee cannot be used with Java1, ie, jdk1.1.* . You can download your jdk's and jsdk's from here : http://java.sun.com/products/ Hope this helps
Joined: May 23, 2001
Thank you so much for the information... I do get something out of your answer but I still have some curiousity... Let me put it this way, I am using JDK1.1.7.. Can I just copy javax package from the latter java version and put include it with my JDK1.1.7??
Can I just copy javax package from the latter java version and put include it with my JDK1.1.7??
as Wendy rightly said the javax packages do not come along with the JDK .... now if u do have the servlet.jar file and if your purpose is to avoiding the setting of the classpath you must out it into JAVA_HOME/jre/lib/ext folder hope that helps Samith.P.Nambiar
If you're running Tomcat, you already have the servlet.jar file you need. You only need to point your classpath to it. One caveat: I just found (after hours of teeth-gnashing) that at least on NT, you can't use environment variables as tokens in other variables and have Java be able to follow it. Example: - let's say you have TOMCAT_HOME set to 'd:\jakarta-tomcat-3.2.2' - don't put '%TOMCAT_HOME%\lib\servlet.jar' in your CLASSPATH and expect it to work when compiling Java source that needs that .jar file. You instead have to put 'd:\jakarta-tomcat-3.2.2\lib\servlet.jar' in your classpath. When I did this, compilation errors arising from javac not finding javax.servlet.* stopped.
pardon me, but you've obviously mistaken me for someone who gives a damn...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com