You try to compile a Java program with a javac command. You get this error:
What should you do?
In some cases you need a keyword "new", but in other cases you need to not have the keyword "new".
Are you using the word "new" to the right of an equals sign "="? For example, does the offending line in your Java program look like this?
String  var1 = new foo();