There is no classpath in AS7, everything is in a module.
May I suggest this:
The UDF Jar file can be included in the classpath at runtime, by including it in the VDB archive, under the lib directory (ex: {projectName}/lib/{UDF Jar} ).