mxj and jnilib location

Riccardo Borghesi's icon

Hello,
I'm loading a jnilib from my mxj java code.
To allow it I have to put jnilib in /Library/Java/Extensions/, or
change my max.java.config.txt
adding the line:
    max.jvm.option -Djava.library.path=/...where the jnilib is.../

My question is:
exists a default place in /MaxMSP 4.6/Cycling '74/... where put the
jnilib and where mxj can load it
whitout have to change the max.java.config.txt? (like ...MaxMSP 4.6/
Cycling '74/java/lib/ for jar files).

Thanks for any help
Best regards
Riccardo

topher lafata's icon

Hey Riccardo,

There is no default place currently specified by Max. Seems like
something worth
doing at some point in the future. I know ben is really busy right
now though.

topher

On Apr 19, 2007, at 09:04 AM, Riccardo Borghesi wrote:

> Hello,
> I'm loading a jnilib from my mxj java code.
> To allow it I have to put jnilib in /Library/Java/Extensions/, or
> change my max.java.config.txt
> adding the line:
>     max.jvm.option -Djava.library.path=/...where the jnilib is.../
>
> My question is:
> exists a default place in /MaxMSP 4.6/Cycling '74/... where put the
> jnilib and where mxj can load it
> whitout have to change the max.java.config.txt? (like ...MaxMSP 4.6/
> Cycling '74/java/lib/ for jar files).
>
> Thanks for any help
> Best regards
> Riccardo
>
>

projects's icon

Hi Riccardo,

Sorry, but I don't think there is a default place for jnilib libraries
where they will be automatically found.

Ben

On 4/19/07, Riccardo Borghesi wrote:
> Hello,
> I'm loading a jnilib from my mxj java code.
> To allow it I have to put jnilib in /Library/Java/Extensions/, or
> change my max.java.config.txt
> adding the line:
> max.jvm.option -Djava.library.path=/...where the jnilib is.../
>
> My question is:
> exists a default place in /MaxMSP 4.6/Cycling '74/... where put the
> jnilib and where mxj can load it
> whitout have to change the max.java.config.txt? (like ...MaxMSP 4.6/
> Cycling '74/java/lib/ for jar files).
>
> Thanks for any help
> Best regards
> Riccardo
>
>
>

Riccardo Borghesi's icon

ok Topher,
waiting for this feature, I will continue with max.java.config.txt
Thanks for your answer
Riccardo

On 19 avr. 07, at 19:08, topher lafata wrote:

> Hey Riccardo,
>
> There is no default place currently specified by Max. Seems like
> something worth
> doing at some point in the future. I know ben is really busy right
> now though.
>
> topher
>
>
> On Apr 19, 2007, at 09:04 AM, Riccardo Borghesi wrote:
>
>> Hello,
>> I'm loading a jnilib from my mxj java code.
>> To allow it I have to put jnilib in /Library/Java/Extensions/, or
>> change my max.java.config.txt
>> adding the line:
>>     max.jvm.option -Djava.library.path=/...where the jnilib is.../
>>
>> My question is:
>> exists a default place in /MaxMSP 4.6/Cycling '74/... where put
>> the jnilib and where mxj can load it
>> whitout have to change the max.java.config.txt? (like ...MaxMSP
>> 4.6/Cycling '74/java/lib/ for jar files).
>>
>> Thanks for any help
>> Best regards
>> Riccardo
>>
>>
>
>