Welcome! Log In Create A New Profile

Advanced

Help Running Reprap.jar

Posted by emt 
emt
Help Running Reprap.jar
June 11, 2008 10:22AM
Hi

I am running in Windows

Using Eclipse I can build latest version, create jar etc. and run.

As I am having timing problems I need to run outside of Eclipse.

I have moved the created RepRap directory to program files.

From there I run Reprap-host.bat

I get the following error:-

C:\Program Files\Reprap>java -cp ".;.\reprap.jar;C:\Program Files\Reprap\;C:\Pro
gram Files\Reprap\reprap.jar;C:\Program Files\Java\shared\*" -Xmx384M org/reprap
/Main
Exception in thread "main" java.lang.NoClassDefFoundError: org/reprap/Main
Caused by: java.lang.ClassNotFoundException: org.reprap.Main
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>if ERRORLEVEL 1 pause
Press any key to continue . . .

Not knowing much about Java (but slowly learning) I am guessing the error is this bit:- -Xmx384M org/reprap/Main

Which file is it actually looking for? I am guessing the only problem is that my directory structure below Reprap does not match the Batch file.


Regards

Ian
Re: Help Running Reprap.jar
June 12, 2008 12:36AM
I had that too.

Managed to get past it by installing rxtx-2.1-7-bins-r2.zip

Extract from Install file ----
Windows

RXTXcomm.jar goes in \jre\lib\ext (under java)
rxtxSerial.dll goes in \jre\bin
----

Now I get;
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/v
math/Color3f
at org.reprap.Preferences.(Unknown Source)
at org.reprap.Main.initComms(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.Color3f
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)
... 12 more

I am now stuck here. Anybody got any ideas?
Re: Help Running Reprap.jar
June 13, 2008 03:49AM
See [forums.reprap.org]. This seems to be functionality thats only in Java 1.6+
Re: Help Running Reprap.jar
June 13, 2008 06:42AM
Reece,

I am not able to see the new GUI Ed created with out running Netbeans? The errors Ross are seeing is because of this I get the same errors even though they do not affect the host software from functioning.

Bruce Wattendorf
Re: Help Running Reprap.jar
June 24, 2008 11:53PM
No worries guys,

I followed the excellent post referenced further in this forum (there are differences between this and the instructions provided with the packages) and it all works now. Thanks for your help.

I have AoI and the Reprap host running and have updated the AoI Plugins but can not find a way to export a project as STL.

When I attempt to export a project it only has translators for Wavefront, POV and VRML. There is no STL. This is consistent with the contents of the Translators.jar in Plugins.

Is there a separate plugin I need to download to allow me to export an object as STL or am I missing something?

Regards, Ross
Re: Help Running Reprap.jar
June 28, 2008 11:25AM
I was at the AoI sight today and is said that .stl export was 'via a plugin' and that the other formats were supported by the base system.

It looks like the plug-in is here:

[aoisp.sourceforge.net]

Ross Wrote:
-------------------------------------------------------
> Is there a separate plugin I need to download to
> allow me to export an object as STL or am I
> missing something?
Sorry, only registered users may post in this forum.

Click here to login