To do what, exactly?
The two most popular ones, and perhaps what you're looking for is:
"javac <SOURCE>" - Compile java source code in to a .java file.
"java <FILE>" - Run a .java file.
Don't forget to select the correct destination when using these commands, with "cd <DESTINATION>".