问题
Using Java (1.4) is there a way in which to use Windows UNC file locations (\\servername\filestore\etc) within the classpath?
回答1:
Basically you just need to swap the back slashes with forward slashes:
java -classpath '//servername/filestore/etc;.' <classname>
来源:https://stackoverflow.com/questions/825731/how-best-to-add-unc-file-paths-to-a-java-classpath