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 13:09] – 192.168.1.38 | reprap_software [2007-10-02 14:23] – 192.168.1.33 | ||
---|---|---|---|
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 reprap machine, this page will contain some rants about dealing with the ppc peculiarity. first up, java. the [[https:// |
- | you also need the libstdc++5 | + | you also need the following packages (further details may ba found at http:// |
+ | * libstdc++5 | ||
+ | * ant-optional (for javah task) | ||
+ | * libx11-dev (and all its dependencies) | ||
+ | * mesa-common-dev (for glext.h) | ||
+ | |||
+ | the java3d source | ||
+ | * register at https:// | ||
+ | * 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 ''/ |