[218] in java-interest

home help back first fref pref prev next nref lref last post

Re: Re: Re: Native Methods Question

daemon@ATHENA.MIT.EDU (Kevin Collins)
Wed Jun 7 15:39:29 1995

Date: Wed, 7 Jun 1995 13:17:54 -0600
From: Kevin Collins <kevinc@hppcih58.fc.hp.com>
To: java-interest@java.Eng.Sun.COM
Cc: bobp@hppcih58.fc.hp.com, chrisk@hppcih58.fc.hp.com,
        detlef@hppcih58.fc.hp.com

Thanks again, one more small follow-up, for now ...

> Classes that use native code libraries are currently distributed through
> an alternate channel (e.g. FTP). In a class distribution with native code
> there would be some .class files and one or more .so (or DLL) files. The
> user of this class would copy the classes into their class hierarchy or
> add the directory where the classes were located to their CLASSPATH. (how
> they do this is platform dependent, on Solaris you would just set the
> environment variable CLASSPATH to include the new directory.) Presumably
> if I downloaded the Solaris version of your classes you would not include
> Windows NT libraries as well. You would have 'n' files (where n was the
> number of platforms supported) Selection of the proper library is done
> by the user who knows what platform they are running on presumably.

So are you saying there would need to be a different URL for each platform 
that was supported?  I was asking if I could somehow set up my classes and 
related native libraries in a single location and magically have a Solaris 
browser pick up the .so lib, NT the dll etc.  Possibly a tall order I 
admit ...

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post