donadigo / appeditor

Edit application menu
GNU General Public License v3.0
207 stars 25 forks source link

Executing a java file #98

Open diego-rapoport opened 4 years ago

diego-rapoport commented 4 years ago

I'm trying to do: java - jar ~/brModelo.java inside the command line, but it just won't run. Using the command on the terminal works just fine.

AceXare commented 2 years ago

I'm using this also and it works for me (built from source). Maybe it's the space between "-" and "jar"?

Edit: I maybe should add, that I changed the working directory to the folder where it is inside and the command just contains the name of the JAR-file, like this:

Command Line: java -jar leFile.jar Working Directory: /home/akin/.local/share/leFileDir