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

java: line 0: /run.sh: not found #8

Open
SahilAnower opened this issue Feb 2, 2024 · 1 comment
Open

java: line 0: /run.sh: not found #8

SahilAnower opened this issue Feb 2, 2024 · 1 comment

Comments

@SahilAnower
Copy link

Whenever I am running docker run with all details, it is giving me this error, whether in the application, when submitting new problem, or directly running as a command inside terminal.

Can you help me out in this?

@meetpatel0963

@SahilAnower
Copy link
Author

docker run --rm -v="C:\Users\sahil\OneDrive\Desktop\node-projects\Online-judge\judge\submissions\65bd6371ed6e2357f4b014ad\solution.java":/solution.java -v="C:\Users\sahil\OneDrive\Desktop\node-projects\Online-judge\judge\submissions\65bd6371ed6e2357f4b014ad\testcase.txt":/testcase.txt -v="C:\Users\sahil\OneDrive\Desktop\node-projects\Online-judge\judge\submissions\65bd6371ed6e2357f4b014ad\output.txt":/output.txt -v="C:\Users\sahil\OneDrive\Desktop\node-projects\Online-judge\judge\submissions\65bd6371ed6e2357f4b014ad\timeMemory.txt":/timeMemory.txt online-judge java ./output.txt ./timeMemory.txt 1 100
./run.sh: line 53: : No such file or directory
./run.sh: line 72: : No such file or directory
./run.sh: line 73: : No such file or directory

Even after using linux changes inside docker, it is giving still error as it couldn't find $1, $2, $3, $4 inside run.sh. Any ideas?

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

1 participant