0

I'm need to compile a Groovy code with a specific bootclasspath. Is there a way to specify the argument with groovyc. When I specify it the way I specify with javac, it complains about it being unrecognized.

Psycho Punch
  • 6,418
  • 9
  • 53
  • 86

1 Answers1

0

I think it's -bootclasspath, not Xbootclasspath. One thing you can try if that doesn't work is this:

set JAVA_OPTS="-bootclasspath C:\path\here"

or on Linux

export JAVA_OPTS="-bootclasspath /path/here"

Also, if you copied and pasted your example exactly as you're doing it, you are missing a space between classpath and /p in that example.

Mike Thomsen
  • 36,828
  • 10
  • 60
  • 83