As the title of my question, I would like to run a .jar file as an applet in a browser. How can I do that? Is there any possible solution? i have to edit this because someone was stupid enough to read this as a java applet in a jar file when I am trying to achieve the exact opposite thing, that's like saying a potato chip is a chipped potato
- Possible duplicate of Java Applet in JAR FileMartin Valgur– Martin Valgur2018-09-08 17:03:54 +00:00Commented Sep 8, 2018 at 17:03
- no,it is the exact opposite,can you read english? i want to run a jar file as if it is an appletVirtual Ghost– Virtual Ghost2018-09-16 21:12:20 +00:00Commented Sep 16, 2018 at 21:12
- an applet is - at minimum - a Java class extending java.applet.Applet or javax.swing.JApplet packaged in a JAR file. a JAR file can contain anything from related classed that make up a library to executable cmdline or standalone programs with a user interface (Swing/AWT/SWT). so you should point out what your JAR file - that you want to run as an applet - does... if it's a Swing application it's possible to refactor it so that this JAR can be executed as a stdalone client from cmdline or by doubleclicking the JAR-file and as well run this application as an applet in your browser.Tommy Brettschneider– Tommy Brettschneider2018-09-16 21:43:23 +00:00Commented Sep 16, 2018 at 21:43
- for example, how would I get Minecraft to work,just as an exampleVirtual Ghost– Virtual Ghost2018-09-16 22:13:28 +00:00Commented Sep 16, 2018 at 22:13
- because that is gibberish to me, as it is not formatted well, and lacks some basic grammar. it looks like a run-on sentence at first glanceVirtual Ghost– Virtual Ghost2018-09-17 00:14:12 +00:00Commented Sep 17, 2018 at 0:14
Add a comment |