Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Rep Power

    Default How to read registry data

    Plz help me in finding How to read a registry entry using java

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power


    First of all, registry is windows specific. Accessing such a location only bind your application to Windows platform. Best solution in such a case is *.ini file, or an XML file.

    If you still want to do this, Preferences class is the solution. Read about Preferences class in Java API, you can find the solution yourself.

    Preferences (Java 2 Platform SE v1.4.2)

Similar Threads

  1. Need a solution to read and store data from a file
    By sheetalnri in forum New To Java
    Replies: 10
    Last Post: 09-30-2010, 06:43 AM
  2. Replies: 1
    Last Post: 04-06-2009, 05:06 AM
  3. Unable to read data from inputstream
    By renuka_anil in forum Java Servlet
    Replies: 0
    Last Post: 01-29-2009, 03:20 PM
  4. Data files - how to read random line?
    By Exhonour in forum New To Java
    Replies: 4
    Last Post: 01-20-2009, 08:28 PM
  5. How to read data from excel and store it in db
    By saran123 in forum New To Java
    Replies: 5
    Last Post: 10-03-2008, 10:19 AM

Posting Permissions

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