Re: Needing help about Interclient on JBuilder10
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.