I was watching Notch code Minicraft for the Ludum Dare competition on this twitch VOD and I wonder : what does he use to make the changes he makes in the code take effect instantly in the running instance of the game ?
Asked
Active
Viewed 546 times
3
-
You could try asking him directly on Twitter: https://twitter.com/notch – Jesse Webb May 27 '13 at 20:32
-
1Off the top of my head: sounds like [JRebel](http://zeroturnaround.com/software/jrebel/) – millimoose May 27 '13 at 20:33
-
It might just be the regular Java debugger code reloading though. – millimoose May 27 '13 at 20:34
-
@JesseWebb I actually tried that a few months back, he didn't answer! – eriksson May 27 '13 at 20:39
-
1From 2010: [Reloading Java Classes: HotSwap and JRebel — Behind the Scenes](http://java.dzone.com/articles/reloading-java-classes-401) by Dave Booth – McDowell May 27 '13 at 20:47
1 Answers
4
Eclipse includes a feature called hot swapping, which is used when you press the debug button to run your application.
While you application is running in that mode, you can make changes to the code, save it, and the new code will be swapped in for the old code (if it does not have any errors).

syb0rg
- 8,057
- 9
- 41
- 81