mxj and jnilib location

Apr 19, 2007 at 4:04pm

mxj and jnilib location

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

#31478
Apr 19, 2007 at 5:08pm

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
>
>

#102475
Apr 19, 2007 at 5:31pm

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
>
>
>

#102476
Apr 20, 2007 at 9:34am

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
>>
>>
>
>

#102477

You must be logged in to reply to this topic.