Newbie with NetBeans and Oracle
From: NotAsDumbAsILook (toyota_trekker_at_yahoo.com)
Date: 02/17/04
- Next message: KC Wong: "Re: 100% cpu usage when starting MySQL server"
- Previous message: John: "Re: Java Stored Procedures"
- Next in thread: Markku: "Re: Newbie with NetBeans and Oracle"
- Reply: Markku: "Re: Newbie with NetBeans and Oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Feb 2004 16:38:44 -0800
Okay, so here's my issue:
I'm new to Java. I am learning with NetBeans. I've got the latest and
greatest downloaded and installed. It works fine. I've written a bunch
of little programs.
I downloaded and installed the Database Explorer Module. I then
downloaded the Oracle JDBC drivers (class12.zip, or whatever the name
was) and unzipped in the lib\ext directory. I can connect when I'm in
NetBeans' Explorer and click on Databases. I right-click on the
database that I set up and the little password window pops up, I log
on, and I can see all of my tables and play around with them using the
Command Editor. So, I'm happy up to this point.
Now, I'm trying to hook up to the database through my code. NetBeans
gives an error when it hits this line:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
The error is:
dbTest.java [56:1] package oracle.jdbc.driver does not exist
How can NetBeans not see those files when they are in the lib\ext
folder? I tried mounting that folder as a filesystem, but that didn't
help. What stupid little thing have I neglected? Any ideas?
Thanks,
Kevin
- Next message: KC Wong: "Re: 100% cpu usage when starting MySQL server"
- Previous message: John: "Re: Java Stored Procedures"
- Next in thread: Markku: "Re: Newbie with NetBeans and Oracle"
- Reply: Markku: "Re: Newbie with NetBeans and Oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|