Are you just trying to run from the launcher project ? You need to get a standalone runtime from the assembly, that will have the launcher and more stuff as well.
Try unzipping the assembly from : java\sca\runtime\standalone\assembly\target\assembly- 2.0-alpha2-incubating-SNAPSHOT-bin.zip And then trying to run as : java -jar {path-to-launcher.jar} target/calc.jar {add|subtract|multiply|divide} {param} {param} -- Luciano Resende http://people.apache.org/~lresende On 3/14/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]> wrote:
I'm probably missing something, but according to the readme for the core samples standalone calculator, I should be able to: java -jar {path-to-launcher.jar} target/calc.jar {add|subtract|multiply|divide} {param} {param} but when I try it I get NoClassDefFoundError as follows: C:\Devt\eclipse-311\eclipse\workspace\trunk\sca\core-samples\standalone\calculat or>java -jar c:\Devt\eclipse-311\eclipse\workspace\trunk\sca\runtime\standalone\ launcher\target\launcher- 2.0-alpha2-incubating-SNAPSHOT.jartarget\calculator.ja r add 2 3 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tuscany/ru ntime/standalone/DirectoryHelper at org.apache.tuscany.launcher.Main.main(Main.java:68) btw, notice that the calculator jar is not named calc.jar Any ideas about what else I need to specify to get this to run? Thanks