JAVA_HOME problems after upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Nathan Kinder <nkinder at redhat.com>:

> FDS 7.1 included the IBM JVM.  FDS 1.0 does not include a JVM.  To 
> use Console you need either the 14.2 Sun or IBM JVM on your system 
> with JAVA_HOME set appropriately.
>
> -NGK

A suggestion - since Red Hat packages and distributes RHEL with Java 
RPMs from IBM, and since jpackage-utils puts some nice reasonable 
defaults in /etc/java/java.conf for Java variables, and since Red Hat 
now has a directory server that uses Java for management, how about 
modifying startconsole to check /etc/java/java.conf first? :)

The following should hold true:
LIBJAVA_DIR=JAVA_LIBDIR
LIBJVM_DIR=JAVA_JVMDIR

The startconsole script didn't work for me to automatically detect 
LIB{JAVA,JVM}_DIR, based on the output of find/sed, so I just hardcoded 
to the above, which is what they would have ended up as anyway.  But 
after just digging a little bit, the reason appears to be that "find 
/usr/lib/jvm/java -name 'libjvm.s[ol]'" returns nothing.

But:
cd $JAVA_HOME (or /usr/lib/jvm/java)
find . -name 'libjvm.s[ol]' returns ./bin/classic/libjvm.so

or probably better,

find $JAVA_HOME/ -name libjava\.s[ol]

works too, so I think the trailing slash after JAVA_HOME is needed.

Kevin
-- 
Kevin M. Myer
Senior Systems Administrator
Lancaster-Lebanon Intermediate Unit 13  http://www.iu13.org





[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux