• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting classpath using Windows XP Pro

 
Richard Mackney
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I've changed my operating system from Windows 2000 to XP and now cannot get servlets to compile using my normal editor. Curiously I can compile from dos using -classpath. I've set path, classpath, JAVA_HOME, and CATALINA_HOME in environment variables. Any non servlet program compiles ok.
Any ideas please?
Thanks
Richard
 
Dominic Paquette
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think your compiler can't locate the javax.servlet, javax.servlet.http packages. Your CLASSPATH has to include those.
Hope this helps
Dominic
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I once had a laptop with XP Home edition on it. It wouldn't pick up the CATALINA_HOME environment variable.

Could this be an XP Home issue?
 
Richard Mackney
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your suggestions.
I've now included -classpath in the compile tool of my editor (I use med), and it works ok. I think, as you say,it is an XP issue, I've found a couple of postings about it on other sites. I have XP professional. Very nice OS but this was very frustrating!
Thanks again.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!