Try to add the current directory to the classpath explicitly.
javac -cp pig.jar\;. idlocal1.java
If this does not work, next try to replace the semi-colon to a colon:
javac -cp pig.jar:. idlocal1.java
If even the above does not work, check whether idlocal1.java exists in the current directory. To be concrete, try to specify the file name with "./"
.
javac -cp pig.jar\;. ./idlocal1.java