Update Java Application

HelloI have a problem with updating a Java Application.Yesterday i have made a modification to a class from my application but today when i am running the application it still runs the old version.The JAR file doesn't update.What can i do? Thank you!
[272 byte] By [Margota] at [2007-10-2 16:48:24]
# 1
clean your directories -> delete all .class and .jar files and rebuild your project.
mezlera at 2007-7-13 17:59:28 > top of Java-index,Java Essentials,New To Java...
# 2
HelloThanks for help!I've done What you've said.But Isn't another (simple) way to do that?Thank You.
Margota at 2007-7-13 17:59:28 > top of Java-index,Java Essentials,New To Java...
# 3
Use a build tool (like [url= http://ant.apache.org/]Ant[/url]) to capture the steps needed to build and run your application.
Herko_ter_Horsta at 2007-7-13 17:59:28 > top of Java-index,Java Essentials,New To Java...
# 4

> The JAR file doesn't update.What can i do?

Provide an example of how you are running your app? If you are running the app from the JAR file, then you need to rebuild your JAR file. Compiling doesn't automatically update the class files in the JAR file. You have to recreate the JAR file.

st.murphya at 2007-7-13 17:59:28 > top of Java-index,Java Essentials,New To Java...