If so simple than many people think, me included :)
cd to Project Folder/src/package
there you should see yourClass.java then run javac yourClass.java
which will create yourClass.class then cd out of the src
folder and into the build
folder there you can run java package.youClass
I am using the Terminal on Mac or you can accomplish the same task using Command Prompt on windows