Hi everyone,
I need to ask a very generalised question about classpath.
Now i have a java class file named JTim.class
Now on the command line i run JTim like that
Now do you guys see the folder in which JTim is in which is calledCode:C:\j2sdk1.4.2\bin\java -cp .;C:\WINDOWS\Desktop\JProc\ JTim
JProc. You see in JProc there is another folder called JProcTim
Now in the folder called JProcTim is a java class file also named
JTim.class
Now my question taking into account that to run the class JTim in the
JProc i did this
is why does the intrepreter run the JTim class in the JProcTim folder and not the one i specified which is the JTim class in the JProc folder?Code:C:\j2sdk1.4\bin\java -cp .;C:\WINDOWS\Desktop\JProc\ JTim
Any help is greatly appreciated
Thank You
Yours Sincerely
Richard West


Reply With Quote


Bookmarks