[Live-demo] [OSGeo] #915: JAVA_HOME variable not set for openjdk7

OSGeo trac_osgeo at osgeo.org
Sat Jun 30 17:35:46 PDT 2012


#915: JAVA_HOME variable not set for openjdk7
---------------------+------------------------------------------------------
 Reporter:  kalxas   |       Owner:  live-demo@…              
     Type:  defect   |      Status:  new                      
 Priority:  blocker  |   Milestone:  Unplanned                
Component:  LiveDVD  |    Keywords:  6.0                      
---------------------+------------------------------------------------------

Comment(by hamish):

 does /usr/lib/jvm/default-java exist and point to the right place?

 Both /usr/local/lib/geoserver-2.1.3/bin/startup.sh and shutdown.sh are
 modified to point to there in install_geoserver.sh.

 In general the apps really shouldn't need to rely on the system wide one
 to be set up. Nonetheless, install_java.sh has:
 {{{
 # in case of emergency break glass:
 #cat << EOF > /etc/profile.d/set_JAVA_HOME.sh
 #JAVA_HOME=/usr/lib/jvm/java-6-sun
 #export JAVA_HOME
 #EOF
 }}}

 what's the new dir for it? /usr/lib/jvm/java-7-sun?


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/915#comment:1>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list