Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #26468

    What am I supposed to know/understand/have installed to make this work on command line?

    “Java is not a recognized as an internal or external command, operable program or batch file.”



    Answer to previous question was have java installed. But now I’m getting this error

    C:Exedxl2pdf>cd C:tmpdxl2pdf

    C:tmpdxl2pdf>java -Xmx512m -cp xml.jar;notes.jar;pd4ml_demo.jar;. Dxl2PdfE:We
    bsites_tmpbpl1454.html 800 -debug -usetmpfiles -out E:Websites_tmpbpl1454.h
    tml.pdf -xsl dxl4pd4ml.xsl
    Exception in thread “main” java.lang.NoClassDefFoundError: Dxl2PdfE:Websites_t
    Caused by: java.lang.ClassNotFoundException: Dxl2PdfE:Websites_tmpbpl1454.htm
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: Dxl2PdfE:Websites_tmpbpl1454.html. Program wi
    ll exit.

    Press any key to continue . . .


    I noticed the missing space before %1 in the batch file, the error now reads

    Exception in thread “main” java.lang.NoClassDefFoundError: Dxl2Pdf
    Caused by: java.lang.ClassNotFoundException: Dxl2Pdf
    at$ Source)


    Obviously it must be a space between Java class name and the document path:
    Dxl2Pdf E:Websites_tmpbpl1454/html
    instead of

    (as I just noticed – you resolved the problem)

    Well, Dxl2Pdf is a Java class, designated to convert Lotus Notes documents in XML form (DXL) to PDF. Is it your intention? “html” at the end of the command line makes me suspect it is not.

    If you need to convert HTML to PDF, take a look to the info:


    Thank you. Which is the correct file to download please?

    #28250 is a good choice.
    You need pd4ml_demo.jar and ss_css2.jar from it.


    Thank you that works fine!

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Deployment / Configuration issues’ is closed to new topics and replies.