Dear salooners, I have a question regarding the location of the jar file and the path. The
SCJD requirements state:
When you submit your assignment, each part (client and server) must be executable using a command of this exact form:
java -jar <path_and_filename> [<mode>]
However, if i run my runme.jar from a different directory, for example like this:
c:\user>
java -jar SCJD\runme.jar
it will set my current dir (System.getProperty("user.dir")) to c:\user\ instead of the desired c:\user\SCJD\. My project relies on this path but since the specification allows this form, I'm at a loss on how to locate the root directory of my project (in this case c:\user\SCJD\)