• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem setting jsdk2.0 classpath

 
swichika reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • 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
 
Arjun Shastry
Ranch Hand
Posts: 1903
1
  • Mark post as helpful
  • send pies
  • 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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!