Did you add the .jar to your project?

Netbeans:
Right click the libraries item under project then click add jar/folder, find your jar file and click ok.
Then build & run.


On 03/23/2010 10:43 AM, Brutzman, Bill wrote:
John:

Thanks for writing.  I tried it, it did not work... NetBeans still comes
back with an error... "Class Not Found Exception".

While it does not make sense to me that the IDE talks to UV...

I have concluded that I need to upgrade UV from 10.1 to 10.3.2.  I
installed HP-Ux on a fresh (removable) drive last night.  I expect to
install 10.3.2 on this new drive after hours.  I hope to continue the
install tomorrow night.  Tonight in NYC there is a talk on the new Adobe
ColdFusion9 IDE.

--Bill



-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Hester
Sent: Monday, March 22, 2010 5:30 PM
To: U2 Users List
Subject: Re: [U2] JDBC - ClassPath

Grasping at straws here, but when I upgraded to the latest IBM-branded
version of the Eclipse IDE last year, it no longer liked the extension
on asjava.zip.  IBM instructed me to rename it asjava.jar, and it worked
fine after that.  You might try renaming and re-importing it.  I doubt
that's the problem since the class it can't find is in unijdbc.jar but
worth a shot.

-John

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brutzman,
Bill
Sent: Monday, March 22, 2010 12:39 PM
To: bsout...@fwdco.com; U2 Users List
Subject: Re: [U2] JDBC - ClassPath

I am seeing the error in the NetBeans IDE.  It is curious that when I
take away the double-quotes from "com.ibm.u2.jdbc.UniDriver" in the
Class.forName line   ... the code hints find all and pop-up each of the
discrete text elements of... com... ibm... u2... jdbc...
UniJDBCDriver... class... but then it comes back with "cannot find
symbol"/

In NetBeans, I have both unijdbc.jar and asjava.zip listed in the
"Libraries" folder;  where all of the detailed sub-contents show up ok.

--Bill
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to