Export .jar Applet to Eclipse

I have an applet and I cannot export it to a runnable jar because it does not 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 to do it? If the main method is added in the answer, which do I put in the main method?

Update I tried to use regular .jar, but still nothing. Here is the answer I sent to better describe what is happening.

"I still get a class error that was not found. 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: "

+5
source share
1 answer

If it is an applet, it is not a "runnable jar". Fortunately, you do not need it. You just need a regular jar. Eclipse will do one of them.

+7
source

All Articles