473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

NoClassDefFoundError:sqlj.framework.ClassFileReade r

Hi All,

I am trying to compile some embedded SQL using the SQLJ in DB2
environment. My setup is as follows.
1) Fedora Core 5
2)IBM DB2 V8.2

I installed both the client/admin tools in the DB2 and created data
base instance. I am able sucessfully play with the DB2 related
commands.

Now while running the sqlj command, I get an error as follows ( both
sqlj mytestfile.sqlj and sqlj --help)

"Exception in thread "main" java.lang.NoClassDefFoundError:
sqlj.framework.ClassFileReader"

In my CLASSPATH, the sqlj.zip is referenced correctly and I can see the
ClassFileReader.class file in sqlj.framework. Moreover to confirm. when
I remove the sqlj.zip file in CLASSPATH, I get a different
ClassNotFoundError, which means my sqlj.zip path is correct. In
addition sqlj.zip, I have "db2java.zip", "db2jcc.jar",
"db2jcc_license_cu.jar" are there in CLASSPATH.

So, what I am missing here. Do I need to install anything else to use
sqlj.

Please help.

Thanks
Shibu

Nov 17 '06 #1
0 1704

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phil Powell | last post by:
Ok, I installed ANT, I have c:\ant in my ANT_HOME environment variable, I have c:\ant\bin in my PATH environmental variable, I installed the JAR files for TCL and for Javascript (Rhino)... to no...
0
by: Per-Christian Engdal | last post by:
Hi, I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1 Sp2 (Windows 2000) installation. The deployment works without exceptions, but when I try to access cocoon through...
12
by: Rhino | last post by:
I am having an odd problem: the sqlj command on my system doesn't work. I am running DB2 (LUW) V8 (FP8) on WinXP. I haven't done an sqlj program since Version 6 of DB2 (LUW) so I checked the...
1
by: sachin | last post by:
hello everyone, i am trying to convert my XSL-FO to PDF file by using fop-0.20.5 by importing the following classes: import java.io.File; import java.io.IOException; import...
0
by: tejpatil | last post by:
Hi All, This was installed recently on my desktop which has fedora core 6. This used to work perfectly. I used to update linux with daily updates, after few updates this started giving issues. I...
0
by: Husey | last post by:
Hi, I am trying to create a very simple EJB project which requires me to create a new jboss configuration in Eclipse. I keep getting the error message "An error has occurred. See error log for...
2
kaleeswaran
by: kaleeswaran | last post by:
Hi.. I am running web application using NetBeans ID... While i am running this code i got an error like this... java.lang.NoClassDefFoundError:...
3
by: akoymakoy | last post by:
im new to the the mail stuff and smtp stuff .. im trying to make a module to send email ... here is my code and the error it returns is: Exception in thread "main" java.lang.NoClassDefFoundError:...
2
by: sinner | last post by:
hi iam using netbeans ide to run the springs framework with apache tomcat server. i encountered a error when i ran through the program javax.servlet.ServletException:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.