Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > javax.servlet?

javax.servlet?
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 5, 2000, 08:24 PM
 
I'm probably just being very dense (I'm relatively new to Java and UNIX), but does anyone know how to get the javax.servlet.* classes installed on OS X? Whenever I use javac to compile some really basic servlet code, it complains that it can't find everything having to do with javax.servlet.

I was poking around my hard drive trying to figure out where there JAVA_HOME type directory with all the classes is kept to see if it was actually there or not, but I had no luck finding it. So if anyone could shed some light as to where the home directory for all of the java stuff is I'd appreciate that info as well.

Thanks.
     
Junior Member
Join Date: Feb 2000
Location: Chicago, IL
Status: Offline
Reply With Quote
Oct 6, 2000, 01:11 AM
 
it is just a set of classes available for download from Sun. It used to be called JSDK but now called JSWDK to avoid confusion with the Java2 SDK. It is also closely related with the Apache Jakarta-Tomcat project. Check out http://jakarta.apache.org/ http://java.sun.com/products/ http://java.sun.com/products/servlet/index.html http://java.sun.com/products/servlet/download.html
     
ElLeon0  (op)
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 6, 2000, 02:52 AM
 
Thanks for the download info. Again, I know this is pretty basic stuff, but could someone offer some help as to where I should put the javax.servlet stuff I downloaded from Sun so that the javac compiler will recognize it? I've found a JavaVM.framework folder that seems to have the default java classes somewhere inside of it, but dragging the servlet.jar file into that doesn't seem to get it recognized. Do I have to update my classpath or something of the sort?
     
Pukku
Guest
Status:
Reply With Quote
Oct 6, 2000, 07:58 AM
 
Originally posted by ElLeon0:
Thanks for the download info. Again, I know this is pretty basic stuff, but could someone offer some help as to where I should put the javax.servlet stuff I downloaded from Sun so that the javac compiler will recognize it? I've found a JavaVM.framework folder that seems to have the default java classes somewhere inside of it, but dragging the servlet.jar file into that doesn't seem to get it recognized. Do I have to update my classpath or something of the sort?
If you look at the files in that folder, somewhere it tells you what the DEFAULT_CLASSPATH variable is. However, you may have to log out or restart to get it to recognize the class file. One place that you can put things is in ~/Library/Java/ -- if it doesn't exist, just create it. At least -- I think that is where. I'm in OS9 now, so can't check....

Ricky

     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:14 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2