My question is this. I know java programs are good for cross platform
applications...I am no Java Programmer, but I do have a question...say
I have a java app that uses one of the new features in Java 6...I
minimize the app to the system tray or set a registry entry to allow
the program to launch on startup...will that cause the program to fail
when being used on a Mac OS? or will it still run? Dont have access
to a Mac so I cant test it...just curious.
> My question is this. I know java programs are good for cross platform
> applications...I am no Java Programmer, but I do have a question...say
[quoted text clipped - 3 lines]
> when being used on a Mac OS? or will it still run? Dont have access
> to a Mac so I cant test it...just curious.
In Java you do not access Windows Registry the way you would do it in a
native app. Java comes with a Preferences API that can be used to store
settings. This Preferences API hide the actual location of the
parameters. Therefore, from within your program you won't know if the
actual values are being stored in Registry or a file somewhere.
As far as starting programs at startup is concerned, you do that at the
time of installation. If you use a well known installer like
InstallAnywhere, it should take care of this problem.
If you do not want to use an installer, you will have to manually write
scripts to launch your program at startup - batch files on Windows and
shell scripts for MacOS, Linux/Unix that will install your program in
the correct location.