create an object file (extension .o) for each file to bundle
create a header file declaring bundled greenstone.jar and search4j
compile the wrapper program
link, bundling the files to be bundled
add java to the header file
recompile the wrapper program
relink, bundling the files to be bundled