IDL java bridge [message #36401] |
Thu, 11 September 2003 07:32 |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
Has anyone used the IDL java bridge on Linux to access classes in a jar
file?
I'm trying to access a class in one of my jar files, but I keep getting an
error message in the /tmp/jb_whatever file which says the jar file doesn't
exist.
The CLASSPATH I have set which points to the jar works fine for a pure Java
application so CLASSPATH is correct as far as Java is concerned. Does
anyone know how IDL locates jar files?
This is my CLASSPATH:
.:/home/nigel/Spear/Java/fitData.jar
this is the attempt to create the Java object:
IDL> fitReader = OBJ_NEW( 'IDLJavaObject$FITDATA_FITFILEREADER',
'fitData.FitFileReader', '2003022616f.fit.gz')
% Class fitData.FitFileReader not found
% Execution halted at: $MAIN$
and this is the resulting error message:
/home/nigel/Spear/Java/fitData.jar: No such file or directory
and checking the file really exists:
$ls -l /home/nigel/Spear/Java/fitData.jar
-rw-rw-r-- 1 nigel nigel 14979 Aug 5 17:41
/home/nigel/Spear/Java/fitData.jar
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
|
|