Results 1 to 2 of 2
Hey, I'm helping a friend make a .sh file for his little java program, and this is what it is:
Code:
java -classpath ./:./jars/tools.jar:./jars/nexus.jar impsoft.nexus.installer.Install
chmod a+x run.sh compile.sh
Now, ...
- 12-17-2007 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 1
Terminal Help
Hey, I'm helping a friend make a .sh file for his little java program, and this is what it is:
Now, I KNOW theres a problem here:Code:java -classpath ./:./jars/tools.jar:./jars/nexus.jar impsoft.nexus.installer.Install chmod a+x run.sh compile.sh
I guess the syntax is wrong or something?Code:./jars/nexus.jar impsoft.nexus.installer.Install
Thanks for all of you're suggestions/help!
- 12-19-2007 #2Just Joined!
- Join Date
- Jul 2007
- Location
- Middle of No Where.
- Posts
- 27
I don't see what the problem is. If you told us what the problem your having is, that would be helpful. I have a few guesses at what your problem is.
If your seeing something like this, you might need to replace './' with 'bash '.SH: Operation not Permitted
aka: "$ bash jars/nexus.jar impsoft.nexus.installer.Install
Now, I don't know the java syntax, but it looks a bit like python syntax.
If that's true, then you might replace
withjava -classpath ./:./jars/tools.jar:./jars/nexus.jar impsoft.nexus.installer.Install
Again, please post your problem.java -classpath jars/tools.jar jars/nexus.jar
impsoft.nexus.installer.install


Reply With Quote