How to check JRE version prior to launch?

前端 未结 13 2228
天命终不由人
天命终不由人 2020-12-01 11:08

What\'s the best way to determine if the version of the JRE installed on a machine is high enough for the application which the user wants to run? Is there a way of doing it

13条回答
  •  醉梦人生
    2020-12-01 12:01

    You might also consider using Commons-Launcher, which allows you to setup various environment settings, or perform pre-checks before calling your application.

    http://commons.apache.org/launcher

提交回复
热议问题