Two Laptop Bag*
The moose likes Java in General and the fly likes ClassPath problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "ClassPath problem" Watch "ClassPath problem" New topic
Author

ClassPath problem

narayana murthy pedapudi
Ranch Hand

Joined: Jul 23, 2003
Posts: 42
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

Joined: Mar 22, 2000
Posts: 12761
    
    5
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
 
 
subject: ClassPath problem
 
Similar Threads
packages + classpath
Can't configure classpath for OOP-1
java 7: cannot find symbol
Classpath problem
ClassNotFoundException