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

ClassPath problem

 
narayana murthy pedapudi
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a typical problem.
I am doing serial port communication in java, for that i need to set the classpath for the comm.jar,I am trying to set the classpath using command prompt and environment variable, bu the thing is not working properly.
where as it is working fine when i am doing this in another system.
i am not able to solve this. please let me know...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Setting classpath from command prompt only sets the environment for that window, could that be the problem?
Personally, I have given up on setting special paths in CLASSPATH, instead I run programs from ANT which is very convenient for defining a classpath for execution of a particular program.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic