-
Sub-task
-
Resolution: Duplicate
-
P3
-
None
-
None
-
windows
There is need to implement application that allows to get information about installed JFX and remove them. It should be like the JavaScrub-NoAdmin.exe application (or fix JavaScrub-NoAdmin.exe to supprot JavaFX) and support the following command:
1. Get version
command: app.exe -version
2. Get list separated by space of installed JFX versions
command: app.exe -showversions
Example version formats (in respect to JRE):
* 1.5.0:32 -> J2SE RuntimeEnvironment 5.0
* 1.6.0:64 -> Java(TM) Runtime Environment 6 (64-bit)
* 1.6.0_02 -> Java(TM) 6 Update 2
* 1.7.0 -> Java (TM) 7
Example output (in respect to JRE):
1.7.0_07:32 1.8.0:32
3. Remove installed JFX versions and return the results of uninstallation in console
command: app.exe -removeX <JFX versions>
Example command (in respect to JRE):
app.exe -removeX 1.6.0_37:32 1.7.0_07:32
Example output (in respect to JRE):
1.6.0_37:32:1605:This action is only valid for products that are currently installed.
1.7.0_07:32: 0:The operation completed successfully.
1. Get version
command: app.exe -version
2. Get list separated by space of installed JFX versions
command: app.exe -showversions
Example version formats (in respect to JRE):
* 1.5.0:32 -> J2SE RuntimeEnvironment 5.0
* 1.6.0:64 -> Java(TM) Runtime Environment 6 (64-bit)
* 1.6.0_02 -> Java(TM) 6 Update 2
* 1.7.0 -> Java (TM) 7
Example output (in respect to JRE):
1.7.0_07:32 1.8.0:32
3. Remove installed JFX versions and return the results of uninstallation in console
command: app.exe -removeX <JFX versions>
Example command (in respect to JRE):
app.exe -removeX 1.6.0_37:32 1.7.0_07:32
Example output (in respect to JRE):
1.6.0_37:32:1605:This action is only valid for products that are currently installed.
1.7.0_07:32: 0:The operation completed successfully.