*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet and JSP development Kit" Watch "Servlet and JSP development Kit" New topic
Author

Servlet and JSP development Kit

Himal Chuli
Ranch Hand

Joined: Aug 06, 2002
Posts: 118
hi,
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.
thanks.
himal


Himal
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
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,
bash#CLASSPATH=/java/lib/tools.jar:/java/lib/dt.jar:
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,
CLASSPATH=$CLASSPATH:.
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...
hth,
regards
maulin
 
 
subject: Servlet and JSP development Kit