Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to add stuff to the classpath when running things in groovysh or groovy?



How to add stuff to the classpath when running things in groovysh or groovy?..

Answer / 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

More Apache Groovy Interview Questions

What is groovy?

1 Answers  


What is the limitation of groovy?

1 Answers  


What does the jsonslurper class indicates?

1 Answers  


Explain how you can query in groovy?

1 Answers  


What are some features does groovy jdk offers?

1 Answers  


How to add stuff to the classpath when running things in groovysh or groovy?

1 Answers  


Explain the role of grape dependency in groovy?

1 Answers  


What relational operators is used for in groovy?

1 Answers  


Explain what are bitwise operators in groovy?

1 Answers  


What is the closures in groovy?

1 Answers  


What command is used to refresh dependencies?

1 Answers  


What do you understand by groovy?

1 Answers  


Categories