• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

How to start a default browser in MacOS

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

In Windows I can type

Runtime.getRuntime().exec(cmd /c start http://tw.yahoo.com");

to start a browser.I want to have a version running on MacOS.What command should

I use to start the homepage I want by the default browser?? Thx.........


[originally posted on jforum.net by wslee]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

you can ask this kind of question at http://forums.java.net !

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

wslee wrote:
In Windows I can type

Runtime.getRuntime().exec(cmd /c start http://tw.yahoo.com");

to start a browser.I want to have a version running on MacOS.What command should

I use to start the homepage I want by the default browser?? Thx.........


[originally posted on jforum.net by Anonymous]
 
reply
    Bookmark Topic Watch Topic
  • New Topic