2

When I use IntelliJ and run my code, it sometimes finds code, which is not compilable. Consequently, I can't run the code unless I either delete the file or put the code in /* */.

Is it possible to run a class while having other classes which have mistakes/are not compilable?

A1m
  • 2,897
  • 2
  • 24
  • 39
NewbieJava
  • 117
  • 11

1 Answers1

1

It is not possible unless you break up your project into more modules and then compile/run only the current module, while reusing the built version of the other modules (that contain the errors right now).

A1m
  • 2,897
  • 2
  • 24
  • 39