How to execute a .vbs file in a linux OS from java -
i have .vbs file makes conversion of docx file pdf type file, run .vbs java in windows. since need program running in linux based os don't know if solution work.
the .vbs , java code use project here in link: http://mydailyjava.blogspot.mx/2013/05/converting-microsoft-doc-or-docx-files.html
note: tried other solutions convert docx file pdf, these solutions (docx4j, xdocreports, jodconverter) causes loss of format in final pdf file, apis not option.
it unlikely able run mentionned programs on linux, since need:
- microsoft word installed, open word file , print it
- microsoft scripting host, execute vbs script
- a batch script interpreter can access scripting host
since these items microsoft software, don't run natively on linux.
so have find alternatives suggested vzamanillo, or maybe find way run in wine environment, that's not linux.
Comments
Post a Comment