EAR files (Enterprise ARchive) normally contain
Java EE applications that you need to deploy on a Java EE application server. Do you have a JAR file inside your EAR file that contains a standalone Java application?
EAR files are really just JAR files. So you can use the JAR utility to look inside them and extract files from them.
You'll need to extract the JAR file from the EAR, and run the application using the extracted JAR file. You can't directly run an application that's inside a JAR file inside an EAR file.