🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18083

Launching a file via the "appropriate" app

#18083
From: Eric The Fish
Date: Tue, 18 Aug 1998 00:00
11 lines
1084 bytes
Is there a way to make a java application launch a file via the appropriate
application? In other words, say the file in question happens to be an html
file, I'd like to just say to the platform, go open this file and have it
launch Netscape or IE or whatever is installled to handle this file type.

And especially, is there a way to do this while remaining platform
independent? I know how to do this through the Windows API, but I suppose if
other OS's don't support this functionality, I may be stuck forcing the user
to configure "help apps" inside my application (yuck!)

Eric Schwarzenbach
Technical Details
Message-ID: <6rdelr$q1l7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5596da218c4d6a31,start
X-Google-Attributes: gidf74b3,public
From: "Eric The Fish" <rogNOSPAAMserpent@aol.com>
Subject: Launching a file via the "appropriate" app
Date: 1998/08/18
Message-ID: <6rdelr$q1l7@forums.borland.com>
X-Deja-AN: 382508715
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language