Project

Profile

Help

Extention Question

Added by Anonymous almost 15 years ago

Legacy ID: #7896184 Legacy Poster: pvallone (pvallone)

Hi, I am using Saxon 9.0.1.7 embedded. I have an extension which calls a.class file. when running from the command line, I would just add it to the call path, but this is not working from my embedded application. C:\temp\test>java -cp C:\sandbox\saxonb9-1-0-7j\classes -jar test.jar Do I need to configure anything in my code? Thanks Phil


Replies (2)

RE: Extention Question - Added by Anonymous almost 15 years ago

Legacy ID: #7896229 Legacy Poster: Michael Kay (mhkay)

If you use the -jar option on the command line, then the -cp option is ignored. Use -cp with all the JAR files listed, and name the entry point to the application.

RE: Extention Question - Added by Anonymous almost 15 years ago

Legacy ID: #7896783 Legacy Poster: pvallone (pvallone)

Thanks...

    (1-2/2)

    Please register to reply