---
title: "mac下查找已经安装的java home路径"
author: "朱秋旭"
date: "2016-06-07T18:19:54Z"
tags: []
categories: ["互联网"]
slug: "mac-java-home"
draft: false
lastmod: "2016-06-07T18:19:54Z"
id: 2303869
url: "https://himichaelchu.iteye.com/blog/2303869"
---

execute on  termanel to get current jdk path:

/usr/libexec/java\_home

 

 

get java path:

which java

readlink /usr/bin/java