I have a .jar file and I would like it to run like a unix/Mac OS X executable so that it can be placed in /usr/local/bin and I can run it from terminal as I would run any other command written in c. I do not want a .app I just want a simple command line tool that I can run in terminal without using the java command, since it isn't practical for releasing my tool.
Asked
Active
Viewed 96 times
1 Answers
0
You will want to create a wrapper class in c++ that will call the java program.
run jar file from c++
Using JNI to execute a java jar from a C++ program, using g++ or eclipse

Community
- 1
- 1

TheBetaProgrammer
- 104
- 5