With my controller i am executing a JAR file like this:
pipe = IO.popen(“java -jar D:/Projets/TstSimple/lib/tstlib.jar”)
rescue Exception => e
msg = e.message
I would like to not have to specified the path of the jar file:
pipe = IO.popen(“java -jar tstlib.jar”)
Is there a directory where I can put my JAR file so rails be able to
execute the java command like this?