my plan is to include an executable binary (.exe in this case) in my Java modules .nbm file. This exe should then be run and generate some output. The best way I can think of would be to somehow bundle the .exe without putting it into the .jar, and telling Autopsy to extract it in some folder where the plugin can access the .exe.
The best way I already figured out would be to pack the .exe in the jar, get a stream for the file and write the executable to a module directory on the first run. Since this feels like a hack I want to know, if there are other possibilities. I already looked at the source for the plaso module but from what I see, the plaso binaries get embedded into Autopsy and not a stand-alone module.