Answer the question
In order to leave comments, you need to log in
How to run a java program in a function?
Good afternoon, I started to study bash and ran into a problem, calling a function with the launch of a java program, I get an error "Unable to access jarfile" in the console (I know what it means). The function itself:
start ()
{
java -jar NetServer.jar
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question