Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    I use the javac command on windows to compile my java programs. The javac command comes with the JDK.
  2. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    Sorry, I have no idea how to use a mac or your IDE.
  3. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    Open a command prompt window, enter:
    javac <SOURCEFILENAME>.java

    See the tutorial:
    http://docs.oracle.com/javase/tutorial/getStarted/cupojava/win32.html

    To copy the contents of the command...
  4. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    What is the symbol in the error message? Try compiling the source with the javac command to get the compiler's error message.
  5. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    What is the symbol that the compiler can not find?
    In post #9 the symbol not found is: var. It is clearly marked with a ^ beneath it.

    The message posted in post #12 does not have a ^ marking...
  6. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    See post #9 for a sample compiler error message posted inside of code tags.
  7. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    That sounds like a compiler error.

    Please copy full text of the compiler's error message and paste it here. Here is a sample:


    TestSorts.java:138: cannot find symbol
    symbol : variable var...
  8. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    Are you asking about a logic problem with your code?
    What you posted is not an error message.

    Can you explain what the problem is with the program? What is wrong with what it prints out?
  9. Replies
    20
    Views
    1,897

    Re: Problem: cannot find symbol

    Please post the full text of the error messages.
Results 1 to 9 of 9