Boot-strap {0}. make sure {1} is public

when I compile my program, i am getting a mesage
"boot-strap {0}. make sure {1} is public.", Why is it saying like that

I do, its a singlton class, and it has a public main too. It is big project. does it anything do w/ the package?

Similar Messages

  • Machine will not boot; hard drive makes clicking noise

    My G4 will not boot up.
    Here are the symptoms:
    It passed the hardware test;
    Will not perform a safe start - so cannot run disk utility;
    Hard drive makes a clicking noise.
    I'd appreciate any advice about how to proceed.
    pdh

    Yes, as mentioned backup now. best not to use your Mac till you do. The drive may fail for good. Here's some tips on replacing your drive (they are pretty inexpensive now);
    This is by SDMacuser,
    Even if you have never installed nor pulled a HD from a Powermac...... trust me....it is not all that difficult.
    I can actually switch internal HD's among 3 separate G4 Towers I own in a matter of minutes (often less than 10 minutes).
    Simply power the system down and ground yourself (a grounding strap is recommended or at the very least touching the metal frame to discharge any potential static electricity prior to actually touching the HD or any internal components on your system).
    Disconnect the power cable to the back of the HD, then the long ide connector on the back of the HD / cable (pull straight back while grasping the black connector with 2 fingers ... do not yank the actual ribbon cable).
    All of my HD's are mounted or bolted to their own metal sleds (either single sled or a dual sled) with 4 screws.
    Unscrew the small screw (philips) holding the sled in place on position one below the ide connector or cable. And gently remove the sled & HD from the Powermac without bumping / damaging other internal components.
    Remove the 4 screws from the sled itself holding the HD in place. Be careful not to allow the drive to fall once all screws have been removed.
    Install the new HD (and make sure to address proper jumpers on the back of the HD itself.)
    Now reverse this process with new HD for proper installation into the G4 Powermac.
    Any questions just post back.
    btw ... there are a few QT demos on apples web sites showing how to do this.
     Cheers! DALE

  • ITunes RADIO is not working.  "iTunes could not connect to the iTunes Store. Make sure your internet connection is active and try again." Try as I may, as many as ten attempts, trying to connect after restart, after shutdown, nothing works. Just so -  iTu

    iTunes RADIO is not working.
    “iTunes could not connect to the iTunes Store. Make sure your internet connection is active and try again.” Try as I may, as many as ten attempts, trying to connect after restart, after shutdown, nothing works. Just so …
    iTunes STORE not “connectable” with my otherwise perfectly-working internet connection, viable, up and running for all other uses.
    Simply put, firstly, I can't connect to the internet when I click on Radio.  People are quite suspicious that this is Apple incompetence or your company's famous arrogance for this commonly-suffered problem that you won't or “can’t” fix.
    Read the many web comments and you won’t be pleased with yourselves: the suspicion is that if you ruin internet radio on iTunes, Apple will somehow make more money on music downloads, etc. Bull.
    Also, thirdly, my old playlist of 20 or so internet radio stations in the Ambient category STILL PLAYS !
    Then fourth, I installed the latest available version of QuickTime Player 7.app Version 7.6.6 but it didn’t solve the problem either. I had QuickTime Player.app Version 10.2, but substituted what Apple website said was the latest, LOWER NUMBERED QuickTime Player version of 7.6.6
    Fifth, I can't connect to iTunes store no matter what I do or what user group's advice I try. So I can’t buy or download anything from iTunes. Bad for business.
    Sixth, I updated to the latest version of iTunes but this weird problem remains. All suggested Apple fixes or user group fixes are useless. Where is Apple’s famous technical competency, vaunted customer support?, and user-friendly product reputation? Get it back, please.
    Solve this problem of yours ASAP for us, your numerous disgruntled, dissatisfied customers of iTunes. You can do better, should, and really –in all fairness- must.
    ===============================================================
    NOTE:  no password for iTunes exists in my Keychain. Is this a problem?
    Apple ACCOUNT ID, and iTunes ID password, works but not to access iTunes with my healthy internet connection.
    Apple store id It works via direct internet connetion but not through iTunes.  Very strange.
    ===============================================================
    FYI, Hardware Overview:
      Model Name:                       MacBook Pro
      Model Identifier:                 MacBookPro8,2
      Processor Name:               Intel Core i7
      Processor Speed:               2 GHz
      Number of Processors:    1
      Total Number of Cores:    4
      L2 Cache (per Core):         256 KB
      L3 Cache:                            6 MB
      Memory:                              16 GB
      Boot ROM Version:            MBP81.0047.B27
      SMC Version (system):      1.69f4
      Serial Number (system):   C0*******F8V
      Sudden Motion Sensor:
      State:   Disabled
    Intel 6 Series Chipset:
      Vendor: Intel
      Product:            6 Series Chipset
      Link Speed:       6 Gigabit
      Negotiated Link Speed:           6 Gigabit
      Description:      AHCI Version 1.30 Supported
    M4-CT512M4SSD2:
      Capacity:           512.11 GB (512,110,190,592 bytes)
      Model: M4-CT512M4SSD2                         
      Revision:           040H   
      Serial Number: 0000000012330912E75A
      Native Command Queuing:    Yes
      Queue Depth:   32
      Removable Media:        No
      Detachable Drive:        No
      BSD Name:         disk0
      Medium Type:      Solid State
      TRIM Support:     Yes
      Partition Map Type:     GPT (GUID Partition Table)
      S.M.A.R.T. status:         Verified
      Volumes:
    disk0s1:
      Capacity:           209.7 MB (209,715,200 bytes)
      BSD Name:         disk0s1
      Content:            EFI
    disk0s2:
      Capacity:           511.25 GB (511,250,432,000 bytes)
      BSD Name:         disk0s2
      Content:            Apple_CoreStorage
    Recovery HD:
      Capacity:           650 MB (650,002,432 bytes)
      BSD Name:         disk0s3
      Content:            Apple_Boot
      Volume UUID:   600737FB-7A29-3BAE-859E-CBFE2E90C39A
    <Edited by Host>

    This my sound too simple, but I just kept clikning on the arrow next to the selected music and it finally "Kicked" in.
    I live in Europe ,So Be persistent and don't give up !  Aug. 2013

  • How do I make sure that my second-hand iPod is not a stolen product?

    My husband recently recieved an iPod shuffle from a friend of his. His friend told him he could have it since the friend didn't have a computer to download songs from or charge the iPod with. He states that he thought the iPod already had songs pre-recorded on it, and even if he used someone else's computer to get the songs, it's too much trouble. My husband had lent him some money to pay a utility bill and he was using this iPod that he just happened to have laying around to pay my husband back. I don't trust my husband's friend. How can I make sure that he isn't trying to push a stolen iPod off onto my husband? We haven't used it yet. My husband doesn't have much use for the shuffle, but I would love it, if only I could find out whether it was stolen or not. I don't want to take it to the police and start a big fight or get his friend in trouble, but if it is stolen I want to know so I can send it back to Apple or who ever owns it.

    Hi pyrausagi,
    You sound like a very honest and sensible person, who is taking very reasonable precautions against becoming a second victim of theft. Others on these forums have been less cautious and have lost their recent purchases.
    My suggestion would be to make sure the person offering the iPod shuffle is easily identifyable. Make sure he/she has a real address and you know what it is. Get a picture of the person and make sure they know you have it. If they are not above board I'm fairly sure they won't allow this.
    There are a number of online databases of stolen merchandise. Look them up and check the serial number of the iPod against these databases.
    Apple will not tell you if the item is stolen. Their phone agents that work with the public do not have that kind of information.
    Note that doing all this will not guarantee you don't get a stolen iPod. Only purchasing one new (or refurbished) from Apple or an authorized reseller can do that. It does, however, give you a better chance.
    Best of luck. Enjoy whatever iPod you get.

  • How do I make sure my Logic Studio is legally registered to me?

    My partner and I are professional Musicians and I purchased my Logic Studio from a legit store online and have registered ity accordingly with Apple over the phone, so that I know its registered to me. My partner purchased his Logic Studio from someone on Craigslist, and I told him how important it is that he make sure to register his Logic in his name with the proper support at Apple. But when he called them to register it, they told hime he needed to register it online or pay for customer service in order to register it with them. Firstly, does that sound right? Why wouldn't Apple just register it to him while they had him on the phone, wanting to do that? I don't really see how registering a product to your name is the same as paying for technical support...? Secondly, we can't find anywhere online to register it? Where on earth do you go to register logic online?
    Anyone with some answers that could help with these questions would be greatly appreciated. I just want to be sure our butts are covered when we put stuff out in public domain, that its all made on software that is legally licensed to us. There were some horror stories in Music Business class in college, and neither of us want to be "THAT GUY", if you know what I mean...?
    Anyway, can anyone help shed some light on these issues for me please?
    Thank you
    Sublimaze69

    Apple does not require registration of software online. It's sufficient to enter the serial number at first run. This assumes the seller provided the original purchase information including the box with the serial number.

  • Em uninstalled "start up faster" addon im on firefox version 4 and yet when i try to install again i get the error message create service failed , can anyone tell me how to resolve this , i would like to make sure i get this addon back

    im on firefox 4 ,recently ,i tried new addon for firefox 4 called start up faster, i removed it, just as comparison to see boot up times , and then when i tried to install again i get the message create service failed, the icon stays on my desktop, want to check this addon is still performing its role, or could i fix something to make sure its properly on my addon list, thank you,

    Is it still showing up in your ad-on manager?

  • IPod Touch 4gen disabled "The iPod Software update server could not be contacted" Make sure your network settings are correct and your network connection is active or try again later.  Please help!

    My daughter forgot her passcode.  Her iPod Touch 4gen is disabled.  I've tried everything I've read online.  I get to the "Restore" part on iTunes and then I get the message, "The iPod Software update server could not be contacted.  Make sure your network connections are correct and your network connection is active or try again later."  How can this be so hard to do?  Why isn't there a simpler solution.  I live 2 hours from the nearest Apple store.  Any advice you may offer would be very much appreciated.

    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • INST-07408: Unable to install or configure the product on a 32-bit JVM on a 64-bit machine. Make sure to install and configure the product in supported modes.

    Hi there, i have an issue installing oracle forms and reports. its throwing this error"INST-07408: Unable to install or configure the product on a 32-bit JVM on a 64-bit machine. Make sure to install and configure the product in supported modes." on step 5. I have jdk 64bit installed, weblogic server was installed successfully but iam getting stuck somehow.
    Below are details of my pc.
    OS Name    Microsoft Windows 7 Professional
    Version    6.1.7601 Service Pack 1 Build 7601
    Other OS Description     Not Available
    OS Manufacturer    Microsoft Corporation
    System Name   ...........-HP
    System Manufacturer    Hewlett-Packard
    System Model    HP ProBook 4530s
    System Type    x64-based PC
    Processor    Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    BIOS Version/Date    Hewlett-Packard 68SRR Ver. F.23, 09/03/2012
    SMBIOS Version    2.6
    Windows Directory    C:\windows
    System Directory    C:\windows\system32
    Boot Device    \Device\HarddiskVolume1
    Locale    United Kingdom
    Hardware Abstraction Layer    Version = "6.1.7601.17514"
    User Name    ...........-HP\................
    Time Zone    South Africa Standard Time
    Installed Physical Memory (RAM)    4.00 GB
    Total Physical Memory    3.94 GB
    Available Physical Memory    1.00 GB
    Total Virtual Memory    7.87 GB
    Available Virtual Memory    1.25 GB
    Page File Space    3.94 GB
    Page File    C:\pagefile.sys

    To clarify further....  It is important to note that Forms/Repors 11.1.2.x software (including WLS and JDK) must be of the same archetecture as the machine.  In other words, you cannot use the 32bit Forms/Reports 11.1.2 software on 64bit Windows.  If you are using a 64bit OS, you must install the 64bit software.  Again, this would include Forms/Reports, WLS, and JDK

  • MacBook Pro 15" 2007 is dead. How to make sure it's the left I/O board?

    My 15" 2007 MacBook Pro is now completely dead. No light on the 85W magsafe (which does work on unibody MBP 15), battery completely empty, no sign of life whatsoever. Apple Store says I need a new "logic board" but could not specify which one, main or left I/O. How can I make sure it is the left I/O board?
    The computers' power circuits have been steadily declining in recent months. It has a checkered history - it's the one that ran hot, had kernel panics due to graphics card drivers, and had the graphics card hardware issue. The computer died in October 2008 and "the logic board" was replaced under Apple Care, free of charge. When AppleCare ran out I bought a unibody MPB and my son inhereted the 2007 model, using it for his music and being pretty happy with it, until the battery would not charge anymore. He then ran it on the power supply only, until it would not boot up. Apple Store did some magic with it (probably reset SMC), it ran for a while longer without charging battery, then did the same thing (not booting, but magsafe connector showing green LED). Searching on the web I found some hints as to how to reset SMC and this worked - once. Took the computer off the magsafe when going on a holiday, when I came back it had deceased.
    Apple Store quoted $ 540 for a logic board replacement. The left I/O board is available online for $ 119 and I am able to mount it myself, would do so if I could make sure that this unit has failed and not the main board. And that, friends, is my question.

    Let the Apple folks - or an AASP - run diagnostics on the machine. They'll be able to tell if you need a new logic board or not. Get an estimate - if it seems outrageous then it's probably time to buy a new computer.
    Just my 2¢...
    Clinton

  • My mac keeps freezing, i checked my ram fine, checked if SMART was verified it was, i reinstalled my software a few times and my RAM is 8gb used memory clean to make sure it wasnt a RAM probkem and my macbook is still freezing my RAM is 8gb i have

    My mac keeps freezing, i checked my ram fine, checked if SMART was verified it was, i reinstalled my software a few times and my RAM is 8gb used memory clean to make sure it wasnt a RAM probkem and my macbook is still freezing my RAM is 8gb i have 4.50/4.80 gb left and Mid -2012 model Macbook Pro what could be the problem also it started freezong when i upgraded to Yosemite and now my mac freezes once im logged into and sometimes has problem booting up either freezing or agent secuity error black screen??!!!!

    My mac keeps freezing, i checked my ram fine, checked if SMART was verified it was, i reinstalled my software a few times and my RAM is 8gb used memory clean to make sure it wasnt a RAM probkem and my macbook is still freezing my RAM is 8gb i have 4.50/4.80 gb left and Mid -2012 model Macbook Pro what could be the problem also it started freezong when i upgraded to Yosemite and now my mac freezes once im logged into and sometimes has problem booting up either freezing or agent secuity error black screen??!!!!

  • So I went to update my ipod on itunes....and a box appeared saying to make sure my network settings are correct and active, but the internet is working fine. Every device in my house has great internet connection. What do I do?

    So I went ot update my ipod on itunes....and a box appeared saying to make sure the internet setting are correct and active, but my internet is working fine. What do I do?

    Sounds like this:
    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • What is best antivirus software for Mac Mini? Recently the Trovi virus was on my computer and I want to make sure it is completely gone.

    What is the best antivirus software for Mac Mini?  I had thought Mac's were safer from viruses but recently I think the Trovi virus infected my computer, I have taken steps to remove but want to make sure computer is clean.

    To learn how to defend yourself from the threat of adware read How to install adware.
    There will always be threats to your information security associated with using any Internet - connected communications tool:
    You can mitigate those threats by following commonsense practices
    Delegating that responsibility to software is an ineffective defense
    Assuming that any product will protect you from those threats is a hazardous attitude that is likely to result in neglecting point #1 above.
    OS X already includes everything it needs to protect itself from viruses and malware. Keep it that way with software updates from Apple.
    A much better question is "how should I protect my Mac":
    Never install any product that claims to "clean up", "speed up",  "optimize", "boost" or "accelerate" your Mac; to "wash" it, "tune" it, or to make it "shiny". Those claims are absurd.Such products are very aggressively marketed. They are all scams.
    Never install pirated or "cracked" software, software obtained from dubious websites, or other questionable sources.
    Illegally obtained software is almost certain to contain malware.
    "Questionable sources" include but are not limited to spontaneously appearing web pages or popups, download hosting sites such as C net dot com, Softonic dot com, Soft pedia dot com, Download dot com, Mac Update dot com, or any other site whose revenue is primarily derived from junk product advertisements.
    If you need to install software that isn't available from the Mac App Store, obtain it only from legitimate sources authorized by the software's developer.
    Don’t supply your password in response to a popup window requesting it, unless you know what it is and the reason your credentials are required.
    Don’t open email attachments from email addresses that you do not recognize, or click links contained in an email:
    Most of these are scams that direct you to fraudulent sites that attempt to convince you to disclose personal information.
    Such "phishing" attempts are the 21st century equivalent of a social exploit that has existed since the dawn of civilization. Don’t fall for it.
    Apple will never ask you to reveal personal information in an email. If you receive an unexpected email from Apple saying your account will be closed unless you take immediate action, just ignore it. If your iCloud, iTunes, or App Store account becomes disabled for valid reasons, you will know when you try to buy something or log in to this support site, and are unable to.
    Don’t install browser extensions unless you understand their purpose. Go to the Safari menu > Preferences > Extensions. If you see any extensions that you do not recognize or understand, simply click the Uninstall button and they will be gone.
    Don’t install Java unless you are certain that you need it:
    Java, a non-Apple product, is a potential vector for malware. If you are required to use Java, be mindful of that possibility.
    Java can be disabled in System Preferences.
    Despite its name JavaScript is unrelated to Java. No malware can infect your Mac through JavaScript. It’s OK to leave it enabled.
    Beware spontaneous popups: Safari menu > Preferences > Security > check "Block popup windows".
    Popup windows are useful and required for some websites, but unsolicited popups are commonly used to deceive people into installing unwanted software they would never intentionally install.
    Popups themselves cannot infect your Mac, but many contain resource-hungry code that will slow down Internet browsing.
    If you ever receive a popup window indicating that your Mac is infected with some ick or that you won some prize, it is 100% fraudulent. Ignore it.
    The same goes for a spontaneously appearing dialog insisting that you upgrade your video player right this instant. Such popups are frequently associated with sites that promise to deliver movies or other copyrighted content "for free".
    The more insistent it is that you upgrade or install something, the more likely it is to be a scam. Close the window or tab and forget it.
    Ignore hyperventilating popular media outlets that thrive by promoting fear and discord with entertainment products arrogantly presented as "news". Learn what real threats actually exist and how to arm yourself against them:
    The most serious threat to your data security is phishing. Most of these attempts are pathetic and are easily recognized, but that hasn't stopped prominent public figures from recently succumbing to this age-old scam.
    OS X viruses do not exist, but intentionally malicious or poorly written code, created by either nefarious or inept individuals, is nothing new.
    Never install something without first knowing what it is, what it does, how it works, and how to get rid of it when you don’t want it any more.
    If you elect to use "anti-virus" software, familiarize yourself with its limitations and potential to cause adverse effects, and apply the principle immediately preceding this one.
    Most such utilities will only slow down and destabilize your Mac while they look for viruses that do not exist, conveying no benefit whatsoever - other than to make you "feel good" about security, when you should actually be exercising sound judgment, derived from accurate knowledge, based on verifiable facts.
    Do install updates from Apple as they become available. No one knows more about Macs and how to protect them than the company that builds them.
    Summary: Use common sense and caution when you use your Mac, just like you would in any social context. There is no product, utility, or magic talisman that can protect you from all the evils of mankind.

  • How to make sure 2 Variables of same class do not share internal variables?

    K, I am having trouble making a new instance of an object.
    I have a class call File_Class that have a public static attribute call File_Name.
    Now in another class, I have a linkedlist and each one of the element is supposely a File_Class object. The problem that I am having now is that whenever I create a new File_Class (File_Class New_Class = new File_Class (File_Name)), i am actually getting a reference to the old one so that anything that I change reflects on every element of my link list.
    My question now is
    1. how exactly do i enforce that a new instance of the object (File_Class) is created so i can make sure every element in my linked list is distinct.
    2. why is this happening at all
    thanks for your help in advance.
    Hung-Hsun Su

    Here is a simple example that i wrote just to demonstrate the point. it seems that i always get the same object no matter what. Thanks again.
    Result:
    AFTER 0 1 2
    1 2
    AFTER 1 10 20
    10 20
    10 20
    AFTER 2 99 999
    99 999
    99 999
    99 999
    Code:
    class T
              public static int A;
              public static int B;
    class Test
              static T TA[] = new T[5];
              private static void Set_Value (int i, int A, int B)
                        T t1 = new T ();
                        t1.A = A;
                        t1.B = B;
                        TA[i] = t1;
              private static void Print (int i)
                        for (int k = 0; k <= i; k++)
                                  System.out.println (TA[k].A + " " + TA[k].B);
              public static void main (String args[])
                        System.out.println ("AFTER 0 1 2");
                        Set_Value (0, 1, 2);
                        Print (0);
                        System.out.println ("AFTER 1 10 20");
                        Set_Value (1, 10, 20);
                        Print (1);
                        System.out.println ("AFTER 2 99 999");
                        Set_Value (2, 99, 999);
                        Print (2);
         }

  • This note appears when Firefox is launched from a non administrator user. How do I get rid of it? "The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again."

    This occurs upon initial boot up and no other users are on. No other firefox is running. The current version will then open without issue. Just want to warning removed

    If there are problems with updating then best is to download the full version and uninstall the currently installed version.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version or you lose your bookmarks and other data in the profile folder.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/Profile_backup
    If files already have been downloaded then you may have to remove the files in the updates and updates\0 folder.<br />
    You can delete active-update.xml and updates.xml as well if present.
    C:\Documents and Settings\&lt;user&gt;\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
    (%USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox)
    The "Application Data" folder in XP/Win2K and the "AppData" folder in Vista/Windows 7 are hidden folders.
    *http://kb.mozillazine.org/Show_hidden_files_and_folders

  • There a way to make sure two elements aren't randomly chosen twice?

    I want to make an array of 52 cards - then draw 21, but I want to make sure not to have any duplicates....
    Is there some easy way with ArrayLists or Linked lists to accomplish this?
    I am going to make a second array of random cards and thought of somehow making a variable or logic that reports that the card is taken, but I cant help but think there is a way to shrink the array as I take the card out or something like that.
    Help?
    Message was edited by:
    tvance929

    import java.util.*;
    public class ShuffleExample {
         public static void main(String[] args) {
              List < Integer > list = new ArrayList < Integer > ();
              //start of with [0,51], for the sake of example
              for(int i=0; i < 52; ++i)
                   list.add(i);
              Collections.shuffle(list);
              System.out.println(list.subList(0, 21));
    }

Maybe you are looking for