0

Weirdest thing,

I am not sure this is a RapidMiner thing, might be jdbc/java/command-line

I am using RapidMiner 5.3 to run a program I created.

One of the parameters I pass on to the jar file is a MySQL query.

java -cp "C:/Program Files (x86)/Rapid-I/RapidMiner5/lib/rapidminer.jar" -Drapidminer.home="C:/Users/Bergkamp/.RapidMiner5/repositories/Bergkamp" com.rapidminer.RapidMinerCommandLine //Bergkamp/processes/projects/FootballProj -Mquery="SELECT a,b FROM tbl_x where a=2"

No matter what I do the program uses the query up to the first '=' operator and cuts it to be

java -cp "C:/Program Files (x86)/Rapid-I/RapidMiner5/lib/rapidminer.jar" -Drapidminer.home="C:/Users/Bergkamp/.RapidMiner5/repositories/Bergkamp" com.rapidminer.RapidMinerCommandLine //Bergkamp/processes/projects/FootballProj -Mquery="SELECT a,b FROM tbl_x where a"

Is that a known issue? Is there a solution for that?

5
  • Can you try that answer please? stackoverflow.com/questions/4940375/… Commented Sep 1, 2014 at 14:24
  • I was sure that answer will work, but it didn't. Got anything else up your sleeve? Commented Sep 1, 2014 at 15:09
  • No :(. I guess the problem is that the command line tries to handle that = as part of an argument. But I don't know how to fix that in Windows. Commented Sep 1, 2014 at 15:44
  • Escape it with a ^. Nothing to do with Java. Commented Sep 1, 2014 at 18:15
  • the ^ did not work as well. any more ideas? Commented Sep 8, 2014 at 11:00

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.