Welcome! Log In Create A New Profile

Advanced

SOFTWARE

Posted by Neil 
SOFTWARE
August 27, 2008 09:43AM
Hi there,

I have been having a few problems getting the host software to run. I have had it running before but it now wont open. I started again following the instruction online and the program still fails to open. The reason says it is error level 1?

Is there steps missing from the instructions such as coping files to directories that a programing novice would have overlooked.
Re: SOFTWARE
August 28, 2008 01:53AM
Are you using windows? If so could you post more details from the command prompt?
After the 'error level 1' message has appeared right click anywhere inside the command prompt window and select 'Mark'
Select all the lines by dragging with the left mouse button
press Ctrl + C to copy
then paste it here
Re: SOFTWARE
August 28, 2008 11:56AM
Yes im using windows. I cant paste into this box but if you give me an email i can send it that way if thats any good?
Re: SOFTWARE
August 28, 2008 11:58AM
Got it to work. was just my skills letting me down!
C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>rem reprap-hos
t -- runs Reprap Java host code with an appropriate classpath

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>rem Amount of
RAM to allow Java VM to use

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>set RAM_SIZE=3
84M

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>rem reprap.jar
file and stl file

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>set REPRAP_DIR
=C:\Program Files\Reprap

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>rem Java3D and
j3d.org libraries

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>set JAVA_LIBRA
RY_DIR=C:\Program Files\Java\shared

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>rem cd so we c
an find the reprap-wv.stl file. Can we avoid this??

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>IF NOT EXIST r
eprap-wv.stl cd "C:\Program Files\Reprap"

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>java -cp ".;.\
reprap.jar;C:\Program Files\Reprap\;C:\Program Files\Reprap\reprap.jar;C:\Progra
m Files\Java\shared\*" -Xmx384M org/reprap/Main
Exception in thread "main" java.lang.NoClassDefFoundError: gnu/io/PortInUseExcep
tion
Caused by: java.lang.ClassNotFoundException: gnu.io.PortInUseException
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)

C:\Program Files\Reprap\reprap-host-20080523\reprap-host-20080523>if ERRORLEVEL
1 pause
Press any key to continue . . .
Re: SOFTWARE
August 28, 2008 12:42PM
I've run into that sort of thing when Sun updates their JRE. It installs a new runtime but doesn't re-point to any extended libraries I had installed. The library it's having trouble with in your case is the RXTX stuff. You may need to reinstall it or move it to a new location. More info here: [reprap.org]
Re: SOFTWARE
September 10, 2008 11:53PM
Hi,

I have downloaded the reprap-host-20080523, but I can't run it & the screen shows the same things. What can I do?

Jason
Sorry, only registered users may post in this forum.

Click here to login