Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

jar compatibility

Thread view: 
JediKnight2 - 01 Feb 2007 14:44 GMT
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.
Juan Singh - 01 Feb 2007 15:02 GMT
> 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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.