Exe binary file, producing a result similar to the one explained in this tutorial. In the case your are a Windows guy, obviously this will not work (except you will run a Linux compatibility layer like Cygwin).Īnyway exist tools that are able to wrap a Java application into a native Windows. Then, grep will look for 'executable' string in the output of this command (it should be something like ELF 32-bit LSB executable. The script is smart enough to pass any command line parameters to the Java application transparently. To do this, you could run something like: This will recursively find all regular files and call file command on them. Now you can execute the app just typing n on your shell terminal. Than append the jar file to the saved script and grant the execute permission to the file resulting with the following command: cat stub.sh helloworld.jar > n & chmod +x n
0 Comments
|
AuthorKelly ArchivesCategories |