How to add stuff to the classpath when running things in groovysh or groovy?
Answer Posted / Gyanendra Kumar Mishra
To add items to the classpath when running Groovy, you can use the `-classpath` option followed by a list of directories or JAR files. For example: `groovy -classpath /path/to/myjar.jar MyClass`.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category