• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Servlet and JSP development Kit

Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic