Welcome! Log In Create A New Profile

Advanced

Installing RepRap software

Posted by Rich Ludwig 
Installing RepRap software
March 08, 2008 03:48AM
Hey guys I followed the instructions on the Windows install tutorial. It doesn't work. This is what I am getting

C:\RepRap\reprap-host-0.8.3>reprap-host

C:\RepRap\reprap-host-0.8.3>rem reprap-host -- runs Reprap Java host code with a
n appropriate classpath

C:\RepRap\reprap-host-0.8.3>rem Amount of RAM to allow Java VM to use

C:\RepRap\reprap-host-0.8.3>set RAM_SIZE=384M

C:\RepRap\reprap-host-0.8.3>rem reprap.jar file and stl file

C:\RepRap\reprap-host-0.8.3>set REPRAP_DIR=\Reprap

C:\RepRap\reprap-host-0.8.3>rem Java3D and j3d.org libraries

C:\RepRap\reprap-host-0.8.3>set JAVA_LIBRARY_DIR=\Java\shared

C:\RepRap\reprap-host-0.8.3># cd so we can find the reprap-wv.stl file. Can we
avoid this??
'#' is not recognized as an internal or external command,
operable program or batch file.

C:\RepRap\reprap-host-0.8.3>IF NOT EXIST reprap-wv.stl cd "\Reprap"

C:\RepRap\reprap-host-0.8.3>java -cp ".;.\reprap.jar;\Reprap\;\Reprap\reprap.jar
;\Java\shared\*" -Xmx384M org/reprap/Main
Exception in thread "RepRap" java.lang.NoClassDefFoundError: javax/vecmath/Tuple
3d
at org.reprap.Main.createAndShowGUI(Unknown Source)
at org.reprap.Main.access$2200(Unknown Source)
at org.reprap.Main$22.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.vecmath.Tuple3d
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 11 more

C:\RepRap\reprap-host-0.8.3>if ERRORLEVEL 1 pause

I thought the batch file was pointing to the wrong places but that doesn't seem to matter. Also I do have an Nvidia GPU but can't find the files that the tutorial recommended fixing.

Any help in what is going on would be great.

Thanks guys. I look forward to building a RepRap soon.
Anonymous User
Re: Installing RepRap software
March 08, 2008 05:23AM
It looks like you don't have Java3d or the Java3d helper class in the \lib directory. So get Java3d or make sure the Java3d helper class is copied to the place where your Java installation keeps all of its .jars.

--Blerik
emt
Re: Installing RepRap software
March 08, 2008 11:51AM
Hi
This was posted By Dan Putnam and is what I used to get going under Windows


Here is a start at a step by step install of reprap-host-0.8.1 for windows

Step by step install for Windows XP
Install jre1.5.11
[sdlc2d.sun.com]
Accept the license
Window platform J2SE
check the check box for windows offline installation, multilanguage download
Click the orange box "Download selected with sun download manager
Hopelfully the down load begins.
Jre1.5.11/lib/ext contains
dnsns.jar,
localedata.jar,
sunjce_provider.jar,
sunpkcs11.jar

Install Java3d
Double click java3d-1_5_0-windows-i586.exe [java3d.dev.java.net]
Creates java3d folder in your java folder
Adds j3dutils.jar,
vecmath.jar,
j3dcore.jar
to Jre1.5.11/lib/ext

Install j3d-org-java3d-all.jar [reprap.svn.sourceforge.net]
Note the pc changes the file extension to .zip this is wrong after you download the file rename the file to .jar do not try to unzip this file. Place the file along with all the others in Jre1.5.11/lib/ext

get rxtxcomm.jar
From [www.rxtx.org]
Download rxtx-2.1-7-bins-r2.zip (Final)
Unzip the file
Move rxtxcomm.jar into Jre1.5.11/lib/ext
Move copies of rxtxserial.dll and rxtx parallel.dll into both \jre1.5.0_11\lib\i386 and \jre1.5.0_11\lib\ext.
*note On my system having a copy of rxtxserial.dll and rxtx parallel.dll in \jre1.5.0_11\lib\i386 is not necessary, but at least one person has needed it to get things working. 7/15/07


Download reprap-host-0.8.1.zip [sourceforge.net]
Extract the zip to a convenient place (I used c: )
Double click on reprap-host.bat
If all has gone well you should have the main reprap window open on your screen.

What if it doesn
Re: Installing RepRap software
March 08, 2008 02:56PM
Yeah I thought I did a clean install under my RepRap directory and had everything installed there but it was reverting to my program files java directory. So I installed Java 3d there like you guy mentioned. Thanks

I got another error that I figured out and thought I would post it here if people that aren't as familiar with Java like myself.

C:\RepRap\reprap-host-0.8.3>reprap-host

C:\RepRap\reprap-host-0.8.3>rem reprap-host -- runs Reprap Java host code with a
n appropriate classpath

C:\RepRap\reprap-host-0.8.3>rem Amount of RAM to allow Java VM to use

C:\RepRap\reprap-host-0.8.3>set RAM_SIZE=384M

C:\RepRap\reprap-host-0.8.3>rem reprap.jar file and stl file

C:\RepRap\reprap-host-0.8.3>set REPRAP_DIR=c:\Reprap

C:\RepRap\reprap-host-0.8.3>rem Java3D and j3d.org libraries

C:\RepRap\reprap-host-0.8.3>set JAVA_LIBRARY_DIR=c:\RepRap\Java\shared

C:\RepRap\reprap-host-0.8.3># cd so we can find the reprap-wv.stl file. Can we
avoid this??
'#' is not recognized as an internal or external command,
operable program or batch file.

C:\RepRap\reprap-host-0.8.3>IF NOT EXIST reprap-wv.stl cd "c:\Reprap"

C:\RepRap\reprap-host-0.8.3>java -cp ".;.\reprap.jar;c:\Reprap\;c:\Reprap\reprap
.jar;c:\RepRap\Java\shared\*" -Xmx384M org/reprap/Main
java.lang.IllegalArgumentException: adding a container to a container on a diffe
rent GraphicsDevice
at java.awt.Component.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at org.reprap.Main.createAndShowGUI(Unknown Source)
at org.reprap.Main.access$2200(Unknown Source)
at org.reprap.Main$22.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Terminate batch job (Y/N)?

You have to turn off your dual monitors if you get the container in a container error.
Re: Installing RepRap software
April 27, 2008 02:51PM
Hello! I'm new to this and I'm trying to install the software. I followed these instructions, using reprap version 0.8.3, and it's not working. Should I try to get 0.8.1 working first, or is there something different I should be doing for the new version?
Re: Installing RepRap software
May 16, 2008 08:31PM
Rich Ludwig Wrote:
-------------------------------------------------------
> You have to turn off your dual monitors if you get
> the container in a container error.


I have that error you are talking about. How do you turn off your dual monitors?
Sorry, only registered users may post in this forum.

Click here to login