Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing a java file #98

Open
diego-rapoport opened this issue Jul 10, 2020 · 1 comment
Open

Executing a java file #98

diego-rapoport opened this issue Jul 10, 2020 · 1 comment

Comments

@diego-rapoport
Copy link

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
Copy link

AceXare commented Dec 28, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants