I am using RStudio on Windows.
system2("java C:/myClass", args = as.character(myVector))
Warning message:
running command '"java C:/myClass" 1 1 1' had status 127
From my understanding, this should mean that the command prompt is not able to recognise my call to a Java class file (which, however, should work).
How to solve this problem? Thanks!