Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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...



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





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