<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Java search path for libraries</title>
		<atom:link href="http://cycling74.com/forums/topic/java-search-path-for-libraries/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/java-search-path-for-libraries/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 20:45:19 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-33270</guid>
					<title><![CDATA[Java search path for libraries]]></title>
					<link>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-33270</link>
					<pubDate>Wed, 15 Aug 2007 18:00:10 +0000</pubDate>
					<dc:creator>grimepoch</dc:creator>

					<description>
						<![CDATA[
						<p>Currently I have been installing my jnilib into /Library/Java/Externals.  However, I&#8217;d like to make it sit in the same directory as my patch.</p>
<p>I know there is the java config file, I am just unsure how to tell it to look in the same location as a patch loading up when the class is laded in the mxj.</p>
<p>Any thoughts on this?</p>
<p>Rick</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-110619</guid>
					<title><![CDATA[Re: Java search path for libraries]]></title>
					<link>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-110619</link>
					<pubDate>Wed, 15 Aug 2007 20:21:24 +0000</pubDate>
					<dc:creator>topher lafata</dc:creator>

					<description>
						<![CDATA[
						<p>In the java config file you can pass jvm startup arguments.<br />
try something like.:<br />
|-Djava.library.path=/whatever/you/want:/other/path|||||</p>
<p>maybe that helps.</p>
<p>setting this variable dynamically is not possible as far as i can tell <br />
so having it in the same directory as the patch might be<br />
impossible.</p>
<p>topher</p>
<p>
Rick Burnett wrote:<br />
> Currently I have been installing my jnilib into /Library/Java/Externals.  However, I&#8217;d like to make it sit in the same directory as my patch.<br />
><br />
> I know there is the java config file, I am just unsure how to tell it to look in the same location as a patch loading up when the class is laded in the mxj.<br />
><br />
> Any thoughts on this?<br />
><br />
> Rick<br />
><br />
>   </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-110620</guid>
					<title><![CDATA[Re: Java search path for libraries]]></title>
					<link>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-110620</link>
					<pubDate>Wed, 15 Aug 2007 20:25:58 +0000</pubDate>
					<dc:creator>topher lafata</dc:creator>

					<description>
						<![CDATA[
						<p>
One more thing. I forgot about the System.load() method.It takes a path. <br />
You could maybe do maxSystem.locateFile for your jnilib and try via that <br />
route.</p>
<p>
topher</p>
<p>Rick Burnett wrote:<br />
> Currently I have been installing my jnilib into /Library/Java/Externals.  However, I&#8217;d like to make it sit in the same directory as my patch.<br />
><br />
> I know there is the java config file, I am just unsure how to tell it to look in the same location as a patch loading up when the class is laded in the mxj.<br />
><br />
> Any thoughts on this?<br />
><br />
> Rick<br />
><br />
>   </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-110621</guid>
					<title><![CDATA[Re: Java search path for libraries]]></title>
					<link>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-110621</link>
					<pubDate>Wed, 15 Aug 2007 21:22:33 +0000</pubDate>
					<dc:creator>grimepoch</dc:creator>

					<description>
						<![CDATA[
						<p>Interesting thought.  Are you saying to try and add that to the static section of the code that loads the library.  Hmmm.  I just posted everything I did in another thread.  I&#8217;ll have to try it :)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-110622</guid>
					<title><![CDATA[Re: Java search path for libraries]]></title>
					<link>http://cycling74.com/forums/topic/java-search-path-for-libraries/#post-110622</link>
					<pubDate>Wed, 15 Aug 2007 22:11:42 +0000</pubDate>
					<dc:creator>topher lafata</dc:creator>

					<description>
						<![CDATA[
						<p>that is what i am saying. the jnilib would need to be in the search path <br />
for maxSystem.locateFile to find it as well.<br />
t</p>
<p>Rick Burnett wrote:<br />
> Interesting thought.  Are you saying to try and add that to the static section of the code that loads the library.  Hmmm.  I just posted everything I did in another thread.  I&#8217;ll have to try it :)<br />
><br />
>   </p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

