I want to ask on how exactly the java updates are done.
I mean, ok they are done automatically, but which part/how exactly does this process happen?
To give a specific example why I am asking this:
I have a java project that has as part of it, the specific jre that it needs and uses that at runtime so that there is no expectation of what Java is installed in the system, if it is installed etc.
The project’s jre is part of the project’s deployment i.e. not under C:\Program Files\jre for instance.
I am starting to wonder if in this case the update process will work i.e. the project’s jre will actually be updated by the java scheduler (?) or what is that does the update or not.
So will it happen automatically or this is something I have to take into consideration??
Any input is highly welcome
UPDATE:
I do not want to avoid the update!!!
I am interested to know if in my case the automatic update will actually happen or there is a configuration needed specifically for my case
Thank you
How do you plan to install the application? Don’t you need the native JRE to install your own JRE and your java application? It sounds like a chicken and egg scenario.
No, the automatic JRE update (if that’s how it’s set on that client machine) should not impact your application. I am assuming you are launching the JVM with hard coded path to your self packaged JRE.
The regular client JRE updates will happen automatically if that’s how it’s set up on the machine. You will not need to worry about it unless your application interacts with the browsers (or other system applications that utilizes native JRE) since they will by default use the system/OS JRE and not your packaged ones. Your packaged JRE will obviously stay at the same version unless you update it with your application updates.
I am not sure why you are packaging the JRE with your distribution. Most machines now a days have JRE pre-installed. Perhaps you can explain your application scenario to us. Also this contradicts the principles of platform independence.