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

Does IBMJava2-SDK-1.4.2-0.0 work with DB2 8.2?

P: n/a
Hello, all.

Does anyone know if IBMJava2-SDK-1.4.2-0.0 work with DB2 8.2?
I tried it with DB2 8.2 and got some error. This server is a RH3ES
with kernel 2.4.21.4
================================================== =======
[db2inst1@rh3es db2inst1]$ db2cc &
[1] 2378
[db2inst1@rh3es db2inst1]$ Exception in thread "main"
java.lang.NoClassDefFoundE
rror: sun/awt/X11GraphicsEnvironment
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvi
ronment.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.initComponent
Defaults(Unknown Source)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefault s(BasicLookAndFeel.
java:119)
at com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAn dFeel.getDefaults(U
nknown Source)
at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:425)
at com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown
Sourc
e)
at com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown
Sourc
e)
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
================================================== ==

Thanks.

TJ
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I'm using 1.4.2 with RHEL3 kernel 2.4.21-20. The oldest kernel I have is
2.4.21-15.0.2 but I know I've deleted the older ones. My 8.2 is an
installed 8.1 with fixpack 7 installed.

[db2inst1@PLS-T40 db2inst1]$ java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia321420-20040626 (JIT
enabled: jitc))

[root@PLS-T40 root]# alternatives --display java
java - status is manual.
link currently points to /usr/lib/jvm/java-1.4.2-ibm-1.4.2.0/jre/bin/java
[db2inst1@PLS-T40 db2inst1]$ db2level
DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08020"
with level identifier "03010106".
Informational tokens are "DB2 v8.1.0.64", "s040812", "MI00086", and
FixPak "7".
Product is installed at "/opt/IBM/db2/V8.1".

[db2inst1@PLS-T40 db2inst1]$ db2 get dbm cfg
Database Manager Configuration
Node type = Database Server with local and remote clients
Database manager configuration release level = 0x0a00
..
..
..
Java Development Kit installation path (JDK_PATH) =
/usr/lib/jvm/java-1.4.2-ibm-1.4.2.0
..
..
..

Phil Sherman
Trent wrote:
Hello, all.

Does anyone know if IBMJava2-SDK-1.4.2-0.0 work with DB2 8.2?
I tried it with DB2 8.2 and got some error. This server is a RH3ES
with kernel 2.4.21.4
================================================== =======
[db2inst1@rh3es db2inst1]$ db2cc &
[1] 2378
[db2inst1@rh3es db2inst1]$ Exception in thread "main"
java.lang.NoClassDefFoundE
rror: sun/awt/X11GraphicsEnvironment
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvi
ronment.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.initComponent
Defaults(Unknown Source)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefault s(BasicLookAndFeel.
java:119)
at com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAn dFeel.getDefaults(U
nknown Source)
at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:425)
at com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown
Sourc
e)
at com.ibm.db2.tools.common.CommonUIManager.setLookAn dFeel(Unknown
Sourc
e)
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
================================================== ==

Thanks.

TJ


Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.