Hello i've been trying to make a jar file and something seems to be going wrong.
This is an article with the instructions i have been following
Creating an Executable jar File
The error i'm getting when i try to run the jar file is "Could not find the main class: TurtleTest3 . Program will exit."
I have 3 classes in my program the one with the main method is called "TurtleTest3" and the other two are called "Turtle3" and "Instructions".
These are the exact steps i have taken. I am using command prompt.
echo Main-Class: TurtleTest3 >manifest.txt
(then i push enter)
jar cvfm TurtleGame.jar manifest.txt TurtleTest3.class Turtle3.class Instructions.class
(then i push enter and it displays a load of info)
TurtleGame.jar
(then it displays the error message i told you about)
Anyone know what i'm doing wrong?