JReloader

A simple Java class reloader for running applications
Download

JReloader Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Antonio Gomes
  • Publisher web site:

JReloader Tags


JReloader Description

A simple Java class reloader for running applications JReloader is a very small Java utility that enables class hot-swapping without the need of a debugger.Class reloading is a must-have tool for developers that need to change small pieces of code on-the-fly without the burden of restarting the application. See QuickStart for details on how to use JReloader in a couple of minutes. If you have questions, see the FAQs.With JReloader it's possible to reload classes with instances actively invoked by one or more threads. Current invocations will see the old code until they return. New invocations will always see the new code. Most of the time everything works fine. This all is made possible by JVMTI, an API available since Java 1.5.Installation:You need only to add a couple of vm arguments, as in the example below: java -noverify -javaagent:c: oolsjreloader.jar -Djreloader.dirs=c:project argetclasses com.foo.Main or java -noverify -javaagent:c: oolsjreloader.jar -Djreloader.dirs=c:project argetclasses -jar foo.jar If you have multiple modules, you can add more than one class dir: -Djreloader.dirs=c:project argetclasses,c:project2 argetclasses,c:project2 argetclasses Requirements: · Java 2 Standard Edition Runtime Environment Limitations: · Only changes in method bodies can be reloaded. Changes in class signature are not allowed.


JReloader Related Software