thmas
thmas

Reputation: 142

Updating a JAR while it's running

I only just saw this video and thought notch's setup was really neat. How do his jars update whenever he saves without him restarting his game?

I know enough Java and have had experience with eclipse but I've never seen this done before and it would really speed my development.

Upvotes: 0

Views: 208

Answers (2)

Aaron
Aaron

Reputation: 1016

Notch actually answered your question in the video. At 35 seconds he says, "because it's running in debug mode, I can update it while it's running."

In eclipse, debug mode looks like a green bug. It is located (in the default Java perspective) to the left of the green "run" button.

Upvotes: 2

tjhorner
tjhorner

Reputation: 350

Go into debug mode (looks like a spider or whatever) and it will update your application automatically when you save.

Upvotes: 1

Related Questions