Share via


Silently install Jar file

Question

Friday, December 30, 2016 10:40 AM

I have a jar file to run silently
:its giving a GUI prompt when I run : java -jar "File-v7-setup.jar.jar"

To make it silent :command I used

java -jar "File-v7-setup.jar" -s

its giving error message

All replies (4)

Friday, December 30, 2016 12:33 PM

Hello

What application are you trying to deploy?  If the vendor does not provide a way to deploy it silently with their installer (very rare), you might have to repackage the application into a custom installation package.

If you actually have to repackage it, there are many high quality commercial repackaging tools like InstallShield, Wise, and Advanced Installer.  The only free repackager I know of is the one from App Deploy:

http://www.appdeploy.com/tools/repackager/

I hope that helps!

Regards, Regin Ravi


Friday, December 30, 2016 6:04 PM | 1 vote

- what has this to do with Windows 10?


Saturday, December 31, 2016 4:44 AM

Do u guys know any Recording method which creates a response file for my application , & using that response file I can Install the jar file

My application will run on top of JRE . i installed this


Monday, January 2, 2017 5:41 AM

Hi ,

As your question is mainly related to Oracle Java, you'd better ask Oracle Java support for help. They are the best resource to help you. Here is a reference article I found from Oracle Java website for you, hope it is helpful. You can refer to it to create a response file, please check it.
Using the Oracle Universal Installer in Silent Mode
https://docs.oracle.com/middleware/1212/core/OUIRF/silent.htm#OUIRF323
NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].