I would suggest using an IDE.
Then if he needs to see it just make it into a JAR cause I believe it will show the console for you.