Exporting .jar Applet in Eclipse

12,641

If it's an applet it isn't a 'runnable jar'. Luckily, you don't need one. You just need an ordinary jar. Eclipse will make one of those.

Share:
12,641
36redsoxfan
Author by

36redsoxfan

Updated on June 23, 2022

Comments

  • 36redsoxfan
    36redsoxfan almost 2 years

    I have an applet and I can't export it to a runnable jar because it doesn't have a main class( public static void main(String args[]) ) I need a runnable jar because I have a program that has many classes and packages. How do I make this work. If the answer is adding a main method what do I put in the main method?

    Update I tried to use a normal .jar but still nothing. Here is a reply i sent to better describe what is happening

    "I still get the class not found error. I have a .jar that has a "main" folder. Then in the "main" folder I have all my classes. My main class is Render.class so in html i use this code to open the applet: "