I am new to Java and I came to know about -classpath
and -cp
. I have a question about them.
Q1) Are -classpath
and -cp
same or is there any difference between them ?
Q2) Also I read this :
Setting the CLASSPATH can be tricky and should be performed with care.
here Java Doc and Just wanted to know why said it like this ? Why should I be careful while using it ?
Thanks in Advance.