JVM version manager

前端 未结 6 1885
隐瞒了意图╮
隐瞒了意图╮ 2021-02-01 14:06

Is there Ruby Version Manager equivalent for the Java world?

I\'m looking for tool which allow me to easily download and install a new JVMs and switch between them. For

6条回答
  •  抹茶落季
    2021-02-01 14:42

    With JVMs, if you need to switch between them you just need to use a batch file (or powershell script) to manage the classpath and JVM path. You don't need to rely on the system default JVM path and instead just allow your app to point to whatever JVM you like by changing classpath and JVM path environment in the shell that runs the JVM.

    For programs that are getting Java location from the Registry, in theory you could use a batch script to update that also.

    In this respect Java is way easier than "Ruby version manager".

提交回复
热议问题