0

So im trying to make my own game engine and I am trying to figure out is there any way to compile java code while running it? If so how do you do it.

example:

While im running the code and I make changes to it I want it to also change whats happening on the game window I know you can do something like this in c/c++ but I dont know how to do it in java.

ImmanuelC
  • 33
  • 6

1 Answers1

1

You can do it with https://dcevm.github.io/

It is a full jre and easy to use. All you have to do is configure your ide(Eclipse or whatever you use to use the dcevm as jre).

It will then pickup all your changes. So if you use it with eclipse it will pickup the change each time you save a file in eclipse, since eclipse compiles on save.

MTilsted
  • 4,974
  • 9
  • 33
  • 64