Compiling(no not to exe question)

i get a cannot resolve symbol error, three of them:
cannot resolve inputstream read or bufferedreader....
class HelloWorld {
     public static void main (String args[]) {
     while(true) {     
     int input;
     int curr = 0;
     BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
     System.out.println("Print how many times?: ");
     input = br.readLine();
     while(curr < input) {
     System.out.println("Hello World!");
     curr++;

to aselvam:
Make sure you have your PATH set. See my last reply in this thread for information on how to:
http://forum.java.sun.com/thread.jsp?forum=54&thread=297555
Use javac to create a helloWorld.class file
Then, from the DOS prompt in the directory that contains helloWorld.class, enter "java -classpath . helloWorld" with the spaces and the period. Should run.
My other post will lead you to information on how to set the classpath, if you so desire.

Similar Messages

  • Can not Open exe file that is created by Labview 2010 SP1

    Hi Everyone,
    My Operating system is XP .. I installed .net latest version but I can not open exe file. I try to open  exe file, then  crashes , quits without seeing any interface.
    I tried with another computer whose o.s is xp too. I can open exe file. I saw it is created by Labview 2010 Sp1
    I dont know what the difference is. I attached config file. 
    Attachments:
    TPS65175 C (Vcom only).ini ‏1 KB

    burak35 wrote:
    [..]Do  I need any other components besides .Net? 
    That's a question only the provider of the application can answer.
    You could also take a look into the system event log if there is an indication for the reason of the application failing to start properly. It is possible that certain services are required for the application, but they do not run on the machine.
    Another point is possibly missing rights. So you might want to test the application once with the option "Run as Admin" (right click menu item on the application shortcut or the exe itself).
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Not rally a question, just wanted to share my absolute frustration with the update of iTunes...this is, without a shadow of a doubt THE WORST application i have EVER used, Mac or PC! And that's saying something with the amount of PC dross that's out there

    Not rally a question, just wanted to share my absolute frustration with the update of iTunes...this is, without a shadow of a doubt THE WORST application i have EVER used, Mac or PC! And that's saying something with the amount of PC dross that's out there...Apple...PLEASE update and give us back the old version of iTunes...

    Pull down View > Show Sidebar. This will give you back the same functionality of iTunes 10.x.x.

  • I have a DVD I recorded from my tv.  I am trying to make copies and when I insert the DVD I get a message saying it is blank even though it is not.  My question are: Why does my computer think it's blank? And how can I copy a DVD?

    I have a DVD I recorded from my tv.  I am trying to make copies and when I insert the DVD, I get a message saying the DVD is blank, which it is not.  My questions are: Why does my computer think it's blank?  And how can I copy the DVD providing my computer recognizes there is content on it?
    Thanks, Sheila

    TV video typically is copyrighted content.  We'd be breaking several rules trying to help you.  Good luck!

  • Previous Photos In Messages Not Showing (Blue Question Mark)

    Previous Photos In Messages Not Showing (Blue Question Mark)
    iPhone 4s, updated to iOS 8.1.1, and now previous photos in messages (imessage & text) show as blue question mark.
    Not viewable in details (view) either. However any new photos sent or received are viewable. PLEASE HELP!!!
    (MMS is turned on & over 5GB of free space on phone)

    I have the same issue. Does anybody know how to fix it?
    It is really annoying... I chose iphone to be ensure about functionality and stability of this product.
    Any help appreciated.
    IOS. 8.1.1 iphone 5s

  • Hello. I can not reset my questions to unlock Apple id

    Hello. I can not reset my questions to unlock Apple ID

    How to reset your Apple ID security questions.
    Go to appleid.apple.com, click on the blue button that says 'Manage Your Apple ID'.
    Log in with your Apple ID and password. (If you have forgotten your Apple ID password, go to iforgot.apple.com first to reset your password with a password recovery email)
    Go to the Password & Security section on the left side, and click on the link underneath the security questions that says 'Forgot your answers? Send reset security info email to [email]'.  This will generate an automated e-mail that will allow you to reset your security questions.
    If that doesn't work, or  there is no rescue email link available, then click on 'Temporary Support PIN' that is in the bottom left side, and generate a 4-digit PIN for the Apple Account Security Advisor you will be contacting later.
    Next, go to https://getsupport.apple.com
    (If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services')
    Choose 'More Products & Services', then 'Apple ID'.
    A new page will open.
    Choose 'Other Apple ID Topics', then 'Forgotten Apple ID Security Questions'.
    Click the blue 'Continue' button.
    Select the contact option that suits your needs best.

  • HT5312 I have a problem in my seat did not remember the questions and ask you to send it

    I have a problem in my seat did not remember the questions and ask you to send it

    We are fellow users and cannot alter your security questions...you need to contact Apple support at an appropriate number found in http://support.apple.com/kb/HE57 and then ask to speak with someone in account security.

  • The MOF Compiler could not connect with the WMI server

    I am trying to add node2 to SQL  cluster (2008)  However, I kept running into errors with the following error message:
    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI Server to start".
    I checked on the WMI services, they are started and running.renamed the WMI repository.  but nothing worked .
    Any idea what settings I need to change in order to ensure a successful instalation and add node 2 to sql cluster.

    Hi,
    Did SQL Server failed during installation and you somehow brought services online. Or it failed and next time you executed it succeeded IMO this error pops up because of remnants of failed installation on Node 1. With cluster specially if Installation on
    node 1 fails you should uninstall completely and remove all files related to SQL Server and then proceed.
    Have a look at below connect,see workaround and information posted by MS
    https://connect.microsoft.com/SQLServer/feedback/details/356258/the-mof-compiler-could-not-connect-with-the-wmi-server
    If above still not helps please post complete setup log file
    %Program files%\Microsoft sql server\100\Setup bootstrap\Log\ folder.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Suddenly, my java programs won't compile : Class not found error

    Hello, the strangest things happened on my win xp pro computer...
    My java-files wo'nt compile anymore. The compiler (javac) is complaning about classes he can't find. But these classes are in the same directory....
    Can anyone help me?

    generally female version are more complaining then the male versions!!
    if the male version is complaining then it must be something wrong in your path or classpath!!
    1) have you tried before to complie? and it has been complied successfully in past?
    2) check out your classpath.. is it containing "." ( a dot)? if not then just put a ".;" in starting of your classpath & start compiling your code in new command prompt...
    hope now your compiler will not complain... :)

  • HT5570 I do not remember the questions from my Apple ID to reset password

    I do not remember the questions from my Apple ID to reset password

    Hi Dima,
    If you are having issues with the Apple ID security questions, you may find the following articles helpful:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    Apple Support: Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/ht5312
    Regards,
    - Brenden

  • SQL 2012 installation Error-The MOF compiler could not connect with the WMI server

    Hi all,
      I am getting below error while installing SQL 2012 Dev edition in Win 8.1 Pro.
    I am facing lot of issues while installing SQL 2012 in Win 8.1 Pro.Any other steps we need to take to install SQL 2012 in Win 8.1.
    Thanks in advance. 

    Installation:
    Installation for SQL Server 2012
    Hardware and Software Requirements for Installing SQL Server 2012
    Installing the .NET Framework 3.5 on Windows 8 or 8.1
    About "The MOF compiler could not connected with the WMI server" error message:
      Please, verify the Windows Management Instrumentation has status "started" and is set with Startup Type "Automatic". (Alberto Morillo, SQLCoffee.com).
    José Diz     Belo Horizonte, MG - Brasil

  • CRM survey report not populating all questions per questionarie in BW.

    Hellos,
    We are facing issue with CRM survey report in BW.
    Against each questionnaire (say 1002) we have 10 questions, however not all 10 questions are appearing in the report.
    From our analysis we figured out the issue is from CRM side.
    Please let me know if anyone has faced this issue.
    Please let me know if more information is required.
    Thanks,
    MK

    Hi,
    Are you using datasource 0SVY_QUEST_TEXT ?
    "From our analysis we figured out the issue is from CRM side."-----can you please provide more detail about this ?
    Regards.

  • MS SQL Server 2008 not getting installed properly - MOF compiler could not connect with the WMI server

    I am trying to install SQL Server 2008 in my local machine. However, I kept running into errors with the following error message:
    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?

    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?
    can you check below two links.Make sure previous failed installation is removed completely.
    http://connect.microsoft.com/SQLServer/feedback/details/356258/the-mof-compiler-could-not-connect-with-the-wmi-server#
    Solution given by Connect MS is:
    Possibly the issue was caused by uninstalling from add-remove programs - at any rate, using aaron bertrand's suggestion below fixed the issue. Also of note - I used the local admin for the install.
    http://sqlblog.com/blogs/aaron_bertrand/archive/2009/02/20/the-xp-sp3-msxml6-sp2-sql-server-debacle.aspx
    yes - remove msxml6 and any other half installed portion of sql 2008 and REBOOT and install sql
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • JIT compiler "jitc" not found

    Hi,
    I've just installed JVM 1.4.2 for Unix Systems Services on z/OS 1.4 mainframe.
    When I issue the command java -version I get the following:
    # java -version
    Could not load dll : /usr/lpp/java/IBM/J1.4/bin/libjitc.so
    : EDC5157I An internal error has occurred.
    Warning: JIT compiler "jitc" not found. Will use interpreter.
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM z/OS Persistent Reusable VM build cm142-
    20070329 (SR8) (JIT disabled))
    I have check for libjitc.so in the java directory and it is there. Java compiles and runs fine. Can anyone help?

    OS/400 interprets Java methods until reaching the threshold specified by the os400.jit.mmi.threshold Java system property. After reaching the threshold, OS/400 uses the JIT compiler to compile methods into native machine instructions.
    To use the Just-In-Time compiler, you need to set the compiler value to jitc (default it isn't). You can set the value by adding an environment variable or setting the java.compiler system property. Select one method from the list below to set the compiler value:
    * From a command line prompt on your iSeries server, add the environment variable by using the Add Environment Variable (ADDENVVAR) command. Then, run your Java program using the Run Java (RUNJVA) command or JAVA command. For example, use:
    ADDENVVAR ENVVAR (JAVA_COMPILER) VALUE(jitc)
    JAVA CLASS(Test)
    * Set the java.compiler system property on the iSeries command line. For example, enter JAVA CLASS(Test) PROP((java.compiler jitc))
    * Set the java.compiler system property on the Qshell Interpreter command line. For example, enter java -Djava.compiler=jitc Test
    Once you set this value, the JIT compiler optimizes all of the Java code before running it.

  • Tracks on compilations are not appearing on an artist's song list. Is there a setting which will change this?

    Tracks from compilations are not appearing on an atist's song list. Is there a setting I can chnge to make them appear?

    On the iPod turn off Settings > Main Menu > Compilations & Settings > Music Menu > Compilations.
    See Grouping tracks into albums for further details.
    tt2

Maybe you are looking for

  • CRM Activity Report

    I need a report in BC to show all the contacts in the CRM with name, contact information, company name and a list of their activity (opened email, clicked on link, etc). There is a list of the Activity in the Activity tab under each contact but I am

  • Canoscan LiDE 25 Only Scans at Low-Resolution

    Since upgrading to Snow Leopard, I can't get a high-res scan out of Image Capture with my Canoscan LiDE 25. I've downloaded the 11.031 drivers from Canon's site but didn't improve anything. I open image capture, choose the advanced options, let it ru

  • How do I watch livestream on iPad 4

    I'm trying to watch a sporting event on a local tv station but I am unable to do so on my iPad.  It works on laptop.  Is there an app I need to get for this?

  • Selecting an ***area*** to be hyper-linkable

    Ok, this has been bugging me for quite some time now. I know how to make a URL hyperlink in Pages, but how can i get an area to hyperlink. So, even though there is only 1 sentence of text, I could get lets say, a 2" x 3" text box, with a picture, tex

  • Mac Pro keeps duplicating itself in Shared section of Finder

    My computer has recently started duplicating itself in the Shared section of Finder. It's listing up to five separate versions of itself in there. When I open Photoshop it's saying it used to be installed in a different location and needs to be repai