I am running my application from JWS(java work shop). I have put my source in c:/somedir. When i run my application from JWS it takes c:/Java-WorkShop20/jws/intel- win32/bin/ as the current directory instead my source code directory. SO i want to get the path of my source code(ie c:/somedir) at runtime. How to do this? If I run my application from a App Server will I get the above problem?