Commands:

javac -d bin -sourcepath src src/mypackage1/MyClass1.java
javac -d bin -sourcepath src src/mypackage1/Driver1.java
java -classpath bin mypackage1.Driver1

javac -d bin -sourcepath src src/mypackage2/MyClass2.java 
javac -d bin -sourcepath src src/mypackage2/Driver2.java 
java -classpath bin mypackage2.Driver2
