Welcome! Log In Create A New Profile

Advanced

ReplicatorG17 looks nice Cant get it to run thou;-(

Posted by BodgeIt 
ReplicatorG17 looks nice Cant get it to run thou;-(
July 05, 2010 04:14PM
Has any one out there tried ReplicatorG17.. the fully intergrated sulution?

So I downloaded ReplicatorG17-R2 JVM Launcher comes up with the message "it cant find the Main Class."

Originally this was solved by editing the batch file used to start replicatorG.
However ReplicatorG hasnt had this batch file since V007 !

Windows XP is run from Drive D on my machine any suggestions how to Fix this Java Error.

Arduino 16,17 & 18 all run OK but ReplicatorG fails to find the main Class.?
This is the exception i get when running it from the command line;

Exception in thread "main" java.lang.NoClassDefFoundError: d:\replicatororg-0017\ReplicatorG/exe
Caused by: java.lang.ClassNotFoundException: d:\replicatororg-0017\ReplicatorG.exe
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)
Could not find the main class: d:\replicatororg-0017\ReplicatorG.exe. Program will exit.

Edited 1 time(s). Last edit at 07/06/2010 06:43AM by BodgeIt.


Bodge It [reprap.org]
=======================================

BIQ Sanguinololu SD LCD board BIQ Stepcon BIQ Opto Endstop
BIQ Heater Block PCB BIQ Extruder Peek clamp replacement BIQ Huxley Seedling
BIQ Sanguinololu mounting BIQ standalone Sanguinololu or Ramps mounting Print It Stick It Cut it


My rep strap: [repstrapbertha.blogspot.com]

Buy the bits from B&Q pipestrap [diyrepstrap.blogspot.com]
How to Build a Darwin without any Rep Rap Parts [repstrapdarwin.blogspot.com]
Web Site [www.takeaway3dtech.com]
Re: ReplicatorG17 looks nice Cant get it to run thou;-( with Solution ;-)
July 06, 2010 04:43PM
Solution to the problem find a copy of the old depreciated bat file add two more paths and hey presto working replicatorG batch file listed below.

@echo off

REM - if you're running out of memory, change the 128m
REM - (which means 128 megabytes) to something higher.

set SAVEDCP=%CLASSPATH%
set SAVEDPATH=%PATH%
set JAVA_HOME="C:\Program Files\java\bin"

if %JAVA_HOME% == "" GOTO Error

set CLASSPATH=java\lib\rt.jar;lib;lib\build;lib\vecmath.jar;lib\j3dcore.jar;lib\j3dutils.jar;lib\replicatorg.jar;lib\antlr.jar;lib\RXTXcomm.jar;lib\miglayout-3.7.jar;lib\oro.jar;lib\registry.jar;lib\mrj.jar
set PATH=java\bin;java\lib;%PATH%

REM start javaw -ms128m -mx128m replicatorg.app.Base
%JAVA_HOME%\java replicatorg.app.Base

set CLASSPATH=%SAVEDCP%
set PATH=%SAVEDPATH%

GOTO End

:Error
echo * Error: cannot execute ReplicatorG
echo * Reason: lacking the directory where to find Java in your computer
echo *
echo * Fix: Edit run.bat and add the JAVA_HOME directory
echo * at the 'set JAVA_HOME=""' line
echo *
echo *** then call the batch file run.bat in order to execute ReplicatorG

:End
Pause
echo Bye.


Bodge It [reprap.org]
=======================================

BIQ Sanguinololu SD LCD board BIQ Stepcon BIQ Opto Endstop
BIQ Heater Block PCB BIQ Extruder Peek clamp replacement BIQ Huxley Seedling
BIQ Sanguinololu mounting BIQ standalone Sanguinololu or Ramps mounting Print It Stick It Cut it


My rep strap: [repstrapbertha.blogspot.com]

Buy the bits from B&Q pipestrap [diyrepstrap.blogspot.com]
How to Build a Darwin without any Rep Rap Parts [repstrapdarwin.blogspot.com]
Web Site [www.takeaway3dtech.com]
Re: ReplicatorG17 looks nice Cant get it to run thou;-(
July 07, 2010 01:48AM
I have come accross the similer problem with running the embeded Skeinforge in ReplicatorG17 where Skeinforge/ReplicatorG17 reports that it cant find Python.
My Python was installed on C:\python so I have removed it and reinstalled it as C:\Progam files\python.
I added a path statement in the batch file as well.

Unfortunatly Skeinforge in ReplicatorG17 still will not recognize Python..I'm Still using ReplicatorG17-R2.

Any Ideas as to how to get the enviroment variables corect to enable Skeinforge/ReplicatorG17 to find Python.

please reply


Bodge It [reprap.org]
=======================================

BIQ Sanguinololu SD LCD board BIQ Stepcon BIQ Opto Endstop
BIQ Heater Block PCB BIQ Extruder Peek clamp replacement BIQ Huxley Seedling
BIQ Sanguinololu mounting BIQ standalone Sanguinololu or Ramps mounting Print It Stick It Cut it


My rep strap: [repstrapbertha.blogspot.com]

Buy the bits from B&Q pipestrap [diyrepstrap.blogspot.com]
How to Build a Darwin without any Rep Rap Parts [repstrapdarwin.blogspot.com]
Web Site [www.takeaway3dtech.com]
Sorry, only registered users may post in this forum.

Click here to login