reza
reza

Reputation: 6358

How to open html file in default browser in JDK 1.4

I see a lot of JDK 1.6 notes about how to open an HTML file in the default browser but none for JDK 1.4.

Does anyone have any experience with that?

Upvotes: 0

Views: 431

Answers (2)

Andrea Parodi
Andrea Parodi

Reputation: 5614

You can use same code as in version 1.6, just add a reference to JDesktop integration jar. I think (but I'm not 100% sure) this is actually the same library you get with Java 1.6, it was developed as a separate project by Sun before they include in Jdk 1.6.

Upvotes: 0

Brian Agnew
Brian Agnew

Reputation: 272317

browserlaunch2 has worked for me in the past.

Upvotes: 2

Related Questions