One way: To be able to copy files from your machine to your Duke account, you will need ssh. Go to OIT and click on "Site License Software" and then "Available Software List" and select ssh. It is free for Duke students.
Another way: try webfiles.duke.edu which seems to work well for java files
Microsoft knows that reliable software is not cost
effective. According to studies, 90% to 95% of all bugs are
harmless. They're
never discovered by users, and they don't affect performance. It's much
cheaper
to release buggy software and fix the 5% to 10% of bugs people find and
complain
about.
- Bruce Schneier