unknown option: '-cpp' scala [ | -howtorun:how ]... [ ] 's are as for scalac; see scalac -help. , if present, is an object or script file to run. If no is present, run an interactive interpreter. -howtorun allows explicitly specifying how to run : script: it is a script file object: it is an object name guess: (the default) try to guess 3: 1: test 1 passed (1) 3: 2: 1: test 1 passed (1) 3: 1: test 2 passed (1) 3: 2: 1: test 2 passed (1) 3: 1: test 3 passed (1) 3: 2: 1: test 3 passed (1) 3: 1: test 4 passed (2) 3: 2: 1: test 4 passed (2)