• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem setting jsdk2.0 classpath

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am new to servlets.can u plz tell me how to set classpath for jsdk2.0.

in my system i have installed it in C drive and when i wrote programs in C:\jsdk2.0\bin and compile using javac command , an error is displayed as" javac not internal command".
I have even set the class path as path=c:\jsdk2.0\bin;
and classpth=c:\jsdk2.0\lib\jsdk.jar;
what should i do?
plz help me.
thanking you in advance
swichika
 
Ranch Hand
Posts: 1907
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you installed Java means JDK ?If its path is c:\jdk1.4 then PATH variable needs to be altered.You should add c:\jdk1.4\bin in PATH variable.For servlets to be run,servlet jar file path must be there in CLASSPATH as you have stated correctly.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It sounds to me like you're new to JAVA.
You should really pickup a book or find an online tutorial (like http://java.sun.com/learning/new2java/index.html ) and get familiar with the Java programming lanugage before tackling servlets.

You'll save yourself a lot of headaches.
 
Did you just should on me? You should read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic