Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

path problem in windows os

 
sam wzm
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,

some time I meet a strange class path problem under windows enviroment. that is, the class path uses "/" to splite directory while not "\". so java will report error message like "NoClassFoundError: com/boland/...". I think there should be a way to adjust this environment problem. but I don't know how to set this. I will greatly appreciate if you happen to know this and let me know.

Best wishes,
Sam
 
Mike Gershman
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked in several sources and they all say you just have to use \ in a Windows CLASSPATH and / in a UNIX CLASSPATH.

There is no way to have a single CLASSPATH format. Remember that the CLASSPATH directory names are separated by ; in Windows and : in UNIX.
 
sam wzm
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Mike,

thank you very much for your help! at last I found there is no such class in the jar file.

thanks again and best wishes,
Sam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic