Need to download JRE from Unix Server JDK

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
aggarwalyogesh786
Posts: 12
Joined: 03 Nov 2020, 05:11

Need to download JRE from Unix Server JDK

Post by aggarwalyogesh786 »

Hi All,

I have a requirement where I need to ask OpenWebStart to download the JRE from one unix Server where the JRE will be placed. We cannot use either Local JDK in the workstation nor we can use the automatic download of JRE from the default server.

Your help will be much appreciated. !!

Andreas Ehret
Posts: 81
Joined: 25 Mar 2020, 12:21

Re: Need to download JRE from Unix Server JDK

Post by Andreas Ehret »

Just set up your custom download server as described here:
https://github.com/karakun/OpenWebStart ... oad-server

aggarwalyogesh786
Posts: 12
Joined: 03 Nov 2020, 05:11

Re: Need to download JRE from Unix Server JDK

Post by aggarwalyogesh786 »

Andreas Ehret wrote: 03 Nov 2020, 07:44 Just set up your custom download server as described here:
https://github.com/karakun/OpenWebStart ... oad-server
Hi,
Thanks for the response.

I prepared one json file (custom_server_download.json) as below.

{
"cacheTimeInMillis":5000,
"runtimes":[
{
"version":"8.0.202",
"vendor":"*",
"os":"WIN64",
"href":"http://dev-rhel6-v5integ.mycom-osi.com: ... x64.tar.gz"
}]
}


I am not sure how I can make OpenWebStart to read this file which I have created. I have placed the jre in the server itself.

Andreas Ehret
Posts: 81
Joined: 25 Mar 2020, 12:21

Re: Need to download JRE from Unix Server JDK

Post by Andreas Ehret »

First you have to put your .json to your custom download server.
Then replace the default download server URL in ITW settings (which by default points to https://download-openwebstart.com/jvms.json) with the URL that point to your custom server.

aggarwalyogesh786
Posts: 12
Joined: 03 Nov 2020, 05:11

Re: Need to download JRE from Unix Server JDK

Post by aggarwalyogesh786 »

Andreas Ehret wrote: 03 Nov 2020, 10:41 First you have to put your .json to your custom download server.
Then replace the default download server URL in ITW settings (which by default points to https://download-openwebstart.com/jvms.json) with the URL that point to your custom server.
Is there not any way that if I place this json file on the localhost (Host machine) and put something like below:
file:////C:/Users/mycom/Desktop/custom_server.json under OpenWebStart Settings JVM Manager->Settings->Default update server URL.

Stephan Classen
Posts: 232
Joined: 27 Mar 2020, 09:55

Re: Need to download JRE from Unix Server JDK

Post by Stephan Classen »

We never tried it our selves.
But please go ahead and give it a shot. The string you put into the Default update server is used to create a URL object.
So file:/// should work.

I am just never sure how many slashes it needs after file: ....

Post Reply