For windows, you can get this in the form from the registry:
Get this information from java.
1) create a browsers.bat batch file with the following script.
echo Browsers> browser.txt for / f "skip = 4 delims =" %% A in ('reg query "HKEY_LOCAL_MACHINE \ SOFTWARE \ Clients \ StartMenuInternet" 2 ^> nul') do (echo %% ~ nA 1 β browser. txt) output
2) Call the batch file from java using the following command. The process p = Runtime.getRuntime (). Exec ("cmd / c start browsers.bat", null, new file ("C: \ Users \ batch-file-path"));
This will save all available browsers in the browsers.txt file.
source share