Following command allows me to run a jnlp file located at editor site:
C:\Program Files\Java\jre1.8.0_131\bin\javaws.exe "http://applicationenvironment.com/WebStart.jnlp"
I have to access to multiple WebStart.jnlp for different applications related to different environments such as: testing, development, qualification, production etc.
I was wondering if there is a way to centralize everything through a single .bat with a dual modular approach:
The required sequence is the following:
echo Enter the application that you want to access
echo. 1: for Application 1
echo. 2: for Application 2
echo. 3 : for Application 3
echo. 4 : for Application 4
2-Second prompt based on application enter:
echo Enter the environment
echo. T: for testing (url%urltesting%)
echo. D: for development (url%urldevelopment%)
echo. Q : for qualification (%urlqualification%)
echo. P : for production (%urlproduction%)
2-execute the command based on option selected.
If dual modularization is complicated I will do it 4 bats for each application and I will be happy with a single environment modular approach.
-Application 1 have 4 environments,
-Application 2 and 3: 2 environments
-Application 4: 1 environment
If you have questions, please contact me.
Thank you for your help.