comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Debugging Java Bridge CLASSPATH issues?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Debugging Java Bridge CLASSPATH issues? [message #85196] Thu, 11 July 2013 20:44 Go to previous message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
I am attempting to do some relatively simple stuff with the Java bridge facility in IDL, but seem to be failing at the initial hurdle. I can instantiate objects of basic class (string etc) and play around with them, but I have installed a package (or whatever is is called in Java land) mysql-connector-java. I added the location of the relevant .jar file into the CLASSPATH in my .idljavabrc file.

When I try and instantiate this, Java throws an exception with the message:

% java.lang.ClassNotFoundException: com/mysql/jdbc/Driver
% at java.lang.Class.forName0(Native Method)
% at java.lang.Class.forName(Class.java:164)

So, it can't find it, but I put it in the classpath. Either the classpath isn't being set right or there is an issue with the .jar file (conflicting Java versions or something???). I would like to narrow this down by verifying that IDL has picked up the additions I made to the CLASSPATH, but I can't find any IDL System variable (or something else) that would let me do that. I.e. I would like to just check say:

> print,!CLASSPATH

and verify that I have managed to set this as desired, but of course that isn't a real IDL System variable.

How can I check what CLASSPATH IDL is using?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Barplot
Next Topic: Name and favourite colour

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:11:52 PDT 2025

Total time taken to generate the page: 1.11855 seconds