I am running Ubuntu 12.04 on my Toshiba Chromebook 2 via crouton (I'm using the xfce4 desktop enviroment so don't give me Unity fixes) and I am trying to run a .jar program through OpenJDK6. I just can't get it to work. Everytime I try it tells me it's not executable. There is no checkbox to make it executable and chmod and sudo chmod aren't working. Please help me!


If in terminal, just type java -jar /path/to/your/file.jar and you're done.

If you want to start it the graphical way, you need a *.desktop file. Look into it's documentation or at this answer. For Exec= simply use the command above.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.