<?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: Linker issues.</title>
		<atom:link href="http://cycling74.com/forums/topic/linker-issues/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/linker-issues/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 22:21:07 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/linker-issues/#post-59117</guid>
					<title><![CDATA[Linker issues.]]></title>
					<link>http://cycling74.com/forums/topic/linker-issues/#post-59117</link>
					<pubDate>Fri, 30 Sep 2011 14:44:27 +0000</pubDate>
					<dc:creator>cullam</dc:creator>

					<description>
						<![CDATA[
						<p>Hi guys. I&#8217;m trying to write an mxj class that will launch another application, which can&#8217;t be run inside of Max. I&#8217;ve tested that this particular app can indeed be launched from another class. But I seem to be having some odd issues with the linker in max. My max class is just this:</p>
<p>public class MaxTest extends MaxObject {</p>
<p>	public void bang() {<br />
		outlet(0, &#8220;Executing&#8230;&#8221;);<br />
		Application.launch(ColorfulCircles.class, null);<br />
	}<br />
}</p>
<p>When I send a bang, I get the outlet message, and then the following stack trace: </p>
<p>java.lang.RuntimeException: java.lang.UnsatisfiedLinkError<br />
	at com.sun.javafx.tk.quantum.QuantumToolkit.startup(Unknown Source)<br />
	at com.sun.javafx.application.PlatformImpl.startup(Unknown Source)<br />
	at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)<br />
	at com.sun.javafx.application.LauncherImpl.access$000(Unknown Source)<br />
	at com.sun.javafx.application.LauncherImpl$1.run(Unknown Source)<br />
	at java.lang.Thread.run(Unknown Source)<br />
Caused by: java.lang.UnsatisfiedLinkError<br />
	at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(Unknown Source)<br />
	at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(Unknown Source)<br />
	at com.sun.glass.utils.NativeLibLoader.loadLibrary(Unknown Source)<br />
	at com.sun.glass.ui.Application$1.run(Unknown Source)<br />
	at java.security.AccessController.doPrivileged(Native Method)<br />
	at com.sun.glass.ui.Application.loadNativeLibrary(Unknown Source)<br />
	at com.sun.glass.ui.win.WinApplication.<clinit>(Unknown Source)<br />
	at com.sun.glass.ui.win.WinPlatformFactory.createApplication(Unknown Source)<br />
	at com.sun.glass.ui.win.WinPlatformFactory.createApplication(Unknown Source)<br />
	at com.sun.glass.ui.Application.Run(Unknown Source)<br />
	&#8230; 6 more<br />
Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 7: file:C:Program FilesOracleJavaFX Runtime 2.0lib/../bin<br />
	at java.net.URI$Parser.fail(Unknown Source)<br />
	at java.net.URI$Parser.checkChars(Unknown Source)<br />
	at java.net.URI$Parser.parse(Unknown Source)<br />
	at java.net.URI.<init>(Unknown Source)<br />
	&#8230; 16 more</init></clinit></p>
<p>The obvious issue is that I&#8217;m missing the right directories in my classpath in the config file. However, on start up, all the right classpaths appear to be there: </p>
<p>MXJ System CLASSPATH:<br />
   C:Program Files (x86)Cycling &#8217;74Max 5.0Cycling &#8217;74javalibjitter.jar<br />
   C:Program Files (x86)Cycling &#8217;74Max 5.0Cycling &#8217;74javalibjode-1.1.2-pre-embedded.jar<br />
   C:Program Files (x86)Cycling &#8217;74Max 5.0Cycling &#8217;74javalibmax.jar<br />
MXJClassloader CLASSPATH:<br />
   C:Program Files (x86)Cycling &#8217;74Max 5.0Cycling &#8217;74javaclasses<br />
   C:Program Files (x86)Cycling &#8217;74Max 5.0Cycling &#8217;74javaclassesmy_max_classes<br />
   C:Program FilesOracleJavaFX Runtime 2.0libjfxrt.jar<br />
   C:Program FilesOracleJavaFX 2.0 SDKrtlibjfxrt.jar</p>
<p>The application I&#8217;m trying to run is in the same folder as the MXJ object that&#8217;s calling it. Does anybody have any idea what I&#8217;m doing wrong? Thanks so much!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

