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

Home » Public Forums » archive » Re: IDL java bridge
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL java bridge [message #36381 is a reply to message #36375] Fri, 12 September 2003 13:18 Go to previous message
Melissa A. Jackson is currently offline  Melissa A. Jackson
Messages: 2
Registered: September 2003
Junior Member
It appears on linux there is a problem with the IDL-Java bridge using jar
files created with ZIP compression. The IDL-Java bridge works fine with ZIP
compressed Jar files on Mac OS X, Solaris Sparc 8, and Windows 2000.

I have logged an issue here at RSI for development to look into the problem.

For now the workaround is:
Unjar the file
or
Build the jar file without ZIP compression(use the 0 flag). The
jbexamples.jar file provided in the distribution that works on linux was
built with the following command:
jar cf0

-Melissa Jackson
Research Systems, Inc.

"Nigel Wade" <nmw@ion.le.ac.uk> wrote in message
news:bjq126$ibt$1@south.jnrs.ja.net...
> 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
[Message index]
 
Read Message
Read Message
Previous Topic: Re: controlling itools (low level)
Next Topic: Re: PropertySheet Widget Question

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

Current Time: Mon Oct 13 02:34:39 PDT 2025

Total time taken to generate the page: 1.04200 seconds