Open jar files

Asked by Martin D on 2012-07-26

Is it somehow possible to use openApp to load jar files?

I tried, it tells me that it loaded the file, but nothing happened. My app uses a logging system every time it gets started. None was created when running openApp("file/to/path/file.jar").

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2012-07-26
Last query:
2012-07-26
Last reply:
2012-07-26
Best RaiMan (raimund-hocke) said : #1

a .jar cannot be opened using openApp, only "executable" applications.

you might try to use os.popen() and issue an open command or a java command to open your .jar

Martin D (martinomat) said : #2

Thanks RaiMan, that solved my question.