开发者

how to run .jar file in micro?

I have a .jar file to convert Excel into XML format. I want to have a button on the spreadsheet, when user click it, it will call. ja开发者_Go百科r to convert the spreasheet. tried to use:

Shell ("C:\Program Files\Java\jre6\bin\java -jar XMLGenerator.jar")

it is not working, does anyone know how to do this?

thanks.


I think you should pass the file as a parameter of your program, like this:

"C:\Program Files\Java\jre6\bin\java -jar XMLGenerator.jar yourFile.xls"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜