Why the console gives me the message "You should need class or interface"

Today I copy some Java codes from the webs,I paste them on the EmEditor
I run the program But the console give me the message "You should need class or interface" I think maybe i paste somes some errors on it So i type the program by myseif But aftering running it I get the same result "You should need class or interface"
here is my code:
public class foo
     static String s;
     public static void main(String[] args ){
          System.out.println("s="+s);
}

public class foo
     public static void main(String[] args )
String s="Hello";
          System.out.println("s="+s);
}run that, it will work.

Similar Messages

  • HT201303 I have changed my country from India to Oman. Now when I try to download some application, the message "you should shift to Omani store for purchase". In itune it shows, you can only purchase from Omani Store". How to correct this contradiction.

    Hi
    I have changed my country from India to Oman. Now when i try to update or download anyu application, the message," Your account is not valid for use in Indian Store. You must switch to the Omani Store before purchaseing" comes.
    In Itune account details, the country is shown as Oman and payment details are also OK thru  Oman based bank's Visa card.
    Now the problem is that I cannot update any of my applications or download any new applications.
    Could you please help.
    Regards,
    Karingada

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • IPhoto has somehow uninstalled itself, or I've done something wrong. If  try to open iPhoto, it gives me this message: "You can't open the application "iPhoto" because it may be damaged or incomplete. I have an iMac OS X. How do I reinstall iPhoto please

    iPhoto has somehow uninstalled itself, or I've done something wrong. If I try to open iPhoto, it gives me this message: "You can't open the application "iPhoto" because it may be damaged or incomplete". I have an iMac OS X. How do I reinstall iPhoto please?

    What is your iPhoto version and how did you install it originally?
    If it came with a new mac and Lion or Mt. Lion installed, you can delete iPhoto from the Applications folder (don't empty the Trash) and download it again from the "Purchased" tab of the App Store.
    If you have bought the iLife CD, reinstall iPhoto from the installation media, after deleting it from the Application folder.
    Or if your Mac came with an older MacOS X, but iLIfe preinstalled, use the system Install CDs,  see Terence Devlin's post here:  Re: My iPhoto isn't working. Error message says "you can't open the app "iPhoto" because it may be damaged or incomplete.
    Regards
    Léonie
    P.S: This may not only be a problem of a broken iPhoto. What did you do, directly before this happened? Did you run a program, that will clean the Mac to save space, like "Clean My Mac" or "Mac Keeper"? These little helpers can be risky and overdo it and remove too much. Then it might be safer to reinstall your system, because other essential files might be missing now.

  • Open message to Apple - why the **** do you force us to deal with this Genius Playlist crap if using iTunes Match?? GET AN OFF OPTION INSTALLED.   I AM PAYING FOR MATCH SO QUIT FORCING YOUR INANE ATTEMPTS AT WHAT YOU THINK I LIKE!!!!!!

    Open message to Apple - why the **** do you force us to deal with this Genius Playlist crap if using iTunes Match?? GET AN OFF OPTION INSTALLED.   I AM PAYING FOR MATCH - SO QUIT FORCING YOUR INANE ATTEMPTS AT WHAT YOU THINK I LIKE ON ME !!!!!!  YOU ALREADY HAVE THE OPTION WHEN MATCH IS OFF.  HOW CAN YOU POSSIBLY THINK THERE IS A CONNECTION?????   LET ME ME ME DECIDE!
    IF anyone knows how to turn that Genius crap OFF WHILE MATCH IS 'ON' - Please let me know. Under 10.7
    I HATE THESE PLAYLISTS - NEVER USE THEM- WASTES MY SCREEN REAL ESTATE..

    At the moment it is not possible to disable Genius Playlists on iOS devices. However, these forums are user-to-user forums and no Apple employees participate here. You would be better to submit your polite feedback via the Apple Feedback page: http://www.apple.com/feedback/

  • Why am I having trouble running Adobe Flash Player 11 on my 2011 Macbook Air? I've downloaded and installed it repeatedly; yet when I try to open certain images online or play certain Youtube segments, I get the message, "You must have Adobe Flash 11..."

    Why am I having trouble running Adobe Flash Player 11 on my 2011 Macbook Air? I've downloaded and installed it repeatedly; yet when I try to open certain images online or play certain Youtube segments, I get the message, "You must have Adobe Flash 11..."  My computer tells me it is installed and running.

    If you're sure you've installed the latest version of Flash, take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 5.
    1. If you're only having trouble with YouTube videos, sign in to your YouTube account and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
    2. If you're getting a "blocked plug-in" error, then from the menu bar select
     ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Check Now. Quit and relaunch your browser.
    3. Triple-click the line below to select it:
    /Library/Internet Plug-Ins
    Right-click or control-click the highlighted text and select
    Services ▹ Open
    from the contextual menu. A folder should open. Delete the following item, or anything with a similar name, if present:
    Flash Player (failing).plugin  
    You may be prompted for your login password.
    4. Re-download and reinstall Flash. Download it from this page:
    Adobe - Install Adobe Flash Player
    Never download a Flash update from anywhere else.
    5. If you get a "missing plug-in" error, select
    Safari ▹ Preferences... ▹ Security
    from the Safari menu bar and check the box marked Enable plug-ins.
    6. Select
    Safari ▹ Preferences... ▹ Extensions
    from the Safari menu bar. If any extensions are installed, disable them.
    7. In the Safari preference window, select
    Privacy ▹ Remove All Website Data
    Close the window. Then select
     ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Delete All. Close the preference pane.

  • When I access the CC desk, the message "You've been signed out" ... WHY ???

    When I access the CC desk, the message "You've been signed out" ... WHY ???

    Andreaunidea please make sure your Creative Cloud Desktop application is up to date.  I would recommend reviewing You are no longer signed into your Creative Cloud applications.

  • HT5622 Why am I seeing the message"you haven't verified ur id yet"every time I tried to install an app but i did verify my id

    Why am I seeing the message"you haven't verified ur id yet"every time I tried to install an app but i did verify my id

    Sign out and back into your apple id from Settings>iTunes and App stores>(Your apple ID)>Sign Out and then sign in again with the new address. Close app store from running in the background (or restart the phone if your unsure how to do this). If when trying to update any apps they are still asking for the old apple ID, delete and re-install those apps.

  • Why do I get the message You are not allowed to create or update this content

    Why do I get the message You are not allowed to create or update this content/

    Well, maybe we also need a "smart" answer. You've provided zero information from which you expect us to provide an answer? Maybe had too much weed today, Bob?

  • Why when opening an application I receive the message "you must connect to a wi-fi or a cellular data network"?

    Hi
    When I try to open a radio application I receive the message "you must connect to a wi-fi or a cellular data network"
    My iPhone is regularly connected to my wi-fi and works regularly with any other connection.
    What can I do?

    Shut down and restart the app...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Tap and hold any icon until they wiggle
    - Press the red to delete the offending app from this list.
    - Press the home button twice when done.
    - Restart the app

  • I once created an account and changed meanwhile my Apple ID. Now, when trying to log in to iCloud, I get the message: "You are already logged in". I cannot get access to the account in the way, that, for example, the options appear on the right hand side.

    I once created an account and changed meanwhile my Apple ID. Now, when trying to log in to iCloud, I get the message: "You are already logged in". I cannot get access to the account in the way, that, for example, the options appear on the right hand side.
    What can I do?

    Thank you, pvonk, but:
    To be more precise: I am talking about the logging-in within the System Preferences on my iMac.
    When trying to log in with the old ID, I get no access, i.e. it says "Try again"...-Trying the same with the new one gives me the result I mentioned in my first question...
    Now I found out how to do it: I had to erase all accounts-then I could sign in with my Apple-ID. Thanks again.

  • When trying to log in, I've got the message "you've been signed out"

    I am trying to sign in on cloud but after entering my login and pwd , i have the message "you've been signed out"
    does someone know why?

    Hi Laurie,
    Welcome to Adobe Forum,
    Please refer to the steps in :
    http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html
    http://forums.adobe.com/message/6182662
    Regards,
    Rajshree

  • I downloaded the new 9.? version told my PC to run it. It said to restart my system to take effect. I did. Every time I try to get on line it gives me the message that I need to restart my system. What should I do?

    I downloaded the new 9.? version told my PC to run it. It said to restart my system to take effect. I did. Every time I try to get on line it gives me the message that I need to restart my system. What should I do?

    Do a clean (re)install and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\).
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 9.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *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.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    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
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Recently keep getting the message "You've been signed out" [was:dew1188]

    Why do i keeps getting the message "You've been signed out" when I try to enter CC? This is new. I've always been able to get into CC and have downloaded Photoshop and many other apps.

    http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html may help

  • Trying to open Premiere elements 12 for the first time even though I had it loaded for a while.  It gives me a message that I need to be connected to the internet (which I am) or that my clock is off (it is correct).  Any suggestions?

    Trying to open Premiere elements 12 for the first time even though I had it loaded for a while.  It gives me a message that I need to be connected to the internet (which I am) or that my clock is off (it is correct).  Any suggestions?

    First we need to check , whether the LAN settings is set to detect settings Automatically or not.
    Follow below steps .
    1)Open Control Panel and then click on the option "Network and Internet" .
    2)Click on Internet options, click on 'Connections' tab.
    3)In the 'Connections' tab, select 'LAN' settings, you will be able to view the Local area network settings box.
    4)Check the box-"Automatically Detect Settings" and then "uncheck" all the other check boxes like 'Use automatic configuration script', 'Use a proxy server' , Bypass proxy server' ,then click on ok button .
    5)Click on "LAN settings" button again , make sure "Automatically Detect Settings" is the only option selected, keep the LAN properties window open.
    Then launch Premiere Elements 12 and try to sign in.
    If the settings were already set like that or you face same issue after signing in , let me know

  • Sending - "The message you atternpted to send was deterrnined to be sparn"

    Hi,
    You can get this response even on a personal email with nothing spam-like. 
    ==================================================
    (User) - Verizon, 1 messages left lo send , [Time]  information
    There has been an error transferring your rnail I said and then the SMTP Server (outgoing verizon.net) said      550 5 71 The message you atternpted lo send was deterrnined lo be sparn. Please visit http //www verizon.net/sparnfaq for rnore inforrnalion
    ===================================================
    The Verizon recommended email fix does nothing.
    [email protected]
    So I sent the email to another address of my own, to troubleshoot, and then started taking out sections, to see what was triggering the spam.
    Turned out to be a link to an encyclopedia entry
    http://haydock1859.tripod.com/id94.html
    In fact, it was a string in there, since it occurred even with a string like:
    "haydock1859.tripod.com/id94"
    with no url hot link.  I did not check further to see if "tripod" was the actual "spam offense".  Once I took out the line, the email went fine. 
    Since this has only happened about twice in hundreds of emails sent, the problem at this time is annoying but not disastrous, however it is a reflection on Verizon, showing a type of bureaucratic stagnation and incompetence. (Never had any such problem with TWC.)
    Anyway,  I suggest my method for finding out the cause.  I use Eudora as my sender, and it makes it clear to me whether the mail was sucessfully sent.  This is probably true for all solid email sending programs.
    Steven Spencer
    Queens, NY

    Since Tripod is a free website provider, I would assume that many messages with tripod.com links would be marked as spam. The Spam Filter is a dynamic system that changes depending on what users think is spam. If it sees urls including "tripod.com" marked as spam enough times, it makes sense that it would eventually start blocking them.
    Verizon can't just tell you how to get around their spam filter, because then it wouldn't stop any spammers.
    Some people have suggested sending the message to [email protected] for investigation. This may work for you as well.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

Maybe you are looking for

  • Cisco 1841 SSL VPN and Anyconnect Help

    I am pretty new to Cisco programming and am trying to get an SSL VPN set up  for remote access using a web browser and using Anyconnect version 3.1.04509. If I try to  connect via a web browser I get an error telling me the security  certificate is n

  • How to Download the Custom Package Created with all the objects

    Hi All, Could any body let me know how to download a custom package created in sap with all the objects including webdynpros and modulepool programs. Thanks.

  • PC Suite 682 gives error 1713 and aborts installat...

    Error reads "Error 1713.PC Suite cannot install one of its required products" Installation then aborts. Have no other version of PCSuite installed. Nevertheless I tried cleaning with PC Clean, no luck. have downloaded and reinstalled. Tried installin

  • Entourage Question: Enabling the "From" field for Send on Behalf emailing..

    You know like in Outlook 2003 Pro you can enable the "From" field and send an email as someone else (so long as you have permission to so that is)? How do you enable that same field in Entourage 2004? best regards, pheidippides

  • Weblogic 10.2  _pageflow folder missing

    Hi, I'm trying to build a project using ant. I used BEA workshop which automatic build option, which generates 2 xml files based on 1 java file havin jpf annotations. These 2 xml files are generated in build/web-inf/class/_pageflow folder Previous be