You don't run the .java source file, you run the outputted .class file. In any case, you shouldn't be specifying the extension.
Type: Posts; User: helloworld922
You don't run the .java source file, you run the outputted .class file. In any case, you shouldn't be specifying the extension.
What command did you use? It seems like you're forgetting to invoke the java compiler itself:
javac Capsite.java