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
aaa
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:
sun/awt/X11GraphicsEnvironment
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:91)
at java.awt.Font.initializeFont(Font.java:333)
at java.awt.Font.<init>(Font.java:368)
at
javax.swing.plaf.FontUIResource.<init>(FontUIResou rce.java:65)
at
com.sun.java.swing.plaf.motif.MotifLookAndFeel.ini tComponentDefaults(MotifLookAndFeel.java:225)
at
com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAn dFeel.initComponentDefaults(Unknown
Source)
at
javax.swing.plaf.basic.BasicLookAndFeel.getDefault s(BasicLookAndFeel.java:119)
at
com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAn dFeel.getDefaults(Unknown
Source)
at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:425)
at
com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown
Source)
at
com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown
Source)
at com.ibm.db2.tools.common.CommonUIManager.initializ e(Unknown
Source)
at CC.setLookAndFeel(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1
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).

Regards
Jignesh.
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.