I just want to run a .jar app on mac, but I can not find a emulator.Does anyone know one? Thank you.

link|improve this question
5  
java -jar foo.jar should work, actually. – Joey Nov 12 '10 at 1:17
feedback

migrated from stackoverflow.com Nov 14 '10 at 12:55

This question came from our site for professional and enthusiast programmers.

3 Answers

Java is a multi-platform language. There are no emulators, just JVMs. Even Macs have a JVM implementation.

In a command prompt, try:

java -jar <your jar>
link|improve this answer
feedback

You do not need an emulator, you can simply use the Java VM for Mac.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.