Talk:PCB Milling

From RepRap
Revision as of 09:57, 27 October 2010 by Xsainnz (talk | contribs) (visolate install)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

visolate install

Unfortunately, I (Traumflug) couldn't get this to work:

> java -jar visolate-2.1.6.jar 
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/j3d/WakeupCriterion
[...]
Visolate requires libraries from the java3d project in order to work properly. Precompiled jars, installers and source code are available from java.net. - Xsainnz 12:31, 23 October 2010

Thanks a lot, Xsainnz. Could you elaborate on which libraries are needed. And also, how to do this without installers, because on packaging-based Linux's using installers is a bit a no-no. Traumflug 16:21, 23 October 2010 (UTC)

Not to forget: java-3d is installed here, so this is probably an incompatibility with 64-bit Linux/Ubuntu. Traumflug 16:25, 23 October 2010 (UTC)

There are installers and zip binaries for multiple system on the downloads page have you tried the one for your system?
How do you know java-3d is installed and working? - Xsainnz 07:57, 24 October 2010 (UTC)

I assume java-3d is working, because I've installed it via the (hopefully) appropriate Ubuntu package and RepRap host works as well. Traumflug 09:54, 24 October 2010 (UTC)

I borrowed a friends 64bit laptop, so I've been able to get visolate to work on Ubuntu 10.10 (64bit).
I have also been able to replicate the error you reported.
The error message you posted indicates that java cannot find the j3d libs.
The easiest method was to installing j3d with the synaptic package manager (libjava3d-java, libjava3d-jni & libvecmath-java)
Alternately you can manually download "j3d-1_5_2-linux-amd64.zip" from Java 3D Downloads
Extract the zip to somewhere convenient, then extract the contained zip (j3d-jre.zip)
We will assume (for now) that java can find the shared object (".so") file/s as you have said you have the Reprap host installed and working
inside the "lib/ext" folder you just extracted should be three jars (j3dcore.jar j3dutils.jar & vecmath.jar)
Copy the three jars to the JRE external library folder, on the 64bit system this was "/usr/lib/jvm/java-6-openjdk/jre/lib/ext" the 32bit Ubuntu jvm was sun java so the path was slightly different
Try running the visolate jar again. Any luck? --Xsainnz 13:57, 27 October 2010 (UTC)