Loading...
Logo
Processing Forum
Hello

I am attempting to get SimpleARToolKit running on my Mac / Processing. I have downloaded the SimpleARToolKit and JMyron files. I was getting some JMyron errors, but I moved the Library files and now those errors have gone away. The problem I am having now is when I try to run demo01.pde from the SimpleARToolKit, I get an error that says:

UnsatisfiedLinkError: no JARToolKit in java.library.path
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: no JARToolKit in java.library.path
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1754)
 at java.lang.Runtime.loadLibrary0(Runtime.java:823)
 at java.lang.System.loadLibrary(System.java:1045)
 at net.sourceforge.jartoolkit.core.JARToolKit.<clinit>(JARToolKit.java:40)
 at pARToolKit.SimpleARToolKit.<init>(SimpleARToolKit.java:36)
 at demo01.setup(demo01.java:44)
 at processing.core.PApplet.handleDraw(PApplet.java:1608)
 at processing.core.PApplet.run(PApplet.java:1530)
 at java.lang.Thread.run(Thread.java:680)



The demo is crashing on this line:
ar = new SimpleARToolKit(this, capWidth, capHeight);


I have found a few other websites that seem to be asking the same question, but none of them are in English and through using Google Translate, none of them seem to resolve the issue.

Any ideas would be greatly appreciated. 

Replies(4)

This is not yet resolved but I have an update:

I found jARToolKit on SourceForge.net 

Inside the jARToolKit.zip folder I found jARToolKit.jar file and copied it to my Mac/Library/Java/Extensions/ folder

Now when I run the code, the error says "no jartoolkit in java.library.path" (note the lowercase "jartoolkit") - as opposed to the original " no JARToolKit in java.library.path". If I remove the .jar file from the Extensions folder, the original error appears again, so this makes me think that I am on the right track, but still missing something.


I'm having the same problem.... any answers for this?
I am new to processing and having same problem...dont know what to do
Hi all,

I'm running on mac OS 10.6.8 , and I have got the same trouble with loading the ARToolkit library...
UnsatisfiedLinkError: no JARToolkit ine Java.library.path"...

does anyone have a solution ?
Thanks for that ;)
Cheers