runtime.exec - Launch url on Java by command line -


i have issue code . please me review :

runtime.getruntime().exec("cmd.exe /c start chrome " + url); 

this code ok if launch url not contain parameter, put parameter url,the link not work , dont see parameter on url. thanks

use this:

desktop.getdesktop.browse(uri); 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -