When you are setting up the src (and optional test) directories add the src\ (and optionally the tests\) directory. I would also like to emphasize that I'm just a beginner in Java programming.ġ) create a directory with src\ and tests\ in it (the tests is optional if you are not using JUnit).Ģ) assuming you have package myjava at the top of your files (and make sure that this is what your prof wants, it becomes a pain to mark things if they are not in the right place), make a src\myjava directory (and if you are doing JUnit a tests\myjava directory).ģ) copy your files into the src\myjava directoryĤ) delete your NetBeans project and recreate it as a new on with exising sources. I just wanted to put in as many details as possible.) What should I do? (Sorry for my kilometric-long explanation.
Method)Īt (URLCla.Īt (ClassLoa.Īt