Search This Blog

javac: include a directory into classpath

On Unix platform:
javac -cp /opt/eclipse/plugins/*:/myproject/lib/* MyClass.java
On Windows platform:
javac -cp "c:/eclipse/plugins/*:d:/myproject/lib/*" MyClass.java

see also

No comments:

Post a Comment