Bug #3083
closed
Need sample CommandLine workflows for Windows
Added by Dan Higgins almost 17 years ago.
Updated almost 17 years ago.
Description
We need some simple examples of how to use the CommandLine actors especially for Windows systems. These should be in the Demos directory. They should be annotated so that typical non-programmer can understand how to use commandline applications to launch external applications within Kepler.
Dan Higgins - Jan 2008
Two new example CommandLine workflows added to $KEPLER/demos/getting-started.
I'm having trouble getting the CommandLine1 workflow to run on my PC/the latest nightly build (20081323). The workflow executes, and a display window opens, but it has no content. When I try to run HelloWorld from the command line, I get the following error: Exception in thread "main" java.lang.NoClassdefFound Error: HelloWorld.
Works for me under Windows and MacOSX
Discovered the the problem could be reproduced when kepler was launched from kepler.bat or kepler.sh. Using the command 'java -cp ./ HelloWorld solved the problem!
I suspect there is subtle issue of how env variable are inherited by subprocesses. it now seems to work OK with the classpath explicitly set in the commandLine string
Original Bugzilla ID was 3083
Also available in: Atom
PDF