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.


>> REGISTER NOW TO START POSTING


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
    Posts
    5
    My Mood
    Confused
    Thanks
    0
    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

    Andy


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 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
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    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, 12:12 PM
  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, 03: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