Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / September 2004

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Trent - 28 Sep 2004 23:57 GMT
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.getLocalGraphicsEnvironment(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>(FontUIResource.java:65)
       at com.sun.java.swing.plaf.motif.MotifLookAndFeel.initComponentDefaults(
MotifLookAndFeel.java:225)
       at com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAndFeel.initComponent
Defaults(Unknown Source)
       at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.
java:119)
       at com.ibm.db2.tools.common.plaf.motif.DB2MotifLookAndFeel.getDefaults(U
nknown Source)
       at javax.swing.UIManager.setLookAndFeel(UIManager.java:425)
       at com.ibm.db2.tools.common.CommonUIManager.setLookAndFeel(Unknown
Sourc
e)
       at com.ibm.db2.tools.common.CommonUIManager.setLookAndFeel(Unknown
Sourc
e)
       at com.ibm.db2.tools.common.CommonUIManager.initialize(Unknown
Source)
       at CC.setLookAndFeel(Unknown Source)
       at CC.<init>(Unknown Source)
       at CC.main(Unknown Source)
DB2JAVIT : RC = 1
====================================================

Thanks.

TJ
Philip Sherman - 29 Sep 2004 13:16 GMT
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

> Hello, all.
>
[quoted text clipped - 40 lines]
>
> TJ
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.