I am just starting on rapid miner and i wanted to understand how a Rapid Miner process can be run from the command line.

I have searched this forum for possible resolutions to my problem but i unfortunately couldn't find an answer.

Here is what i am doing:

Step1: I have created a very basic process (correlation analysis) in the rapid miner 5.3.013 edition. This output of the process is an "xls" file generated from the "write excel" operator. I am saving this file as "Test.xls" on a path in my local desktop - "C:\Test RM"

Step 2: Open the Command Prompt and move to the directory where rapidminer.bat is located.

Result: If i run the process directly from Rapid Miner, i can see the file being generated in the local folder, but if i run this from the command prompt using the above process, it looks like the Rapid Miner process doesn't run.

Error:

RAPIDMINER_HOME is not set. Trying the directory 'C:\Program Files\Rapid-I\RapidMiner5\scripts\..'...Using local jre: C:\Program Files\Rapid-I\RapidMiner5\scripts\..\jre\bin\java.exe...Starting RapidMiner from 'C:\Program Files\Rapid-I\RapidMiner5\scripts\..' using classes from 'C:\Program Files\Rapid-I\RapidMiner5\scripts\..\lib\rapidminer.jar'...

Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file)where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available -server to select the "server" VM -hotspot is a synonym for the "server" VM [deprecated] The default VM is server.

I was doing some more research on the error and it appears that some java files are missing or not loaded. I actually don't have a background on Java and the only software i am using is the Rapid Miner 5.3.013 version, so i am not really sure where to make the changes.

to execute a RapidMiner process you simply need to pass the repository location of the process. RapidMiner internally uses repositories to work on, not the file system (though the standard repository of course is backed by the file system). So to simply start a RapidMiner process, you can start RapidMiner like this:

Code:

RapidMiner.bat "//Local Repository/yourSubfolder/yourProcess"

This would start the process named "yourProcess" in RapidMiner which is in a subfolder called "yourSubfolder" of the repository "Local Repository".In your specific case, it probably is