Results 1 to 1 of 1
  1. #1
    BPDlkeme is offline Member
    Join Date
    Nov 2012
    Location
    Dublin, Ireland
    Posts
    1
    Rep Power
    0

    Default system.out.println problem, fairly standard but having problems

    Hi folks, dont know how this wrks, but here is code gettin all sorts of errors, mostly 398 etc
    public class ReportGenerator {

    String value = WinRegistry.readString (
    WinRegistry.HKEY_LOCAL_MACHINE, //HKEY
    "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", //Key
    "ProductName"); //ValueName
    System.out.println(value);
    }

    This one is a potential goldmine if I could get it to work!
    Last edited by BPDlkeme; 11-17-2012 at 03:44 PM.

Similar Threads

  1. Replies: 8
    Last Post: 06-21-2011, 02:21 PM
  2. System.out.println problem
    By luke in forum New To Java
    Replies: 5
    Last Post: 10-05-2010, 07:45 PM
  3. Finding mean and Standard Dev - fairly simple
    By Adomini in forum New To Java
    Replies: 14
    Last Post: 08-31-2010, 12:51 AM
  4. Println VS system.out.println
    By ccie007 in forum New To Java
    Replies: 2
    Last Post: 05-20-2010, 08:52 AM
  5. difference between system.out.println() & out.println()
    By wickedrahul9 in forum Advanced Java
    Replies: 5
    Last Post: 10-18-2008, 11:06 PM

Posting Permissions

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