By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,017 Members | 951 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,017 IT Pros & Developers. It's quick & easy.

db2cc fails on 64 bit AIX 5.2

P: n/a
I installed DB2 8.1.1 FP 7 on an AIX system running AIX 5.2 in 32 bit
mode. The DB2 control center started up fine until I changed the
server to boot in 64 bit mode. Now db2cc fails. I have been told by
one of our Java experts that the error messages mean that java is not
finding its core libraries and he thinks the CLASSPATH is not being
set correctly. We tried to manually correct this without success (by
adding various jar files in jre/lib to the CLASSPATH). I have not
altered the instance's .profile or db2profile. The only thing that
changed was booting the machine in 64 bit mode.

Both the 32 bit instance and the 64 bit instance fail with the same
error. Each user points to the appropriate version of Java (ie. the 32
bit instance uses the 32 bit Java, and the 64 bit instance uses the 64
bit java). The sqllib/lib and bin of both instances also point to the
appropriate locations (ie. 32=>32 64=>64).

Exception in thread "main" java.lang.NoClassDefFoundError:
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(
java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(
at java.awt.Font.initializeFont(
at java.awt.Font.<init>(
at tComponentDefaults(
at dFeel.initComponentDefaults(Unknown
javax.swing.plaf.basic.BasicLookAndFeel.getDefault s(
at dFeel.getDefaults(Unknown
at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:425)
at dFeel(Unknown
at dFeel(Unknown
at e(Unknown
at CC.setLookAndFeel(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Try setting the environment, DISPLAY.

for eg: setenv DISPLAY "Ip address of your host system:0.0" (c-shell).

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.