Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Opening a new browser using Runtime.getRuntime().exec(cmd); under windows

807569Jun 4 2006 — edited Jun 19 2006
Can Runtime.getRuntime().exec(cmd); open a URL in to a new browser in wondows OS or ...can we force it to any specific browser insted on OS's default browser...

It does open a new bowser under MAC but not under windows..

cmd = "'rundll32 url.dll,FileProtocolHandler"+URL (windows)

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2006
Added on Jun 4 2006
21 comments
1,259 views