Get installed app  
Author Message
Eran.Yasso





PostPosted: 2005-9-15 1:31:00 Top

java-programmer, Get installed app Hi,

I want to write an app but I'm not sure if I should use Java.
The app is a crossed platform.
My questions:
1.Can Java return me the name/position of install app on the OS it
supports?
2. Does Java supports the following OS:
Unix/GTK+ , Unix/Motif and X11 , Mac OS , MGL and OS/2 ?

TIA.
Eran

 
jan V





PostPosted: 2005-9-15 2:26:00 Top

java-programmer >> Get installed app > 2. Does Java supports the following OS:
> Unix/GTK+ , Unix/Motif and X11 , Mac OS , MGL and OS/2 ?

OS/2 ? Is your boss telling you your app has to support this?

MGL? What's that?

The Java platform runs on all modern OSes... UNIX/Win32/Mac, and plenty
more. Full list can be found on Sun's Java website java.sun.com.


 
Joan





PostPosted: 2005-9-15 3:11:00 Top

java-programmer >> Get installed app
<email***@***.com> wrote in message
news:email***@***.com...
> Hi,
>
> I want to write an app but I'm not sure if I should use Java.
> The app is a crossed platform.
> My questions:
> 1.Can Java return me the name/position of install app on the OS
> it
> supports?
> 2. Does Java supports the following OS:
> Unix/GTK+ , Unix/Motif and X11 , Mac OS , MGL and OS/2 ?

OS/2 is officially been placed in the dust bin. Don't use it if
at all possible.
What do you mean by "position of install app?" The swap buffer?
The memory location?
Probably the memory is virtual.

>
> TIA.
> Eran
>

 
 
Roedy Green





PostPosted: 2005-9-15 3:29:00 Top

java-programmer >> Get installed app On 14 Sep 2005 10:30:46 -0700, email***@***.com wrote or quoted :

>I want to write an app but I'm not sure if I should use Java.
>The app is a crossed platform.
>My questions:
>1.Can Java return me the name/position of install app on the OS it
>supports?
There is no such thing as install app. You install Java apps just
copying a jar file or downloading it. In Java Webstart you might write
an "install" class that runs the first time the program is used.

You can use traditional installers that install the app plus the Java
runtime.

>2. Does Java supports the following OS:
>Unix/GTK+ , Unix/Motif and X11 , Mac OS , MGL and OS/2 ?

It may sound like a play on words, but Java supports everything. The
question is, what supports Java? Sun directly provides Java support
for Java 1.5 on Solaris, Windows, Linux. There are 32 bit and 64 bit
versions.

Apple provides support for Mac OS.

IBM proves support for up to Java 1.3 for OS/2.

HP provides support for up to Java 1.4 for Unix-Motif and X11.

I have never heard of MGL. Try googling "Java MGL"
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
 
 
Eran.Yasso





PostPosted: 2005-9-15 4:08:00 Top

java-programmer >> Get installed app
Joan wrote:
> <email***@***.com> wrote in message
> news:email***@***.com...
> > Hi,
> >
> > I want to write an app but I'm not sure if I should use Java.
> > The app is a crossed platform.
> > My questions:
> > 1.Can Java return me the name/position of install app on the OS
> > it
> > supports?
> > 2. Does Java supports the following OS:
> > Unix/GTK+ , Unix/Motif and X11 , Mac OS , MGL and OS/2 ?
>
> OS/2 is officially been placed in the dust bin. Don't use it if
> at all possible.
> What do you mean by "position of install app?" The swap buffer?
> The memory location?
> Probably the memory is virtual.
>
> >
> > TIA.
> > Eran
> >

By saying "position of install app?", I want to know if there's an API
in Java which returns all the applications user installed on his/her
machine. I'm not refering only to WinNT.

 
 
Roedy Green





PostPosted: 2005-9-15 5:00:00 Top

java-programmer >> Get installed app On 14 Sep 2005 13:07:49 -0700, email***@***.com wrote or quoted :

>By saying "position of install app?", I want to know if there's an API
>in Java which returns all the applications user installed on his/her
>machine. I'm not refering only to WinNT.

On Windows it is sort of recorded in the registry but what a mess! It
would be very difficult to extract say the name of each app and the
main executable. Not all apps are recorded there.

You could scan the disk looking for exe and com files but that would
include all kinds of things you would never recognise.

On Linux you have various ways of installing programs so no easy way
of generating a list.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
 
 
Oliver Wong





PostPosted: 2005-9-15 5:27:00 Top

java-programmer >> Get installed app
"Roedy Green" <email***@***.com> wrote in message
news:email***@***.com...
> On 14 Sep 2005 13:07:49 -0700, email***@***.com wrote or quoted :
>
>>By saying "position of install app?", I want to know if there's an API
>>in Java which returns all the applications user installed on his/her
>>machine. I'm not refering only to WinNT.

[snip]

> On Linux you have various ways of installing programs so no easy way
> of generating a list.

More generally, Linux allows you to mark script files as executable,
thus blurring the difference between a program and a data file. Depending on
your definition of "installed", a script file might be "installed", but NOT
marked as executable. And given that no one knows every single scripting
language in existence, it's impossible to determine for sure whether a given
file is a program or not.

In other words, what the OP wants to do is probably not possible in
theory, and probably not feasible in practice, regardless of what
programming language is used.

- Oliver


 
 
Eran.Yasso





PostPosted: 2005-9-15 15:02:00 Top

java-programmer >> Get installed app I see.

Thanks for your help guys.