For Programmers: Free Programming Magazines  


Home > Archive > Java Help > August 2006 > Needing help about Interclient on JBuilder10









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Needing help about Interclient on JBuilder10
pedrovazazevedo@sapo.pt

2006-08-19, 4:01 am

Hi! I'm trying to use Borland INTERBASE on JBuilder via JBDC. I've
installed everything (I include in library project interclient.jar) so
everything should be working. However in the instruction to load the
drive (ClassForName("Interbase.interclient.Driver)) gives me an
exception ClassNotFound!??? I've tried everything but always with the
same result. Can anybody help me please!???

Andrew Thompson

2006-08-22, 10:01 pm

pedrovazazevedo@sapo.pt wrote:
> Hi! I'm trying to use Borland INTERBASE on JBuilder via JBDC. I've
> installed everything (I include in library project interclient.jar) so
> everything should be working. However in the instruction to load the
> drive (ClassForName("Interbase.interclient.Driver))


You did not copy paste that information, did you?*

>....gives me an exception ClassNotFound!???


...And I suspect that because the code shown above would not
compile, though note that the 'I' of interbase is the first letter
of a package name, and Borland, sticking to the usual conventions,
calls it 'interbase' rather than 'Interbase'.

* Please stop wasting the bandwidth and time of everybody
here (including you) by 'retyping' code or error messages.

*Always* copy/paste. Programs can fail because of
a single misplaced ',', so if you make typos. between
the code that is failing, and the post to the group,
no-one can figure what is going wrong.

>...I've tried everything but always with the
> same result.


Have you tried pouring chilled tomato juice into the
PC as you start the program? I'm not recommending
that, I'm just asking..

>...Can anybody help me please!???


The generic advice I can give you is that for this to work,
1) the interclient.jar must be on the classpath**.
2) Java is case sensitive and you must get the UPPER
and lower case exactly right.

** I could tell you how to do that from the command line,
but for how to do it in your IDE, either consult it's help
or take a query back to the manufacturer - these groups
have a certain amount of 'how do I work my IDE' questions
that get answered, but such questions are technically
off-topic***.

*** In the sense that they are development environment
questions rather than 'Java questions' - and the IDE's
might be used to code PHP, C++, ..HTML.

HTH

Andrew T.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com