What version of Java is running in Eclipse?

前端 未结 8 876
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-24 12:33

How do I know what version of Java is being run in Eclipse?

Is there a way to write code to find out?

Is \"JRE System Library [JavaSE-1.6]\" in \"Package Exp

8条回答
  •  暖寄归人
    2020-12-24 12:45

    There are various options are available to test which java version is using your eclipse. The best way is to find first java installed in your machine.

    run java -version command on terminal

    then to check whether your eclipse pointing to the right version or not.

    For that go to

    Eclipse >> Preferences >>Java >>Installed JREs

提交回复
热议问题