[Fedora-directory-users] Cant't Start Console
Richard Megginson
rmeggins at redhat.com
Wed Dec 7 01:52:01 UTC 2005
Golden Butler wrote:
> $JAVA_HOME = /opt/IBMJava2-142
>
> Downloaded IBM JDK from =
> http://www-128.ibm.com/developerworks/java/jdk/linux140/download.html
>
> Is this right?
Yes. But see here, as Thomas suggested -
http://directory.fedora.redhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError
>
> Richard Megginson wrote:
>
>> Golden Butler wrote:
>>
>>> Thanks Richard. I tried running the export command like you
>>> suggested, but I still get the same error message.
>>
>>
>>
>> What is your JAVA_HOME setting? Where did you download the IBM JDK
>> from?
>>
>>>
>>> Golden Butler
>>> IT Support
>>>
>>> Center for Neighborhood Technology
>>> 2125 W. North Avenue
>>> Chicago, IL 60647
>>>
>>> 773-269-4061
>>> golden at cnt.org
>>> www.cnt.org
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> *From:* Richard Megginson [mailto:rmeggins at redhat.com]
>>> *To:* golden at cnt.org
>>> *Cc:* fedora-directory-users at redhat.com
>>> *Sent:* Tue, 06 Dec 2005 09:03:01 -0600
>>> *Subject:* Re: [Fedora-directory-users] Cant't Start Console
>>>
>>> Try
>>> export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib
>>> then ./startconsole
>>> does the problem go away?
>>>
>>> Golden Butler wrote:
>>>
>>> > Thanks for the help. I've installed the IBM java kit and
>>> successfully
>>> > exported JAVA_HOME to the install path.
>>> > Now when I run ./startconsole, I get the following error:
>>> >
>>> > Exception in thread "main" java.lang.ExceptionInInitializerError
>>> > at
>>> >
>>>
>>> com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initialize(WindowsLookAndFeel.java:154)
>>>
>>> > at
>>> > com.netscape.management.nmclf.SuiLookAndFeel.initialize(Unknown
>>> Source)
>>> > at javax.swing.UIManager.setLookAndFeel(UIManager.java:424)
>>> > at
>>> >
>>> com.netscape.management.client.console.Console.common_init(Unknown
>>> Source)
>>> > at
>>> > com.netscape.management.client.console.Console.<init>(Unknown
>>> Source)
>>> > at com.netscape.management.client.console.Console.main(Unknown
>>> > Source)
>>> > Caused by: java.lang.NullPointerException
>>> > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2171)
>>> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006)
>>> > at java.lang.Runtime.loadLibrary0(Runtime.java:824)
>>> > at java.lang.System.loadLibrary(System.java:910)
>>> > at
>>> >
>>> sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:76)
>>> > at java.security.AccessController.doPrivileged1(Native Method)
>>> > at
>>> >
>>>
>>> java.security.AccessController.doPrivileged(AccessController.java:287)
>>> > at java.awt.Toolkit.loadLibraries(Toolkit.java:1488)
>>> > at java.awt.Toolkit.<clinit>(Toolkit.java:1511)
>>> > ... 6 more
>>> >
>>> > Is this error saying something with the Java gui is screwed up?
>>> >
>>> > - Delamatrix
>>> >
>>> >
>>>
>>> ------------------------------------------------------------------------
>>>
>>> > *From:* Richard Megginson [mailto:rmeggins at redhat.com
>>> <javascript:ki8a0("new","rmeggins at redhat.com")>]
>>> > *To:* golden at cnt.org <javascript:ki8a0("new","golden at cnt.org")>,
>>> General discussion list for the Fedora
>>> > Directory server project.
>>> [mailto:fedora-directory-users at redhat.com
>>> <javascript:ki8a0("new","fedora-directory-users at redhat.com")>]
>>> > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600
>>> > *Subject:* Re: [Fedora-directory-users] Cant't Start Console
>>> >
>>> > Golden Butler wrote:
>>> >
>>> > > I've just installed fedora directory server on my fedora core 4
>>> > > machine. The installation was a breeze, but when I go to
>>> start the
>>> > > console, I get the following error:
>>> > >
>>> > > ./startconsole: Your JAVA_HOME environment variable is not set.
>>> > > Please set it appropriately.
>>> >
>>> > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system
>>> > with the
>>> > RHEL4 IBM 1.4.2 JDK:
>>> > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2
>>> >
>>> > >
>>> > > I've confirmend that I indeed have java run time installed. Is
>>> > there
>>> > > some config somewhere that I need to set or is ignoring? Any
>>> > help or
>>> > > suggestions will be appreciated. Thanks
>>> > >
>>> > > - Delamatrix
>>> > >
>>> >
>>>
>>> >------------------------------------------------------------------------
>>>
>>> > >
>>> > >--
>>> > >Fedora-directory-users mailing list
>>> > >Fedora-directory-users at redhat.com
>>> <javascript:ki8a0("new","Fedora-directory-users at redhat.com")>
>>> > <javascript:ki8a0("new","Fedora-directory-users at redhat.com
>>> <javascript:ki8a0("new","Fedora-directory-users at redhat.com")>")>
>>> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>> > >
>>> > >
>>> >
>>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20051206/3e7c3d4b/attachment.bin>
More information about the Fedora-directory-users
mailing list