does this look right?
Manifest.txt
Main-Class: Main Class-Path: C:\Users\dave\My Software\workspace\2D GAME 0\src\test.jar
what is class-path? is that the jar file path?
bc it say
error: could not find or load main class Main
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
does this look right?
Manifest.txt
Main-Class: Main Class-Path: C:\Users\dave\My Software\workspace\2D GAME 0\src\test.jar
what is class-path? is that the jar file path?
bc it say
error: could not find or load main class Main
Why is there a Class-Path: entry pointing to a jar file?
Read the tutorial about jar files: Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)
If you don't understand my answer, don't ignore it, ask a question.
i got rid of class-path and now it give me different error:
error: Main method not found in class Main, please define the main method as: public static void main(String[]args)
but i am using japplet. i though u dont need public static void main() in that
also i tried Class-Path test.jar
and still get error
error: cant load main class....
That is something VERY IMPORTANT that you should have said before we did all this.but i am using japplet
Applets are not executed with the java command. They are executed by a browser.
Do some research on how to deploy applets.
If you don't understand my answer, don't ignore it, ask a question.
wait so i cant make applet into jar files?
Do some research on how to deploy applets.
Here's a good place to look: http://docs.oracle.com/javase/tutori...let/index.html
If you don't understand my answer, don't ignore it, ask a question.