OK. Seems that /usr/lib/jvm/java-[version].[arch] is the correct one. Thanks
Regards, Mahmood On Monday, March 24, 2014 4:23 PM, Nico Kadel-Garcia <nka...@gmail.com> wrote: Try "rpm -ql java-1.7.0-openjdk-src | less" The default of "JAVA_HOME", now, that's different, because you can reasonably safely install multiple versions of java with multiple relevant "JAVA_HOME" directories and pick which set to use. The defaults wend a twisty path through "/usr/bin/java" which is symlinked to "/etc/alternatives/java", which is symlinked to "/usr/lib/jvm/jre-[version]/bin/java" If you need to muck with JAVA_HOME to pick alternative versions, use /usr/lib/jvm/java-[version].[arch]. Otherwise, stop trying to outsmart it and simply use the "/usr/bin/java" or "/usr/bin/jre" symlinks as needed. On Mon, Mar 24, 2014 at 3:24 AM, Mahmood Naderan <nt_mahm...@yahoo.com> wrote: > Hi > I have installed > > java-1.7.0-openjdk-devel > java-1.7.0-openjdk-src > > however I can not find the root folder of jdk source. Searching all files > shows many folders and I can not figure-out where it is. Some programs need > $JAVA_HOME. What is the default location? > > Regards, > Mahmood