It's not a secret anymore!
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans with SCJD Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans with SCJD Project" Watch "Netbeans with SCJD Project" New topic

Netbeans with SCJD Project

arnold oberholzer

Joined: Sep 14, 2010
Posts: 2
I am using the book : SCJD - by Monkhouse, Camerlengo.

I have compiled their sample project using the command line and everything works fine. Just cannot get it going with Netbeans? Anybody did this with Netbeans yet?
David Newton

Joined: Sep 29, 2008
Posts: 12617

Welcome to JavaRanch!

Please TellTheDetails -- we don't yet know what kind(s) of problem(s) you're having, so it's impossible to help. Any Java application can be developed in NetBeans.
arnold oberholzer

Joined: Sep 14, 2010
Posts: 2

I downloaded the source code of the book here. It is a DVD database and GUI exmple

When you unzip it, it creates the directory tree structure with the source code in them

src - examples

and a database file called dvd_db.dvd

I created a new project in Netbeans without a generated main program and copied the downloaded src folder over the Netbeans created src folder and the rest of the structure as downloaded.

I run a build on the main application folder and it builds fine.

In the test folder is a test source called DBTestRunner that needs to be executed to test the application.

It builds, starts and runs OK, it the window pops up to ask for the database location and I type in the address of the database location. (This works when I compiled the whole application manually), but in Netbeans it says "cannot find the database".

I will appreciate any help! Thanks! )(I am using Netbeans 6.9)
I agree. Here's the link:
subject: Netbeans with SCJD Project
It's not a secret anymore!