I'm having a problem executing a shell script in ubuntu, the script is set as executable and I enabled the execute instead of view option in Nautilus and the script does what it's meant to do which is launch a java jar, but it doesn't open the terminal and the app requires interaction from the terminal to function. How do I make it so that it runs the script from within terminal?
Also, I'm using Ubuntu 14.04 LTS and here is the script:
#!/bin/bash
java -jar example.jar
java -jar example.jar
and see what happens. If the same output is received, this might mean that's just the way the app run. Also consider checking this answer How do I run a .JAR file via the terminal