how to execute a java program in linux ternimal shell?

currently i have write a simple culculation program, i want to know how do i can execute it in LINUX ternimal shell? rigth now i only can execute it in JAVA program...
[174 byte] By [wilfrid100a] at [2007-10-3 5:22:45]
# 1
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.html
S@brinaa at 2007-7-14 23:29:49 > top of Java-index,Java Essentials,New To Java...