Let\'s say I\'ve compiled a Groovy script using Groovyc, which has generated one or more .class files in the file system. From a Java application, how do I add those classes
You need to write your own classloader.
This javadoc link has an example of how you can define a custom one.