1 Reply Latest reply on Mar 12, 2009 6:33 AM by [Jongware]

    How to execure a jar file from INdd CS3 Java script

      Hi,

      I use "File(sample.jar).execute() " any alternate way is Available??

      Thanks in advance.
        • 1. Re: How to execure a jar file from INdd CS3 Java script
          [Jongware] Most Valuable Participant
          JAR files == Java

          b Java != JavaScript

          It seems your sample -- WITH added quotes! --

          >File("sample.jar").execute()

          merely hands over the file to the OS; i.e.,

          >File("C:\\Temp\\test.pdf").execute();

          opens the PDF file in my current PDF viewer.

          So, your jar file is executed by your Java installation, without JavaScript knowing anything about it.

          Java has nothing in common with JavaScript. Nothing.