It's not a secret anymore!
The moose likes Servlets and the fly likes Servlet and JSP development Kit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet and JSP development Kit" Watch "Servlet and JSP development Kit" New topic

Servlet and JSP development Kit

Himal Chuli
Ranch Hand

Joined: Aug 06, 2002
Posts: 118
where can i get Servlet and JSP Development Kit for Linux platform? is it "j2sdkee-1_3_1-linux.tar.gz" file in Sun site?
how can i set CLASSPATH variable in Linux? specifically, in which file and where is it located? appreciate your help.

Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1873
hi himal!
i dont know about the first question. you can browse the sun site for that.
as far as the second question is concerned,
mostly in Linux default shell is Bash. in bash shell u can set any environment variable as follows,
bash#VARNAME=<<value of parameter>>; export VARNAME
here it is two step process,
1. assignment to variable,
2. exporting the var to make it visible to other applications as well.
e.g. if u have installed java in directory java in the Root directory then u can set classpath as,
and export it using
bash#export CLASSPATH
hope this works for u. also u might want to add the "current dir" to the CLASSPATH so u dont get ClassNotFoundException when u run a java code from the same directory where u have the class files as well. u can update the CLASSPATH as,
to do this.
NOTE: OBSERVE that there MUST BE no spaces around '=' sign while setting the classpath variable. else it won't work.
let me know if u still find problems with it...
I agree. Here's the link:
subject: Servlet and JSP development Kit
It's not a secret anymore!