Help to solve the static method....pls.

package readtext;
import java.io.*; // For input & output classes
import java.util.Date; // For the Date class
public class Main {
public Main() {
public static void main(String[] args)
throws IOException{
BufferedReader in = new BufferedReader(
new FileReader("C:/Documents and Settings/seng/Desktop/testfile/txt.txt"));
*use ' ' as a separator, and rearrange back the datastream column
String text;
while ((text = in.readLine()) != null)
int count = 0; // Number of substrings
char separator = ' '; // Substring separator
// Determine the number of substrings
int index = 0;
do
++count; // Increment count of substrings
++index; // Move past last position
index = text.indexOf(separator, index);
while (index != -1);
// Extract the substring into an array
String[] subStr = new String[count]; // Allocate for substrings
index = 0; // Substring start index
int endIndex = 0; // Substring end index
for(int i = 0; i < count; i++)
endIndex = text.indexOf(separator,index); // Find next separator
if(endIndex == -1) // If it is not found
subStr[i] = text.substring(index); // extract to the end
else // otherwise
subStr[i] = text.substring(index, endIndex); // to end index
index = endIndex + 1; // Set start for next cycle
String dirName = "C:/Documents and Settings/seng/Desktop/testfile";
// Directory name
File aFile = new File(dirName, "data.txt");
aFile.createNewFile(); // Now create a new file if necessary
if(!aFile.isFile()) // Verify we have a file
System.out.println("Creating " + aFile.getPath() + " failed.");
return;
BufferedWriter out = new BufferedWriter(new FileWriter(aFile.getPath(), true));
* Display output at data.txt file
// provide initial (X,Y,Z) coordinates for mobiles
out.write("$node_(" + subStr[0] + ") set X_ " + subStr[0] +
System.getProperty("line.separator") +
"$node_(" + subStr[0] + ") set Y_ " + subStr[1] +
System.getProperty("line.separator") +
"$node_(" + subStr[0] + ") set Z_ " + subStr[2] +
System.getProperty("line.separator"));
out.flush();
out.close();
package readtext;
import java.io.*; // For input & output classes
import java.util.Date; // For the Date class
public class create_table {
public create_table() {
public static void main(String[] args)
throws IOException{
BufferedReader in = new BufferedReader(
new FileReader("C:/Documents and Settings/seng/Desktop/testfile/txt.txt"));
*use ' ' as a separator, and rearrange back the datastream column
String text;
while ((text = in.readLine()) != null)
substring(subStr); //problem at here
String dirName = "C:/Documents and Settings/seng/Desktop/testfile";
// Directory name
File aFile = new File(dirName, "data.txt");
aFile.createNewFile(); // Now create a new file if necessary
if(!aFile.isFile()) // Verify we have a file
System.out.println("Creating " + aFile.getPath() + " failed.");
return;
BufferedWriter out = new BufferedWriter(new FileWriter(aFile.getPath(), true));
* Display output at data.txt file
// problem at here
// provide initial (X,Y,Z) coordinates for mobiles
out.write("$node_(" + subStr[0] + ") set X_ " + subStr[0] +
System.getProperty("line.separator") +
"$node_(" + subStr[0] + ") set Y_ " + subStr[1] +
System.getProperty("line.separator") +
"$node_(" + subStr[0] + ") set Z_ " + subStr[2] +
System.getProperty("line.separator"));
out.flush();
out.close();
static void substring(String[] subStr)
int count = 0; // Number of substrings
char separator = ' '; // Substring separator
String text;
// Determine the number of substrings
int index = 0;
do
++count; // Increment count of substrings
++index; // Move past last position
index = text.indexOf(separator, index);
while (index != -1);
// Extract the substring into an array
subStr = new String[count]; // Allocate for substrings
index = 0; // Substring start index
int endIndex = 0; // Substring end index
for(int i = 0; i < count; i++)
endIndex = text.indexOf(separator,index); // Find next separator
if(endIndex == -1) // If it is not found
subStr[i] = text.substring(index); // extract to the end
else // otherwise
subStr[i] = text.substring(index, endIndex); // to end index
index = endIndex + 1; // Set start for next cycle
*on top is the original code, bottom is after modified
i would like to create a static method for the static void substring(String[] subStr). But when i use the substring() on the main program, the compiler give me error. Is that my substring () created wrongly?? pls help...

package readtext;
import java.io.*; // For input & output classes
import java.util.Date; // For the Date class
public class Main {
public Main() {
public static void main(String[] args)
throws IOException{
BufferedReader in = new BufferedReader(
new FileReader("C:/Documents and Settings/seng/Desktop/testfile/txt.txt"));
*use ' ' as a separator, and rearrange back the datastream column
String text;
while ((text = in.readLine()) != null)
int count = 0; // Number of substrings
char separator = ' '; // Substring separator
// Determine the number of substrings
int index = 0;
do
++count; // Increment count of substrings
++index; // Move past last position
index = text.indexOf(separator, index);
while (index != -1);
// Extract the substring into an array
String[] subStr = new String[count]; // Allocate for substrings
index = 0; // Substring start index
int endIndex = 0; // Substring end index
for(int i = 0; i < count; i++)
endIndex = text.indexOf(separator,index); // Find next separator
if(endIndex == -1) // If it is not found
subStr = text.substring(index); // extract to the end
else // otherwise
subStr = text.substring(index, endIndex); // to end index
index = endIndex + 1; // Set start for next cycle
String dirName = "C:/Documents and Settings/seng/Desktop/testfile";
// Directory name
File aFile = new File(dirName, "data.txt");
aFile.createNewFile(); // Now create a new file if necessary
if(!aFile.isFile()) // Verify we have a file
System.out.println("Creating " + aFile.getPath() + " failed.");
return;
BufferedWriter out = new BufferedWriter(new FileWriter(aFile.getPath(), true));
* Display output at data.txt file
// provide initial (X,Y,Z) coordinates for mobiles
out.write("$node_(" + subStr[0] + ") set X_ " + subStr[0] +
System.getProperty("line.separator") +
"$node_(" + subStr[0] + ") set Y_ " + subStr[1] +
System.getProperty("line.separator") +
"$node_(" + subStr[0] + ") set Z_ " + subStr[2] +
System.getProperty("line.separator"));
out.flush();
out.close();
package readtext;
import java.io.*;                            // For input & output classes
import java.util.Date;                       // For the Date class
public class create_table {
   public create_table() {
   public static void main(String[] args)
   throws IOException{
  BufferedReader in = new BufferedReader(
          new FileReader("C:/Documents and Settings/seng/Desktop/testfile/txt.txt"));
   *use ' ' as a separator, and rearrange back the datastream column
   String text;
   while ((text = in.readLine()) != null)
    String[] subStr;
     String[] substring;
     int i;
   substring(subStr); //PROBLEM: substring in readtext can not apply
String dirName = "C:/Documents and Settings/seng/Desktop/testfile";
// Directory name
File aFile = new File(dirName, "data.txt");
aFile.createNewFile(); // Now create a new file if necessary
if(!aFile.isFile()) // Verify we have a file
System.out.println("Creating " + aFile.getPath() + " failed.");
return;
BufferedWriter out = new BufferedWriter(new FileWriter(aFile.getPath(), true));
* Display output at data.txt file
// provide initial (X,Y,Z) coordinates for mobiles
out.write("$node_(" + subStr[0] + ") set X_ " + subStr[0] +
System.getProperty("line.separator") +
"$node_(" + subStr[0] + ") set Y_ " + subStr[1] +
System.getProperty("line.separator") +
"$node_(" + subStr[0] + ") set Z_ " + subStr[2] +
System.getProperty("line.separator"));
out.flush();
out.close();
static void substring(String[] subStr)
int count = 0; // Number of substrings
char separator = ' '; // Substring separator
String text;
// Determine the number of substrings
int index = 0;
do
++count; // Increment count of substrings
++index; // Move past last position
index = text.indexOf(separator, index);
while (index != -1);
// Extract the substring into an array
subStr = new String[count]; // Allocate for substrings
index = 0; // Substring start index
int endIndex = 0; // Substring end index
for(int i = 0; i < count; i++)
endIndex = text.indexOf(separator,index); // Find next separator
if(endIndex == -1) // If it is not found
subStr[i] = text.substring(index); // extract to the end
else // otherwise
subStr[i] = text.substring(index, endIndex); // to end index
index = endIndex + 1; // Set start for next cycle
the problem is here
   String text;
   while ((text = in.readLine()) != null)
    String[] subStr;
     String[] substring;
     int i;
   substring(subStr); //PROBLEM: substring in readtext can not apply
String dirName = "C:/Documents and Settings/seng/Desktop/testfile";
the system say that my substring(subStr[i]) (java.lang.String[])in read.text can not applied to (java.lang.String)...how can i solve for tis problem? is that i have to use for loop to create an array for subStr???

Similar Messages

  • Hello. the last month i face a problem with youtube at my macbook. most videos stop playing after maybe 20 - 25 sec. the same time the time bar stops moving. could you help me solve the problem? thank you

    hello. the last month i face a problem with youtube at my macbook. most videos stop playing after maybe 20 - 25 sec. the same time the time bar stops moving. could you help me solve the problem? thank you

    hello. the last month i face a problem with youtube at my macbook. most videos stop playing after maybe 20 - 25 sec. the same time the time bar stops moving. could you help me solve the problem? thank you

  • HT3702 please help to solve the violation from itunes

    please help to solve the violation from itunes

    Sorry, but the minimal amount of information you have provided does not allow us to understand what problem you are having. You will need to post a more complete description of your issue before anyone can even guess at suggestions.
    Regards.

  • Why is the static method in the superclass more specific?

    Why is the static method in the superclass more specific than the static method in the subclass? After all, int is a subtype of long, but Base is not a subtype of Sub.
    class Base {
        static void m(int i){ System.out.println("Base"); }
    class Sub extends Base {
        static void m(long l){ System.out.println("Sub"); }
    class Test {
        public static void main(String[] args) {
            int i = 10;
            Sub sub = new Sub();
            sub.m(i);
    }The first example compiles without error.
    Output: Base
    class Base {
        void m(int i){ System.out.println("Base"); }
    class Sub extends Base {
        void m(long l){ System.out.println("Sub"); }
    class Test {
        public static void main(String[] args) {
            int i = 10;
            Sub sub = new Sub();
            sub.m(i);
    }In the second example, both instance methods are applicable and accessible (JLS 15.12.2.1), but neither is more specific (JLS 12.2.2), so we get a compiler error as expected.
    : reference to m is ambiguous,
    both method m(int) in Base and method m(long) in Sub match
    sub.m(i);
    ^
    1 error
    Why don�t we get a compiler error for the static methods?

    Thank you for your ideas.
    ====
    OUNOS:
    I don't get Sylvia's response. This is about static methods, what are instances are needed for??Yes, the question is about static methods. I included the example with non-static methods for a comparison. According to JLS 15.12.2, both examples should cause a compiler error.
    And why you create a Sub object to call the method, and dont just call "Sub.m(..)"Yes, it would make more sense to call Sub.m(i). Let�s change it. Now, I ask the same question. Why is there no compiler error?
    ====
    DANPERKINS:
    The error in your logic stems from calling static methods on instances, as ounos pointed out. Solution: don't. You won't see any more ambiguities.A static member of a class may also be accessed via a reference to an object of that class. It is not an error. (The value of the reference can even be null.)
    Originally I was looking only at the case with non-static methods. Therefore, I used sub.m(i). Once I understood that case, I added the static modifiers. When posting my question, I wish I had also changed sub.m to Sub.m. Either way, according to JLS 15.12.2, a compiler error should occur due to ambiguous method invocation.
    ====
    SILVIAE:
    The question was not about finding an alternative approach that doesn't throw up an ambiguity. The question related to why, in the particular situations described, the ambiguity arises in only one of them.
    Yes.
    Proposing an alternative approach doesn't address the question.
    Yes.
    ====
    If anyone is really interested, here is some background to the question. Some people studying for a Sun Java certificate were investigating some subtleties of method invocations:
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=24&t=019182
    I remember seeing the non-static case discussed in this forum once before in a more practical context. jschell probably knows the link.

  • When importing clips to iMovie11 the audio is missing. I have been able to successfully to this in the past and all of the sudden it is not working. Any help to solve the problem would be appreciated.

    When importing clips to iMovie11 the audio is missing. I have been able to successfully to this in the past and all of the sudden it is not working. Any help to solve the problem would be appreciated.
    Thank you for your help!

    Download/install an app is a know possible solution.
    3. Install another app from the App Store
    If all user-installed apps are not launching, it could be an Apple ID authorization issue. Download and install an app that isn't already installed on your device to reset this information.
    Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    Above from Apple's :
    iOS: Troubleshooting applications purchased from the App Store

  • Why is it necessary to create an instance via the static method?

    Hi,
    For some classes (such as java.util.regex.Pattern), we should call the class method (static method) in order to create an instance (object).
    For example, in order to conduct the pattern matching, we should use the java.util.regex.Pattern class as follows:
    Pattern p = Pattern.compile ("X[0-9]+X") ;
      // An instance of the Pattern class is created.
    Matcher m = p.matcher ("abcX1XYX23Xz") ;
    while ( m.find() ){
      System.out.println ( m.start() ) ;
    }where the compile static method in the Pattern class creates an instance and returns the pointer (reference) of it. We should NOT call
    the constructor of the Pattern class as follows:
    Pattern p = new Pattern ("X[0-9]+X") ;    // ERRORThe question is the following:
    (1) In what scenes, do we develop the classes that force users to call the static method for creating an instance of it?
    (2) Why do the java.util.regex.Pattern class have such a specification?
    Thanks in advance.

    (1) In what scenes, do we develop the classes that force users to call the static method for creating an instance of it?1. As the other author mentioned, caching is one reason.
    2. With such caching, you don't need to take trouble in passing the reference of a cached object(s) to many places in your code. From anywhere in your code base, you can simply invoke the method, the object will come. In essence, the static method provides a global point of access to one or more pre-created (or cached) objects. Hence, the static method simplifies access to the object.
    3. Sometimes, the actual class instantiated is not the same as the one with the static method. This allows abstraction of underlying variations. For example, when you say Pattern.compile ("X[0-9]+X") , the returned object type can be different in Windows and Linux (Most probably Pattern class doesn't work like that, but I am showing you a use case. May be Runtime.getRuntime() does actually work like that.). You find this abstraction of variations in many places. Take for example, FacesContext.getExternalContext() method (this is from JSF API). ExternalContext documentation says this:
    "This class allows the Faces API to be unaware of the nature of its containing application environment. In particular, this class allows JavaServer Faces based appications to run in either a Servlet or a Portlet environment."
    Edited by: Kamal Wickramanayake on Oct 24, 2012 8:04 AM

  • Help with writing a static method in my test case class inside blue j

    I have this method that I have to test. below is the method I need to test and what I have to create inside my test case file to test it Im having big time problems getting going. Any help is appreciated.
    public String introduceSurprise ( String first, String last ) {
    int d1 = dieOne.getFace();
    Die.roll();
    if (d1 %4 == 2){
    return Emcee.introduce(first);
    else {
    return this.introduceSpy (first,last);
    So how do write tests to verify that every fourth call really does give a randomized answer? Write a static method showTests which
    creates an EmCee,
    calls introduceSurprise three times (doing nothing with the result (!)),
    and then calls it a fourth time, printing the result to the console window.
    Write this code inside your test class TestEmCee, not inside EmCee!

    hammer wrote:
    So how do write tests to verify that every fourth call really does give a randomized answer? Write a static method showTests which
    creates an EmCee,
    calls introduceSurprise three times (doing nothing with the result (!)),
    and then calls it a fourth time, printing the result to the console window.
    Write this code inside your test class TestEmCee, not inside EmCee!Those instructions couldn't be anymore straightforward. Make a class called TestEmCee. Have it create an EmCee object. Call introduceSurprise on that object 3 times. Then print the results of calling it a 4th time.

  • Can anyone help me solve the problem of text displaying very rough on my new ASUS PA279Q display monitor running off my MacBook Pro?

    This is regarding a brand new ASUS PA 279Q, 2560 x 1440 IPS monitor. I'm connected via mini display port (into thunderbolt port on MacBook Pro) to display port on ASUS monitor; using cable ASUS included with the monitor. Mid 2012 MacBook Pro…full specs at bottom of this post.
    I have resolution set at 2560 x 1440 which is the native resolution according to the ASUS spec. I tried the other resolutions available in my System Preferences and text displayed rough with those settings too. I've tried adjusting contrast, brightness and sharpness via the ASUS control panel and didn't solve the problem. Also tried calibrating via Mac's system preferences/display and that did not improve text display either. All the text on this monitor (no matter what software I launch, Finder, InDesign, Illustrator, MS Word, Excel, VMWare Windows XP, Windows versions of Word, Excel, Acrobat, etc, all are consistently rendering text the same way ---  ROUGH and with "HALOS" around each letter.
    All point sizes of text and at various scales, display very rough on the screen. (My comparison is the retina display of my MBP and a Thunderbolt…so those two displays are my expectations.) I'm using the same MBP for both a Thunderbolt display (at work) and this ASUS at my home office.
    On the ASUS it's not as noticeable when the text is on white backgrounds, but I'm a graphic designer and compose images with text all day everyday. Not to mention the specs on this ASUS PA279Q indicate it's built for the professional so I would expect better text rendering. I haven't even addressed color calibration and balance yet, because that won't matter to me if the text won't display any better than it is now.
    I was so hopeful after researching all the specs on this monitor it would be a viable alternative to the glossy display of the Thunderbolt display. (Which, I do love the Thunderbolt display for it's clarity and how it displays crisp, clean text at all sizes. (This ASUS actually displays text decently if I increase the text so each letter is about 4" high. Which is pointless for practical purposes -- that'd be like doing page layout through a microscope!)
    I kept holding off on getting a monitor for the home office thinking the Thunderbolt would be updated soon. I'd be sick if I dropped a grand on piece of 2011 technology only to learn a few days later an updated Thunderbolt display hit the market! Not to mention, I'm praying Apple comes out with a less reflective Thunderbolt display. The glare and reflection is the main reason I looked elsewhere for a large monitor; hence my asking for help. Hoping the ASUS text display issue can be worked out. My expectation is for it to display like the MBP retina and Thunderbolt display text. That possible?
    Alternatively, I guess I could do the Apple Refurb Thunderbolt at $799. And see if there's a decent aftermarket anti-glare I could stick on it?
    Thanks for reading my post. Hope someone can help; offer any suggestions? Words or wisdom?
    Has anyone else had similar issues and figured out a resolution? Help!
    MacBook Pro
    Retina, Mid 2012, 2.3 Ghz Intel i7
    8GB 1600 MHz DDR3
    OS X 10.8.5
    NVIDIA GeForce GT 650M 1024 MB
    ASUS PA279Q

    I uninstalled those two items. It still runs slow on start-up and when opening safari, firefox, iphoto, itunes, etc. It's not snappy like it used to be. Any other ideas? Thanks.

  • TS1398 I can't access to the web pages thro' Wi-Fi, after switching on the wi-fi.But if I switch off the iphone andswitch on the phone then I can get the web pages.Daily I have to repeat this process to access the web pages.help to solve the problem.

    I can't access the web pages thro' wi-fi,But if I switch off the phone and thenswitch on the phone again I am able to access the web pages.Daily I have to repeat this process.help to solve this problem.

    Does using 192.168.1.1 get you to the web page?
    Firmware Update Process
    To safely update FW, I recommend doing the following: Download the FW file from the support site first.
    Disable the auto update feature on the router.
    1. Save router config to file first using IE or FF with all security add-ons disabled.
    2. Factory reset the router with all other devices disconnected or turned OFF accept for 1 wired PC.
    http://kb.linksys.com/Linksys/ukp.aspx?pid=80&app=vw&vw=1&login=1&json=1&docid=9d2ff02077f645679972a...
    3. Reload or Update the FW using IE or FF. Just download the FW file to your local wired LAN PC.
    http://kb.linksys.com/Linksys/ukp.aspx?pid=80&app=vw&vw=1&login=1&json=1&docid=0a6881b90224439b92c8d...
    4. Factory reset the router and then set up from scratch first using the local log in link and test with out loading the saved config from file. Check to see if any problems are fixed before loading the saved config from file. Sometimes you need to set up from scratch with out loading the saved config file. Just safer that way.
    PC Web Browser Configurations
    What browser are you using?
    If IE 8, 9, 10 or 11, set compatibility mode and test again.
    Disable any security browser Add-ons like No Script and Ad-Block or configure them to allow All Pages when connected to the router.
    Clear all browser caches.
    Be sure to log into the local log-in account on the router first.

  • TS1702 Why i can not be able to buy gems in clash of clans??? They keep on telling your purchase can not be completed pls contact apple support. Kindly help me solve the issue. Thanks

    Help

    This is a problem that is almost certainly to do with the app and not Apple themselves.
    Clash of Clans is made by Supercell - there website is here: http://www.supercell.net - maybe get in touch with them via their website or on their own forum here: http://forum.supercell.net/forumdisplay.php/4-Clash-of-Clans
    Hope this helps a little.
    Or the above is it transpires that it is a payment method that's wrong.

  • Pls help me solve the case of the disappearing apps (Firefox & Mail)...

    Hi
    Can anyone help?
    Last week I noticed that both my Firefox and Mail apps had mysteriously disappeared from the dock. I dragged them from Applications to where I normally 'keep' them (left end of my dock). Immediately they jumped to the right end of the dock in the space before the divider and the area for Documents and Trash. Other programs along my dock are fine...they just happily sit there and launch
    This was weird in itself. Now, the apps aren't even appearing in the dock and when I go to drag them from Applications, they just disappear unopened from the dock again! I have to open then directly from their place under Applications. This is just a recent phenomenon and one I have no explanation for. It is understandably frustrating.
    All my software is up to date. I don't use my MacBookPro every day but I do use it weekly for client work or to watch tv programs I've missed on BBC iPlayer.
    Any ideas?
    Thanks

    Just to add:
    On my MacbookPro I:
    • Deleted Firefox
    • Reinstalled Firefox
    • Turned off dock in sync prefs
    • Deleted dock prefs
    • Restarted laptop...
    No change...
    (My MacPro is fine...)

  • Need help with solving the (basic) programming error

    I'm reaaaaaaaaaally new to Java and programming in general. I've been glancing through my older brother's old stuff (he's back at Uni!) and I've taken an interest.
    Anyways, so I'm trying to finish this really simple program cause I wanna wow some friends ("wow" = "haha we've done this before a gazillion times") but I can't seem to solve this "incompatible lines" bug in the code, specifically line 24. I've been looking at it for exactly 4 hours!! Programming in Java 1.6.
    Thanks for the help!! :)
    import java.util.*;
    import java.util.Scanner;
    public class LuigisPizzaProgram {
         public static void main(String args[]) {
         System.out.println("Luigi's Pizza");
         System.out.println("-------------------------------------------");
         System.out.println(" a(SML) b(MED) c(LRG)");
         System.out.println("1. Cheese 5.00 7.50 10.00");
         System.out.println("2. Pepperoni 5.75 8.63 11.50");
         System.out.println("3. Combination 6.50 9.75 13.00");
         System.out.println("4. Vegetarian 7.25 10.88 14.50");
         System.out.println("5. Meat Lovers 8.00 12.00 16.00");
         System.out.println(" ");
         System.out.println("What kind of pizza do you want?");     
         int kind = new Scanner(System.in).nextInt();
         System.out.println(kind);
         System.out.println("What size of pizza do you want?");
         char size = new Scanner(System.in).nextLine();
         System.out.println(size);
         }

    Having said that, it is nontraditional to use Scanner like you are using it. There is no way to reuse it in order to get more input. Better would be something like:
            System.out.println("What size of pizza do you want?");
            Scanner scan = new Scanner(System.in);  // create the scan variable
            String size = scan.nextLine(); // now use the scan variable
            System.out.println(size);Also, when posting your code, please use code tags so that your code will be well-formatted and readable. To do this, place the tag &#91;code&#93; at the top of your block of code and the tag &#91;/code&#93; at the bottom, like so:
    &#91;code&#93;
      // your code block goes here.
    &#91;/code&#93;good luck, pete

  • HT2731 has anyone managed to solve the payment method declined issue?

    this issue is really getting me down, someone please help!!!!!

    (My original message was gobbled up by Apple's servers. Here is a shorter one)
    Remember that the ToS for iTunes was recently changed. What may have been acceptable to them before, may no longer be the case now. You MUST have a valid street address and payment method in your profile, in iTunes, WHETHER OR NOT you are just updating (free) apps. Also, some users have experienced problems if they do not type their street address exactly the same way USPS lists it on their site (this is applicable only if you live in the USA, obviously).
    Try updating your personal info, to see if it still acts up.
    https://tools.usps.com/go/ZipLookupAction!input.action

  • Need help to solve the following error

    Hi, I m using JDBC driver for sql server 2000 in the program and when i get online it will hv the following error:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:193)
         at Login.<init>(Login.java:26)
         at Login.main(Login.java:196)
    Exception in thread "main" Exit code: 1
    There were errors
    Can anyone help me to solve it? Thank you!

    Doesnt look like a java problem, rather a SQLServer setup problem - java can't connect.
    :1433 is the default remote access port for MS SQLServer... so you should be right there.
    1) Make sure SQLServer is set up for remote access
    2) Dunno whats going on with the server name. it looks... odd. Try specifying the IP address of the server rather than the hostname
    3) Just a final stab-in-the-dark thought.... but you mentioned it works when not connected to the internet, but not when you are connected.... could you be running a firewall (that starts when you connect to the net) that is blocking access through port 1433?

  • Kernal panic: help me solve the mystery.

    Hey-oh.
    I've got a kernal panic on my hands. It's happened about half a dozen times this afternoon and I don't know what is triggering it. Just wanted to start this thread to see if anyone could help spot what is up. The screen gets dark and the restart dialogue box appears. I shut down, restart and while the loading bar on the white Apple screen takes about 5 minutes to fully load before telling me an error happened and giving me a crash report. The reports seem to be sending fine.
    I installed new RAM myself  a few weeks ago and that has been working great. I only ended up doing that because I kept getting serious RAM errors (3 beeps, black screen) with the Apple installed RAM. So far, not a great experience with my iMac
    Here's the most recent crash report:
    Interval Since Last Panic Report:  2881265 sec
    Panics Since Last Report:          6
    Anonymous UUID:                    C836707E-6142-46F4-A700-97F4E2A460FA
    Sun Apr  1 19:40:46 2012
    panic(cpu 3 caller 0xffffff80002ab713): "pmap_pv_remove(0xffffff8025ce5360,0x49ac000,0x200000, 0x200000000): pv not on hash, head: 0xffffff80243ab2e8, 0x1261b4000"@/SourceCache/xnu/xnu-1699.24.23/osfmk/i386/pmap_internal.h:813
    Backtrace (CPU 3), Frame : Return Address
    0xffffff81d3533c40 : 0xffffff8000220702
    0xffffff81d3533cc0 : 0xffffff80002ab713
    0xffffff81d3533d60 : 0xffffff80002abb2a
    0xffffff81d3533da0 : 0xffffff8000273b86
    0xffffff81d3533e90 : 0xffffff800027490a
    0xffffff81d3533ec0 : 0xffffff8000237889
    0xffffff81d3533f00 : 0xffffff8000541579
    0xffffff81d3533f50 : 0xffffff800053f0ce
    0xffffff81d3533f60 : 0xffffff80005ca448
    0xffffff81d3533fb0 : 0xffffff80002d7f39
    BSD process name corresponding to current thread: NasNavigator2
    Mac OS version:
    11D50b
    Kernel version:
    Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
    Kernel UUID: 7B6546C7-70E8-3ED8-A6C3-C927E4D3D0D6
    System model name: iMac12,2 (Mac-942B59F58194171B)
    System uptime in nanoseconds: 11871990304108
    last loaded kext at 10299809320083: com.apple.filesystems.msdosfs    1.7.1 (addr 0xffffff7f80829000, size 57344)
    last unloaded kext at 10405452604125: com.apple.driver.AppleUSBCDC    4.1.15 (addr 0xffffff7f80825000, size 12288)
    loaded kexts:
    at.obdev.nke.LittleSnitch    2.4.4
    com.apple.filesystems.afpfs    9.8
    com.apple.nke.asp_tcp    6.0.1
    com.apple.filesystems.smbfs    1.7.0
    com.apple.driver.AppleBluetoothMultitouch    66.6
    com.apple.driver.AppleHWSensor    1.9.4d0
    com.apple.filesystems.autofs    3.0
    com.apple.driver.AudioAUUC    1.59
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AGPM    100.12.42
    com.apple.driver.AppleUpstreamUserClient    3.5.9
    com.apple.driver.AppleHDA    2.1.7f9
    com.apple.driver.AppleMCCSControl    1.0.26
    com.apple.driver.AppleMikeyDriver    2.1.7f9
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.kext.ATIFramebuffer    7.1.8
    com.apple.driver.AudioIPCDriver    1.2.2
    com.apple.driver.AppleSMCLMU    2.0.1d2
    com.apple.ATIRadeonX3000    7.1.8
    com.apple.driver.AppleIntelHD3000Graphics    7.1.8
    com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.5d4
    com.apple.driver.AppleLPC    1.5.3
    com.apple.driver.AppleBacklight    170.1.9
    com.apple.iokit.SCSITaskUserClient    3.0.3
    com.apple.driver.AppleUSBCardReader    3.0.1
    com.apple.driver.AppleIRController    312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    33
    com.apple.iokit.IOAHCIBlockStorage    2.0.1
    com.apple.driver.AppleUSBHub    4.5.0
    com.apple.driver.AirPort.Atheros40    503.60.3
    com.apple.iokit.AppleBCM5701Ethernet    3.0.8b2
    com.apple.driver.AppleFWOHCI    4.8.9
    com.apple.driver.AppleEFINVRAM    1.5.0
    com.apple.driver.AppleUSBEHCI    4.5.8
    com.apple.driver.AppleAHCIPort    2.2.0
    com.apple.driver.AppleACPIButtons    1.4
    com.apple.driver.AppleRTC    1.4
    com.apple.driver.AppleHPET    1.6
    com.apple.driver.AppleSMBIOS    1.7
    com.apple.driver.AppleACPIEC    1.4
    com.apple.driver.AppleAPIC    1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient    167.3.0
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.security.quarantine    1.1
    com.apple.driver.AppleIntelCPUPowerManagement    167.3.0
    com.apple.security.SecureRemotePassword    1.0
    com.apple.driver.AppleMultitouchDriver    220.62.1
    com.apple.driver.IOBluetoothHIDDriver    4.0.3f12
    com.apple.kext.triggers    1.0
    com.apple.iokit.IOBluetoothSerialManager    4.0.3f12
    com.apple.iokit.IOSerialFamily    10.0.5
    com.apple.driver.AppleAVBAudio    1.0.0d11
    com.apple.driver.DspFuncLib    2.1.7f9
    com.apple.iokit.IOSurface    80.0
    com.apple.iokit.IOAVBFamily    1.0.0d22
    com.apple.iokit.IOAudioFamily    1.8.6fc6
    com.apple.kext.OSvKernDSPLib    1.3
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.driver.ApplePolicyControl    3.0.16
    com.apple.iokit.IOFireWireIP    2.2.4
    com.apple.driver.AppleHDAController    2.1.7f9
    com.apple.iokit.IOHDAFamily    2.1.7f9
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.driver.AppleGraphicsControl    3.0.16
    com.apple.driver.AppleSMC    3.1.1d8
    com.apple.driver.IOPlatformPluginFamily    4.7.5d4
    com.apple.driver.AppleBacklightExpert    1.0.3
    com.apple.driver.AppleThunderboltEDMSink    1.1.3
    com.apple.driver.AppleThunderboltEDMSource    1.1.3
    com.apple.iokit.IONDRVSupport    2.3.2
    com.apple.kext.ATI6000Controller    7.1.8
    com.apple.kext.ATISupport    7.1.8
    com.apple.driver.AppleIntelSNBGraphicsFB    7.1.8
    com.apple.iokit.IOGraphicsFamily    2.3.2
    com.apple.driver.AppleUSBHIDKeyboard    152.3
    com.apple.driver.AppleHIDKeyboard    152.3
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.3f12
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.3f12
    com.apple.iokit.IOBluetoothFamily    4.0.3f12
    com.apple.driver.AppleThunderboltDPOutAdapter    1.5.9
    com.apple.driver.AppleThunderboltDPInAdapter    1.5.9
    com.apple.driver.AppleThunderboltDPAdapterFamily    1.5.9
    com.apple.driver.AppleThunderboltPCIDownAdapter    1.2.1
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.0.3
    com.apple.iokit.IOBDStorageFamily    1.6
    com.apple.iokit.IODVDStorageFamily    1.7
    com.apple.iokit.IOCDStorageFamily    1.7
    com.apple.iokit.IOAHCISerialATAPI    2.0.1
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.0.3
    com.apple.iokit.IOUSBMassStorageClass    3.0.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.0.3
    com.apple.iokit.IOUSBHIDDriver    4.4.5
    com.apple.driver.AppleUSBMergeNub    4.5.3
    com.apple.driver.AppleUSBComposite    4.5.8
    com.apple.driver.XsanFilter    403
    com.apple.driver.AppleThunderboltNHI    1.3.2
    com.apple.iokit.IOThunderboltFamily    1.7.4
    com.apple.iokit.IOUSBUserClient    4.5.8
    com.apple.iokit.IO80211Family    412.2
    com.apple.iokit.IOEthernetAVBController    1.0.0d5
    com.apple.iokit.IONetworkingFamily    2.0
    com.apple.iokit.IOFireWireFamily    4.4.5
    com.apple.iokit.IOUSBFamily    4.5.8
    com.apple.iokit.IOAHCIFamily    2.0.7
    com.apple.driver.AppleEFIRuntime    1.5.0
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    177.3
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    331.3
    com.apple.iokit.IOStorageFamily    1.7
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.4
    com.apple.iokit.IOPCIFamily    2.6.8
    com.apple.iokit.IOACPIFamily    1.4
    Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 3.1 GHz, 16 GB, SMC 1.72f2
    Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 1024 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
    Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
    Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.61.5-P2P
    Bluetooth: Version 4.0.3f12, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: WDC WD1001FALS-403AA0, 1 TB
    Serial ATA Device: OPTIARC DVD RW AD-5690H
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: PTK-840, 0x056a  (WACOM Co., Ltd.), 0x00ba, 0xfa130000 / 5
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 7
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0608, 0xfd140000 / 6
    USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfd130000 / 5
    USB Device: Apple Keyboard, apple_vendor_id, 0x0221, 0xfd132000 / 7
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
    Chrome has been crashing today so I thought it might be that but it's still happening when Firefow is the only browser running. Tried closing as many apps as I could and have just deleted a few most recently installed unimportant programs.
    If you see anything suspicious in the report then let me know. In the time being I'm going to try the other suggested courses of action. Posting this hastily before it happens again.
    Thanks,
    Aled

    USBs unplugged. Latest report FYI:
    Interval Since Last Panic Report:  2881215 sec
    Panics Since Last Report:          7
    Anonymous UUID:                    C836707E-6142-46F4-A700-97F4E2A460FA
    Sun Apr  1 20:39:26 2012
    panic(cpu 1 caller 0xffffff80002c266d): Kernel trap at 0xffffff80002aafc0, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000018, CR3: 0x0000000029865041, CR4: 0x00000000000606e0
    RAX: 0x00080000003fec7f, RBX: 0x000000015b3ac000, RCX: 0x0000000000000000, RDX: 0x0000000000000000
    RSP: 0xffffff81d3f7bc50, RBP: 0xffffff81d3f7bcb0, RSI: 0xffffff8027b3ae08, RDI: 0xffffff8027b3ae07
    R8:  0x0000000000000001, R9:  0x00000000003fec7f, R10: 0xffffff802179ffe0, R11: 0xffffff802265b1c0
    R12: 0xfffffe8000000000, R13: 0x000000015b400000, R14: 0xffffff8027b3ae08, R15: 0x0000000007fd8fe0
    RFL: 0x0000000000010203, RIP: 0xffffff80002aafc0, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0x0000000000000018, Error code: 0x0000000000000000, Faulting CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff81d3f7b910 : 0xffffff8000220702
    0xffffff81d3f7b990 : 0xffffff80002c266d
    0xffffff81d3f7bb30 : 0xffffff80002d7a1d
    0xffffff81d3f7bb50 : 0xffffff80002aafc0
    0xffffff81d3f7bcb0 : 0xffffff80002ab451
    0xffffff81d3f7bd50 : 0xffffff80002abb2a
    0xffffff81d3f7bd90 : 0xffffff8000273b86
    0xffffff81d3f7be80 : 0xffffff800027490a
    0xffffff81d3f7beb0 : 0xffffff8000237889
    0xffffff81d3f7bef0 : 0xffffff8000541579
    0xffffff81d3f7bf40 : 0xffffff800053f0ce
    0xffffff81d3f7bf50 : 0xffffff80005caa7b
    0xffffff81d3f7bfb0 : 0xffffff80002d8363
    BSD process name corresponding to current thread: fsck_hfs
    Mac OS version:
    11D50b
    Kernel version:
    Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
    Kernel UUID: 7B6546C7-70E8-3ED8-A6C3-C927E4D3D0D6
    System model name: iMac12,2 (Mac-942B59F58194171B)
    System uptime in nanoseconds: 2606456840348
    last loaded kext at 576173834990: com.apple.driver.AppleHWSensor    1.9.4d0 (addr 0xffffff7f81977000, size 28672)
    last unloaded kext at 787587269464: com.apple.driver.AppleUSBUHCI    4.4.5 (addr 0xffffff7f80930000, size 65536)
    loaded kexts:
    at.obdev.nke.LittleSnitch    2.4.4
    com.apple.driver.AppleHWSensor    1.9.4d0
    com.apple.filesystems.smbfs    1.7.0
    com.apple.filesystems.autofs    3.0
    com.apple.driver.AudioAUUC    1.59
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.driver.AppleUpstreamUserClient    3.5.9
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleMCCSControl    1.0.26
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AGPM    100.12.42
    com.apple.driver.AppleMikeyDriver    2.1.7f9
    com.apple.kext.ATIFramebuffer    7.1.8
    com.apple.driver.AppleIntelHD3000Graphics    7.1.8
    com.apple.driver.AppleHDA    2.1.7f9
    com.apple.driver.AudioIPCDriver    1.2.2
    com.apple.ATIRadeonX3000    7.1.8
    com.apple.driver.AppleBluetoothMultitouch    66.6
    com.apple.driver.AppleSMCLMU    2.0.1d2
    com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.5d4
    com.apple.driver.AppleLPC    1.5.3
    com.apple.driver.AppleBacklight    170.1.9
    com.apple.iokit.SCSITaskUserClient    3.0.3
    com.apple.driver.AppleIRController    312
    com.apple.driver.AppleUSBCardReader    3.0.1
    com.apple.iokit.IOAHCIBlockStorage    2.0.1
    com.apple.BootCache    33
    com.apple.driver.AppleUSBHub    4.5.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.driver.AirPort.Atheros40    503.60.3
    com.apple.driver.AppleFWOHCI    4.8.9
    com.apple.driver.AppleEFINVRAM    1.5.0
    com.apple.iokit.AppleBCM5701Ethernet    3.0.8b2
    com.apple.driver.AppleUSBEHCI    4.5.8
    com.apple.driver.AppleAHCIPort    2.2.0
    com.apple.driver.AppleACPIButtons    1.4
    com.apple.driver.AppleRTC    1.4
    com.apple.driver.AppleHPET    1.6
    com.apple.driver.AppleSMBIOS    1.7
    com.apple.driver.AppleACPIEC    1.4
    com.apple.driver.AppleAPIC    1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient    167.3.0
    com.apple.security.quarantine    1.1
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.driver.AppleIntelCPUPowerManagement    167.3.0
    com.apple.kext.triggers    1.0
    com.apple.driver.AppleAVBAudio    1.0.0d11
    com.apple.iokit.IOSurface    80.0
    com.apple.iokit.IOBluetoothSerialManager    4.0.3f12
    com.apple.iokit.IOSerialFamily    10.0.5
    com.apple.iokit.IOAVBFamily    1.0.0d22
    com.apple.driver.DspFuncLib    2.1.7f9
    com.apple.iokit.IOAudioFamily    1.8.6fc6
    com.apple.kext.OSvKernDSPLib    1.3
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.driver.IOBluetoothHIDDriver    4.0.3f12
    com.apple.driver.AppleMultitouchDriver    220.62.1
    com.apple.iokit.IOFireWireIP    2.2.4
    com.apple.driver.AppleHDAController    2.1.7f9
    com.apple.iokit.IOHDAFamily    2.1.7f9
    com.apple.driver.ApplePolicyControl    3.0.16
    com.apple.driver.AppleGraphicsControl    3.0.16
    com.apple.driver.AppleSMC    3.1.1d8
    com.apple.driver.IOPlatformPluginFamily    4.7.5d4
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.driver.AppleBacklightExpert    1.0.3
    com.apple.iokit.IONDRVSupport    2.3.2
    com.apple.driver.AppleThunderboltEDMSink    1.1.3
    com.apple.driver.AppleThunderboltEDMSource    1.1.3
    com.apple.kext.ATI6000Controller    7.1.8
    com.apple.kext.ATISupport    7.1.8
    com.apple.driver.AppleIntelSNBGraphicsFB    7.1.8
    com.apple.iokit.IOGraphicsFamily    2.3.2
    com.apple.driver.AppleUSBHIDKeyboard    152.3
    com.apple.driver.AppleHIDKeyboard    152.3
    com.apple.driver.AppleThunderboltDPOutAdapter    1.5.9
    com.apple.driver.AppleThunderboltDPInAdapter    1.5.9
    com.apple.driver.AppleThunderboltDPAdapterFamily    1.5.9
    com.apple.driver.AppleThunderboltPCIDownAdapter    1.2.1
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.3f12
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.3f12
    com.apple.iokit.IOBluetoothFamily    4.0.3f12
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.0.3
    com.apple.iokit.IOBDStorageFamily    1.6
    com.apple.iokit.IODVDStorageFamily    1.7
    com.apple.iokit.IOCDStorageFamily    1.7
    com.apple.iokit.IOUSBHIDDriver    4.4.5
    com.apple.iokit.IOUSBMassStorageClass    3.0.1
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.0.3
    com.apple.iokit.IOAHCISerialATAPI    2.0.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.0.3
    com.apple.driver.XsanFilter    403
    com.apple.driver.AppleUSBMergeNub    4.5.3
    com.apple.driver.AppleUSBComposite    4.5.8
    com.apple.driver.AppleThunderboltNHI    1.3.2
    com.apple.iokit.IOThunderboltFamily    1.7.4
    com.apple.iokit.IOUSBUserClient    4.5.8
    com.apple.iokit.IO80211Family    412.2
    com.apple.iokit.IOFireWireFamily    4.4.5
    com.apple.iokit.IOEthernetAVBController    1.0.0d5
    com.apple.iokit.IONetworkingFamily    2.0
    com.apple.iokit.IOAHCIFamily    2.0.7
    com.apple.driver.AppleEFIRuntime    1.5.0
    com.apple.iokit.IOUSBFamily    4.5.8
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.TMSafetyNet    7
    com.apple.security.sandbox    177.3
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.driver.DiskImages    331.3
    com.apple.iokit.IOStorageFamily    1.7
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.4
    com.apple.iokit.IOPCIFamily    2.6.8
    com.apple.iokit.IOACPIFamily    1.4
    Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 3.1 GHz, 16 GB, SMC 1.72f2
    Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 1024 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
    Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
    Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.61.5-P2P
    Bluetooth: Version 4.0.3f12, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: WDC WD1001FALS-403AA0, 1 TB
    Serial ATA Device: OPTIARC DVD RW AD-5690H
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 3
    USB Device: PTK-840, 0x056a  (WACOM Co., Ltd.), 0x00ba, 0xfa130000 / 5
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 6
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 2
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfd130000 / 5
    USB Device: Apple Keyboard, apple_vendor_id, 0x0221, 0xfd132000 / 6
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3

Maybe you are looking for

  • IMovie wont show preview in full screen?

    Here's a screen capture of what I mean. I was messing with the settings one day and now my iMovie makes the file narrower and distorts the quality and makes it look pixelated. I just cant remember what I changed in my setting. Is there a way to resto

  • ALSB 3.0 - Form of URL to obtain Proxy Service WSDL changed?

    A quick 'technical' question that seems too dumb to raise as a support call, but cant find any discussion or details in docs, release notes etc. There might be some subtle default which has changed or I've done some thing different and I just can't f

  • Discount for the system / not for the components

    At our case, the company sells machines. Some of the machines are systems which are made up with the combination-assembly of other machines. These systems are created-presented on SAP by an upper level material. There is no pricing fpr these upper-le

  • After last update, Thunderbird does not appear on desktop when started (XP Professional).

    Since yesterday's update, when I start Thunderbird, it appears in the task bar, but not on the desktop. I can select it, or use Task Manager to "switch to" it, but right-clicking it does not give me a menu. (It used to be that it opened outside the v

  • Lightroom Remote Disc Installation

    I'd like to buy a copy of Lightroom 5 for Mac. I've a retina MacBook Pro (i.e. no disc drive) and an iMac with a disc drive. If I use Remote Disc and put the disc into the iMac to install on the laptop, am I likely to encounter any problems or will i