I have only got it to work once without packages, but it should work. The -d option mean to create directories (if required) and the . means start in the current directory (for source).
You can do the same with "*.java" instead of appending all the .java files individually.
I have only got it to work once without packages, but it should work. The -d option mean to create directories (if required) and the . means start in the current directory (for source).
It does not work for the classes inside packages! It just works fine for the classes without packages ie., classes belonging to default packages.
I tried with the "-sourcepath" option in "javac" command with various values but no luck!