0

im trying to use the following command to convert files from one format to another using a tool, but powershell gives me an error:

"C:\Program Files\Java\jre1.8.0_361\java" -cp C:\Users\yporn\Desktop\work\travel40\public\doc\weka.jar weka.clusterers.SimpleKMeans -T C:\Users\yporn\Desktop\work\travel40\public\doc\unseen.arff -l C:\Users\yporn\Desktop\work\travel40\public\doc\Tourist.model

The error is

Unexpected token '-cp' in expression or statement.
y.pornwisa
  • 11
  • 6
  • See https://stackoverflow.com/a/1674950/3156906 - basically, prefix the entire line with the “command operator” - ```&``` – mclayton Feb 05 '23 at 07:56

0 Answers0