eclipse - Have a jar executable, (packaged with external libraries), how would I implement it on a server that doesn't have Java/JRE -
the server in question windows server, , plan run program batch file on command line. however, server not have java installed, there way me package jre(or whatever java needs run program) jar file? need applications/programs on server?
extra info: packaged jar file using eclipse, has around 3 external libraries, , works fine on computer (that has java installed).
thanks!
you can distribute jre jar cannot pack jre jar. should take care of execution script set appropriate environment variables , start jar after that.
below possible structure of distribution pack:
-- app folder | +-- jre folder | | | +-- bin | | | +-- etc.. |-- jar |-- execution script (e.g. start.bat)
Comments
Post a Comment