Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
reprap_software [2007-10-01 16:47] – 192.168.1.48 | reprap_software [2007-10-05 10:39] – 192.168.1.48 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PPC java ====== | ====== PPC java ====== | ||
- | since we are using this mac laptop as the dedicated reprap machine, this page will contain some rants about dealing with the ppc peculiarity. first up, java. the [[https:// | + | since we are using this mac laptop as the dedicated |
you also need the following packages (further details may ba found at http:// | you also need the following packages (further details may ba found at http:// | ||
Line 9: | Line 9: | ||
* mesa-common-dev (for glext.h) | * mesa-common-dev (for glext.h) | ||
- | the j3d source | + | the java3d |
* register at https:// | * register at https:// | ||
* run ant in vecmath, then j3d-core directories | * run ant in vecmath, then j3d-core directories | ||
- | + | note that the java3d source packages are called '' | |
+ | |||
+ | ===== RXTX ===== | ||
+ | |||
+ | used the "Mac OSX/Source package" | ||
+ | |||
+ | ===== RepRap Host ===== | ||
+ | |||
+ | initially i added the java3d jar files on the classpath with '' | ||
+ | |||
+ | ultimately i just copied all of the jar files to the correct places, eg: | ||
+ | |||
+ | < | ||
+ | sudo mv j3d-org-java3d-all.jar / | ||
+ | |||
+ | sudo cp -v j3d-core/ | ||
+ | sudo cp -v j3d-core/ | ||
+ | sudo cp -v vecmath/ | ||
+ | |||
+ | sudo cp -v j3d-core/ | ||
+ | </ | ||
+ | |||
+ | (the first one is the j3d.org jar file we need which contains the STLLoader and is linked from the [[http:// | ||
+ | |||
+ | and finally, we were getting a lot of errors like: | ||
+ | |||
+ | < | ||
+ | STLObject(): | ||
+ | com.sun.j3d.loaders.IncorrectFormatException: | ||
+ | </ | ||
+ | |||
+ | which was ultimately fixed by running in a non-UTF-8 locale, I did this by editing the '' | ||
+ | |||
+ | < | ||
+ | # | ||
+ | LANG=${LANG%%.UTF-8} java -Xmx384m -jar Reprap.jar | ||
+ | </ | ||
+ | |||
+ | the '' | ||
+ | |||
+ | this locale problem is described in ''/ |