I place it into a new folder. This folder has to be included into the build path.
It does not matter if it's in Eclipse or outside. Eclipse has a project specific build path and it passes this path to the javac.
If you want to execute javac outside of Eclipse, you have to pass the build path manually.