find jre
1 posts in topic
Flat View  Flat View

Posted By:   hymavathi_rathikota
Posted On:   Thursday, March 22, 2007 08:38 AM

how do i know where java is actually installed in Fedora Linux operating system

Re: find jre

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, March 24, 2007 05:12 PM

Who is asking? A human being (who can poke around the filesystem looking for it, just this once, and then know where it is, after that), or an application already running inside the JVM (that has to try finding it every time the application executes)?

Perhaps check if the "JAVA_HOME" environment variable is set; or look in the typical/usual places (what's the default, I forget? /usr/local/java? /usr/java? /opt/java? etc.); or use the RPM pkg mgr (pkginfo?), to see if it was installed via a package which records the location.
About | Sitemap | Contact