Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

running java bytecode?

I've been learning about java bytecode, but can't figure out how to run it. I use netbeans so if anyone knows of any good plugins, please let me know. If not, how would i run bytecode outside of netbeans. I heard that .jar files are just bytecode, but i'm not sure if that's true.

1 Answer

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    You need a JDK or JRE installed to run bytecode. Netbeans should have a way to run your program, and it should have required that you install a JDK.

    Jar files are just bytecode. If the jar file is executable (some are, some aren't), go to a command line and do:

    java -jar jarfilenamegoeshere.jar

    Source(s): I code Java for a living.
Still have questions? Get your answers by asking now.