Where are you running the command from, in other words what is the current directory?

Logic says it should run the class in the JProc folder and not in any underlying folders unless they're part of a package you're calling.
So I assume you're actually in the JProc/JProcTim folder which would cause the class there to be used as it then has a higher priority to the one in the other folder.

You say you are running this code from the JProc folder. Why then include '.' in your classpath? as in this case '.' and 'C:\WINDOWS\Desktop\JProc\' will be one and the same thing. I am just wondering if this could be causing this strange problem. Try removing it.

Side Note: I hear it mentioned often in these forums that you should include '.' in your classpath. But all this does (unless you specifiy other direct paths) is force you to run your code from a specific directory every time. I never include '.' in my classpath's and it always works just fine, also this frees me to start my code from any directory I wish. Which in UNIX is best anyway especially if (like me) you need to launch your code in an automated manner, like from cron (crond).

Side Note: I hear it mentioned often in these forums that you should include '.' in your classpath. But all this does (unless you specifiy other direct paths) is force you to run your code from a specific directory every time.

Kate

I believe you're mistaken on the use of the dot. The dot adds your current working directory to the classpath. That is all. It doesn't cause your application to run from that directory. Running your application from your current working directory forces your to run your code from that specific directory. See the difference?

I understand what '.' and '..' represent. Did you not see the first line of my post:

You say you are running this code from the JProc folder. Why then include '.' in your classpath? as in this case '.' and 'C:\WINDOWS\Desktop\JProc\' will be one and the same thing

----------------------

When I say:

But all this does (unless you specifiy other direct paths) is force you to run your code from a specific directory every time

I mean exactly that. I believe you have misunderstood what I have said. I am not saying it forces the 'application' to execute from that directory, I am saying it forces 'you' to execute the application from that directory. See the difference?

Running your application from your current working directory forces your to run your code from that specific directory