Error, Tried to fix. But Cant fix

Well, I'm learning through Sam's Teach yourself Java 2 in 24 Hours book. And I'm at a part where you do this..
class Root {
public static void main(String[] arguments) {
     int numer = 225;
     System.out.println("The square root of "
     + number
     + " is "
     + Math.sqrt(number) );
And when I compile it I get a error message that it has no solution thing, and its points at the "n" in the last 2 Number area's.
+ (n)umber
+ Math.sqrt( (n) umber) );
And it wont stop with anything Ive tried. I dont want this to happen again with future projects that requires a "n". If anyone has a solution please tell forth.

HI There,
int numer = 225;
the spelling of number is incorrect because of which it is giving compilation issues... correct it and you are done... either use numer everywhere or use number everywhere...
Hope it helps,
Ashish

Similar Messages

  • My ipad doesnt have airplay how do i activate it where is it my ipad is only a year old iv tried looking everywhere but cant find how to enable it please help

    My ipad doesnt have airplay how do i activate it where is it my ipad is only a year old iv tried looking everywhere but cant find how to enable it please help
    [email protected]

    The following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.

  • Multiple Errors, tried all fixes, nothing seems to work.

    My phone was working perfectly and has been for the 2 months since I got it...
    All the sudden I went to use it and there was a white screen with some kind of error that wouldn't do anything so I did the battery pop reset.
    Now when it starts up it says Uncaught exception: java.lang.NullPointerException(looked it up, tried all fixes, none worked) and I also get the Application Registry.waitF or(**************) timeout and I had  Module 'net_rim_pdap_resources' not found error.
    None of my music will play and when I start it up it now goes to a screen that says Blackberry Device Platform and lists everything instead of showing any icons or the homescreen.
    I did a wipe hoping that would work and it didn't so now i've run out of options, can anyone help me?
    It sounded like a good idea at the time....

    You will need to use JL_Cmder to wipe the device and subsequently load the OS to the device. Follow the instructions here:
    http://www.blackberryfaq.com/index.php/How_do_I_wipe_the_BlackBerry_using_Jl_Cmder%3F
    If JL_Cmder does not work, follow this instructional:
    http://www.blackberryfaq.com/index.php/What_to_do_next_if_Jl_Cmder_will_not_connect_and_wipe
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Safari wont open; disc utility says errors on the drive but cant fix them

    Hi, Safari isnt opening despite my installing it again from the CD as well as trying to install it from the latest version available online (I saved it onto my thumbdrive from another computer). So I ran disc utility and it says there are errors but that its not allowed to fix them since its mac HD that has the errors.
    I couldnt copy and paste the log as it says 'not enough memory to complete the operation' but this is what the last bit said:
    Volume bitmap needs minor repair check volume information. The volume MacintoshHD needs to be repaired.
    Error: The underlying task reported failure on exit.
    Additionally a lot of other applications: tech tool deluxe (from the apple protection plan CD), word etc. have been quitting for no reason. Is this a virus? Is there anything I can download to fix this?
    Please help, I'm desperately trying to fnish my thesis on time...any suggestions would be hugely appreciated.
    Thanks in advance.

    Welcome to Apple Discussions
    I ran disc utility and it says there are errors but that its not allowed to fix them since its mac HD that has the errors.
    There are no viruses on your machine. Macs to date have not been affected by the typical viruses seen on PC's.
    It seems you have directory errors on your Hard Drive. These can be caused by the machine shutting off unexpectedly (power failure), corrupted application code, or even lack of routine system maintenance.
    You cannot correct directory errors on the same drive you are operating from - in this case your Hard Drive. In order to correct the errors, you need to start-up from your Installer DVD. Insert the disc. Once loaded, restart the computer. When the screen turns momentarily dark, hold down the C key. This tells the machine to start up from the DVD rather than the Hard Drive.
    You can release the C key once you hear the CD engaged and the grey Apple screen appears. When fully installed, go to the Installer Menu and select "Disk Utility". When the Disk Utility panel appears, single-click on your Hard Drive on the left side. This will open the First Aid Panel. On the right you'll see "repair disk". Select it. Errors will appear during the process. Once done, continue to rerun until you get a clean pass.
    Once finished, quit DU and quit the Installer. This will automatically restart the computer. From here, the log-in screen ought to appear and ultimately your Desktop.
    When complete, go to the Utilities folder and select "disk utility". Again, highlight your hard drive. In the first-aid panel on the left select "repair permissions." This will not take very long. Refrain from using the computer while it is running.
    Post back with results - there is more to do.

  • Firefox.exe application error, tried uninstalling firefox but will not delete Scriptff.dll says access is denied. so i can't make a complete clean reinstall. how do i fix this?? thanks!

    saw in previous questions that to fix this application error, i need to uninstall and do a clean install of firefox. however, Scriptff.dll says that access is denied and can not be deleted from the program files. how can i fix this so i can run a clean install?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • PS12.0.4/ACR 6.3 Update errors - tried all fixes, no go.

    Got a D3100, said Camera Raw was outdated. Tried to update via update tab AND manual download, got "not applicable" error.
    Tried to update to Photoshop 12.0.4 via update tab and manual download, same "not applicable" error.
    Using CS5
    Win7 64bit
    My Premiere Pro updated fine however....very frustrating, 3 jobs this weekend and Im ground to a halt with this.
    Lightroom works/opens RAW fine, but I like photoshop more and want to fix this BADLY.
    Any help?

    There is no folder literally with \productname\ in it normally.  I assume you found the folders specifically for CS5.
    Here are the actual paths for the two Camera Raw plug-in files, the first for 32 bit and the second for 64 bit.  Note that these are TWO DIFFERENT FILES.
    C:\Program Files (x86)\Common Files\Adobe\Plug-Ins\CS5\File Formats\Camera Raw.8bi
    C:\Program Files\Common Files\Adobe\Plug-Ins\CS5\File Formats\Camera Raw.8bi
    If you've updated these exact files with the proper copies of Camera Raw.8bi that you received, but you find that the version has not changed, then either you received a version of Camera Raw other than what you thought it should be, or you have other copies of Camera Raw.8bi that Photoshop is picking up from somewhere else.
    Windows Search is terrible for this sort of thing.  I recommend you start a privilege-elevated CMD window and type the following command, followed by Enter.  It may take a while to complete, but it WILL tell you where all the copies of Camera Raw.8bi are located on your system:
    DIR  "C:\Camera Raw.8bi"  /s  /b
    -Noel

  • Errors trying to fix tempdb

    I'm getting corruption errors in tempdb on sqlserver 2005
    The microsoft site said to remove the tempdb files and start the database with the following switches:
    sqlservr -c -f -T3608 -T4022
    When I do that I the database won't start and gives the error:
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0x80092004, status code 0x80.
    General searching doesn't show a workaround.
    Thanks

    Just remove the tempdb files and make sure that you have
    TempDB folder exist. SQL Server itself will generate a required files from model db.
    Just restart the sql server.
    You've use those switches only when you want to create tempdb files on a different location.
    --Prashanth

  • I accidently Hid The menue bar and Navigation bar and only left with the bookmarks...I tried right click but cant find the right spot for the box to pop up to check menue bar, i also tried pressing alt and it did nothing. what else can i do? I need this a

    I was trying to hide just my clock for the history and the menu bar(file,edit all that), I dont know what i clicked but it got rid of everything except for the bookmark tabs. I know if you right click on the menu bar you can fix it, but since there is no menu bar anymore, this isnt working. i looked up how to do it in the forum found out you can press alt and do it that way, maybe i didnt do right, but that didnt work either.please help me!
    == This happened ==
    Just once or twice
    == I tried to hide my history and menu bar, and it jost got rid of it all. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)

    If that still doesn't work then see http://kb.mozillazine.org/Corrupt_localstore.rdf
    (caution: do not delete the localstore.rdf file in the Firefox program installation folder)
    Note:
    Deleting the file [http://kb.mozillazine.org/localstore.rdf localstore.rdf] will reset the customizations of the toolbars to the defaults.
    You can rename ''localstore.rdf'' to '''localstore.rdf.sav''' to test if that solves it.
    Then you can restore the customization by copying ''localstore.rdf.sav'' to ''localstore.rdf'' if it didn't work.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • My friends iphone is set where i can locate but when i try to locate the phone the red dot shows up but we are texting each other while im trying to locate but cant

    Im trying to locate my friends iphone while we are texting each other but it only shows a red dot, why cant i locate it?

    Because you can text does not mean you can locate.
    Tow possiblities off the top of my head:
    Location Services turned off (check in Settings > Location Services)
    Restrictions are set for location (check in Settings > General > Restrictions)

  • Won't open any downloaded programs, i tried downloading winace but cant open that either. how do i open zipped or exe files?, won't open any downloaded programs, i tried downloading winace but cant open that either. how do i open zipped or exe files?

    I am a PC user - bought my 1st Mac today. Was trying to download a VLC player for my movies but i can't open files when i download them. I tried downloading winc=ace - but it came in an exe file as well and it just opens as a word file of computer language. I tried loking on the net - not much help - something about mounting a file - but there is no file mounter. Please help getting very frustrated. I guess i know how people who have never used a computer before feel like....
    Thanks for your help

    You need MacUnace from the Winace site
    VLC for MAc is here http://www.videolan.org/vlc/download-macosx.html

  • Can't remember my password to authorise itunes and it doesn't send me email to change it i dont get the email tried 100 times but cant find help anywhere

    I HAD AN IPHONE IN A DIFFERENT EMAIL ADDRESS AND AND I HAVE NOW THE NEW 4S BUT iTUNES KEEP ASKING ME TO AUTHORISE AND I CAN'T REMEMBER PASSWORD  AND ON TAKING ME TO APPLE TO PUT IN ID & PW IT SAYS EMAIL SENT BUT I NEVER GET A EMAIL I HAVE TRIED ABOUT 100 TIMES NOW AND STILL NOTHING HOW CAN I COMBINE THE TWO IPHONE DATA AND DOWNLOADS IN ITUNES WITHOUT MY PASSWORD CAN YOU SEND ME AN EMAIL DIRECT AND SEE IF I GET THAT ONE THEN I CAN PUT IN MY DETAILS ALSO IT DOESN'T ACCEPT MY D.O.B SO I AM UP THE CREAK! PLEASEPLEASE HELP! PENBAGEM???????? IT IS A 3GS BUT I NOW HAVE A 4S IN DIFFERENT EMAIL ADDRESS SO CONFUSED!

    Is your phone signed into an old iCloud ID ("email address") and you need to change it to your current ID?  Is so, there is a way around this.
    Otherwise, you can either try resetting your password at https://iforgot.apple.com or by contacting Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password, or you can back up your phone to your computer instead.  To do this, connect your phone to your computer, open iTunes and go to File>Devices>Transfer Purchases.  Then go to File>Devices>Back Up.

  • Tried following instructions but cant install media centre why?

    After following instructions from media centre,eg. register with net passport site and windows messenger Istill can,t download this. I have the media centre icon in my all programs box butwhen I try to burn n
    my music it disallows tells me to install media player as it is not properly installed. this is a pre owned p.c. and I am a complete novice.Can you help and oblige please?

    I assume you are using a standard Coax areal lead to connect to your sky box? If so you need to find out what channel the sky is comning in on. In order to do this, use the Qomsio player to search the channels and when it finds the SKy signal it will tell you what channel it is transmitted on . Something like Channel 36. Ok, now you have this information, boot the machine and go into Mediacenter. You need to Manually add this channel. As Media center works by using the EPG, any channels such as the skyinput needs to be added.
    So from the main menu, go to
    settings > TV > Guide > Add missing Channels > Add Channel
    Now enter the name of the channel you want displayed when viewing. IE SKY.
    Now you have to enter the channel number IE 36 that you got from the Qosmio engine. This will now be place on the next available channel. IE 6/7/8 etc. All you do now is go to the channel and it will display the Sky input.
    Hope this helps

  • Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing!

    Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing! I am desperate to get access to my itunes to get music on my phone and all of this just makes me want me to sell my iphone since there is no other way to add music to my phone. If things go get sorted soon you can say goodbye to my support.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • HT4528 the camera on my iPhone 4s color is all weird and the shutter keeps opening and closing trying to fix its self but cant.  I rest my phone and turned it off and back on again.. how do i fix this. I only had the phone maybe six months.

    The camera on my iPhon 4s is not working correctly.  It is colored all strange and the shutter keeps opening and closing trying to fix the problem but it cant.  I have already reset my phone and turned it off and on again.  How do I fix this??

    If resetting the camera app doesn't work you can try restoring your iPhone's software. The entire process takes about an hour to an hour and a half. Make sure you do a backup. Make sure you do a backup.
    Backup:
    http://support.apple.com/kb/HT1766
    Restore:
    http://support.apple.com/kb/HT1414

  • HT201442 I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    Error 3194:
    This device isn't eligible for the requested build
    It means that Apple has stopped signing the version of iOS that you have, try downloading the latest iOS version, then try Restore again.

Maybe you are looking for

  • DVD from converted Super 8 won't play since system upgrade?

    DVDs converted from Super 8 in 2009 previously worked fine on Mac, but since recent upgrade to 10.8.4 (?from 10.6.8) video will not play, although audio does. Info from disk includes: UDF (Universal Disk File?); DVD Player Document, Unix Executable F

  • My display keeps changing to 800x600 after upgrade to 10.8.3

    After upgrading to 10.8.3 my display keeps changing to 800x600 after it wakes up from sleep. I have to go to preferences and set again, and it works. It is quite annoying. Any clue.

  • Qosmio F55-Q502 can't use GPS in Vietnam and Southeast Asia

    I have a Toshiba Qosmio F55 Q502 Laptop with Garmin GPS integrated system buy from US. But when i carry it to Vietnam and try to use GPS, it not work. I open Garmin Mobile PC, It just have US and EU maps. I try to turn on GPS, but the satellite signa

  • Bluetooth 2.0 with A2DP profile support

    I have a set of parrot Hi-Fi speakers with built in bluetooth connectivity. They require Bluetooth 2.0 with A2DP profile support to pair. Does anyone if the new Macbooks with Leopard OS supports this ??

  • Webserver on VMS server stops working

    Folks, I just deployed VMS with the latest release and service pack level. I am unable to see the event viewer of IDS MC as it complains about apache not working correctly, is it a BUG? or may be my log files are too big?? If i reboot the VMS server,