Results 1 to 3 of 3
  1. #1
    jeebus4k is offline Member
    Join Date
    Mar 2011
    Posts
    1
    Rep Power
    0

    Default 3 Questions from a JAVA newbie

    Hi,

    Just started coding in Java, I have a lot of experience in VB. I really really would appreciate if someone can point me towards the right direction !

    I am developing a simple application which should be able to run in Windows (xp, Vista, 7.. 32 & 64 bit) and on mac too.

    Here are a few question I have :-

    1) Do I need to make multiple versions for each windows(xp, Vista, 7.. 32 & 64 bit ) & Mac ?

    2) How do we make changes to registry any inbuilt in java ?

    3) Make the application auto Updating

    Any help is appreciated !

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    1. no, java uses the jvm, so if the other system has a jvm the code will run on any platform(java is generally cross-platform) and a bit thing they used to tout was "write once, run anywhere" (or something similar to that)

    2. I am not quite sure what you are asking, this might be a bit more than I know.

    3. what do you mean auto updating?

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by jeebus4k View Post
    1) Do I need to make multiple versions for each windows(xp, Vista, 7.. 32 & 64 bit ) & Mac ?
    Have you ever heard that "Write once, runs anywhere ...". That means Java is platform independent. In simple words you can run the same application on any OS. (But keep in mind that depends on the implementation too: refer my comments below)

    Quote Originally Posted by jeebus4k View Post
    2) How do we make changes to registry any inbuilt in java ?
    Registry is Windows specific, not in UNIX or Mac. Still you can read the registry with Java, and there are many way to do that. But those applications cannot run on UNIX or Mac. So in such case best practice is to maintain your own configuration file. May be a simple text file.

    Quote Originally Posted by jeebus4k View Post
    3) Make the application auto Updating
    Auto updating sense your application must look at a repository (a server may be) for new versions. You can download the newer version and replace it with the existing. If you could provide more details we can comment more.

Similar Threads

  1. Newbie Questions
    By physalis123 in forum New To Java
    Replies: 6
    Last Post: 02-22-2011, 04:17 AM
  2. Several newbie questions, applet help mostly
    By gymangel812 in forum New To Java
    Replies: 4
    Last Post: 02-16-2010, 02:00 AM
  3. Couple of newbie questions
    By ananasman in forum New To Java
    Replies: 11
    Last Post: 11-20-2008, 11:54 PM
  4. Some newbie questions about shortcuts
    By nefigah in forum Eclipse
    Replies: 2
    Last Post: 07-29-2008, 08:25 AM
  5. Newbie with questions
    By buzzdsm in forum New To Java
    Replies: 14
    Last Post: 06-05-2008, 04:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •