How i can run the applet if the main class is inside a folder inside the jar file.
X.jar contains : S (folder) main class in it META-INF (folder) MANIFEST.MF in it
thanks
If it is an executable jar then you can run it on command line like this:
java -jar X.jar
For normal jar try this:
java -cp pathtoX.Jar YourMainClass
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.