Subject: | |
From: | |
Reply To: | |
Date: | Mon, 24 Mar 2014 07:52:16 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 <[log in to unmask]> 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
|
|
|