osx - What is my Java version on MacBook after upgrading Java from 6 to 7? -


this question has answer here:

i have macbook on java installed on below location:

/system/library/java/javavirtualmachines/1.6.0.jdk/contents/home

recently, have upgraded java version 1.6 1.7 , link verify java version says have recommended java installed (version 7 update 51).

but not able see java - 7 got installed.

also, when check java version using terminal java -version command, still says macbook having older version 6 i.e.:

java version "1.6.0_65"

java(tm) se runtime environment (build 1.6.0_65-b14-462-11m4609)

java hotspot(tm) 64-bit server vm (build 20.65-b04-462, mixed mode)

now how determine java have , is?

try command. take while run, because @ every file on machine, should find new version somewhere!

find / -name "1.*jdk" 2> /dev/null 

it starts @ / (the top level directory) , looks file/folder name starts 1 , ends in jdk. discards error messages trash (/dev/null).


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -