For openmrs 2.9.0 standalone, actuallly you need to have java 8 like brother@dkayiwa have said,
Then you should set the class path rightly such that it can be able call from the command line,
Again j recommend to extract again the unzip file of the openmrs and use that file, look for the file and run again the application.