Determining the version of Java SDK on the Mac

后端 未结 6 539
面向向阳花
面向向阳花 2021-01-31 01:21

I have a MacBook Pro running Snow Leopard; how can I see what version of the Java SDK is installed on my Mac?

6条回答
  •  一生所求
    2021-01-31 01:59

    Open a terminal and type: java -version, or javac -version.

    If you have all the latest updates for Snow Leopard, you should be running JDK 1.6.0_20 at this moment (the same as Oracle's current JDK version).

提交回复
热议问题