I am writing an application using Java and I want to send it to the customer. But he doesn’t have Java on his computer (OS Win XP). I want to automate the installation using command shell scripting. Is it possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a
/soption in JRE installer (see here), so basically you can.However, you will have to somehow download JRE to client’s workstation. I suggest using wget for this.
However, you can also use java-to-exe wrappers – JSmooth for example can automagically download JRE for you if it is not installed.