473,466 Members | 1,451 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
1 2097
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification...
11
by: Grant Edwards | last post by:
I've read over and over that Python leaves floating point issues up to the underlying platform. This seems to be largely true, but not always. My underlying platform (IA32 Linux) correctly...
0
by: Dirk Försterling | last post by:
Hi all, a few days ago, I upgraded from PostgreSQL 7.2.1 to 7.4, following the instructions in the INSTALL file, including dump and restore. All this worked fine without any error (message). ...
5
by: Barry Anderberg | last post by:
I'm using a tool by Sci-Tech called the .NET Memory Profiler. We have a massive .NET/C# application here and it has been exhibiting memory leak behavior for some time. Attempting to remedy the...
5
by: Genboy | last post by:
My "VIS" Website, which is a C# site created in VS.NET, Framework 1.1, is no longer compiling for me via the command line. As I have done 600 times in the last year and a half, I can compile to...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
29
by: Vol | last post by:
I think 'atan' can get the angle but it is not the four quadrant angle. Is there any function that i can get the angle from -pi to pi? or I have to use some if ... else? I know in Matlab, we use...
2
by: Nuno Magalhaes | last post by:
In pages that there is no content length, how does HttpWebResponse knows where the page ends? And what kind of objects/methods does it retrieve? Does it only retrieve the initial page without any...
16
by: lawrence k | last post by:
I've a file upload script on my site. I just now used it to upload a small text document (10k). Everything worked fine. Then I tried to upload a 5.3 meg Quicktime video. Didn't work. I've...
38
by: ssg31415926 | last post by:
I need to compare two string arrays defined as string such that the two arrays are equal if the contents of the two are the same, where order doesn't matter and every element must be unique. ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.