Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Reading the registry

  1. #1
    Junior Member
    Join Date
    Jan 2012
    My Mood
    Thanked 0 Times in 0 Posts

    Exclamation Reading the registry

    Hi, can anyone help me?

    I dont get how to read data from the registry,

    I can start a java program and know how to println data so it can be displayed as an output, but i am stuck as to how to use java to read the directories/folders found within HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\U SBSTOR

    Thanks in advance


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,274 Times in 2,245 Posts

    Default Re: Reading the registry

    I doubt java can read most contents of a registry.

    What does this question have to do with OOP?

  3. #3
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Thanked 619 Times in 561 Posts
    Blog Entries

    Default Re: Reading the registry

    Have you tried searching? This is the second or third item that came up for me: read/write to Windows Registry using Java - Stack Overflow

Similar Threads

  1. Can multiple servers share one RMI Registry?
    By vavavoom in forum What's Wrong With My Code?
    Replies: 0
    Last Post: December 2nd, 2011, 11:12 AM
  2. Does Java create the following undeletable embedded-null registry entry..?
    By thedarkness in forum Java Theory & Questions
    Replies: 2
    Last Post: November 7th, 2011, 02:48 PM
  3. Java Installation with no Registry Key?
    By ch103 in forum Java Theory & Questions
    Replies: 1
    Last Post: October 20th, 2011, 06:41 PM
  4. scanner reading
    By awan in forum Java SE APIs
    Replies: 2
    Last Post: June 18th, 2011, 11:39 AM
  5. JFM Registry error
    By mp3rara in forum AWT / Java Swing
    Replies: 4
    Last Post: April 16th, 2011, 03:51 PM