Page 1 of 1

About Question enthuware.ocpjp.i.v11.2.3025 :

Posted: Sun Sep 08, 2019 9:09 am
by zunayeed
Hi,
In the correct answer, why is there .; after classpath : java -classpath .;abc.utils.jar Main

Re: About Question enthuware.ocpjp.i.v11.2.3025 :

Posted: Sun Sep 08, 2019 9:50 am
by admin
As the problem statement says your application classes are in current directory, you need the current directory in the classpath. dot implies current directory.

Re: About Question enthuware.ocpjp.i.v11.2.3025 :

Posted: Thu Sep 26, 2019 6:50 pm
by zunayeed
after the dot, there is a semicolon. why is that ?

Re: About Question enthuware.ocpjp.i.v11.2.3025 :

Posted: Thu Sep 26, 2019 10:08 pm
by admin
path separator. to separate the two paths - . and abc.utils.jar