Is it possible to run a .lua file, or a .jar file?

"That's a feature of the operating system, not the Arduino; the OS doesn't give serial devices access to the API to launch programs."

That's why I'd launch it through a .lua file with the code that I showed using os.execute from the arduinio... Technically I want something to trigger the .lua file to make it execute.