Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 12th, 2006, 09:58 AM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Making the connection...

Hi all,

I am really getting rather lost with it all, and I am right at the beginning. My thanks for any posts in advance. Ok so I have downloaded the cloudscape database (3.6.4) and installed the JDK 1.4.2_04. I am using Netbeans 3.6 IDE, and most importantly I have included the cloudscape.jar file in the /java/lib dir, and included everything into the class path (I can load up the cloudscape viewer). I have copied the orginal source code (I did type it out but anyhow...) into the same dir that I load the Wrox4370.db from.

Anyhow when I compile and run the script from netbeans, I get the following at the command prompt:

java.lang.NoClassDefFoundError: Wrox4370/db/MakingTheConnection


Any ideas anyone???

My thanks again in advance for you guys reading this, and any subsquent posts,

Marky Mark...

  #2 (permalink)  
Old November 12th, 2006, 10:01 AM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

looking at it again, I think I should have it in the dir above (in the same dir as the dir Oracle_scripts). Anyhow this time I get the following when I compile the MakingTheConnection script:

java.lang.ClassNotFoundException: COM.cloudscape.core.JDBCDriver

Any ideas guys?

Thanks,

Marky Mark...

  #3 (permalink)  
Old November 12th, 2006, 01:49 PM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

...it would seem on messing around quite a lot, that this seems to be a problem with netbeans, since I can get it to work fine at the command line level, I can even register a driver in netbeans and could connect to to the database, but alas netbeans won't let me run the scripts properly... major headache...

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Making Charts. chobo2 C# 2005 20 March 8th, 2008 05:45 PM
Problem making a Database Connection ROBEDAVI00 VB Databases Basics 1 December 29th, 2007 09:00 PM
making an mysql connection Zoe-Alyssa Dreamweaver (all versions) 0 May 19th, 2006 02:16 PM
Making a template , Which one is better? studenttwok Beginning PHP 4 July 8th, 2003 10:43 PM



All times are GMT -4. The time now is 04:09 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.