Thursday, January 8, 2015

Where is your java distribution running on Ubuntu ?

There are couple of ways to getting Java running on Ubuntu. Some are extract the Java binary distribution and changing system files to thing get effected. Some are using apt-get install utility to Java distribution get running on Ubuntu. So in this blog post I am not going to discuss about how to get Java running on Ubuntu. 

You may actually not know where is Java distribution folder extracted and running, I mean which path if you installed it using apt-get utility. Even you may forget with the time being, specially like me ;-) if you extracted Java binary in a exact path that you want. I faced same situation and need to find out where is my Java distribution running. So I found the below command which exactly tell you the path.


readlink -f $(which java)