Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: NEW TO PROGRAMMING, PLEASE HELP (cannot find symbol error)

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default NEW TO PROGRAMMING, PLEASE HELP (cannot find symbol error)

    This is one of my first assignments for my CS1 class. I realize it may be very simple, but even though I have typed in the code EXACTLY as it should be I keep getting "GameLauncher.java:12: error: cannot find symbol". I don't understand what I've done wrong in line 12 that makes this error.

    here is the program exactly as I've typed it. please help.

    /**
    *@author censored
    *@version 2011.08.26.01
    *@since 2011.08.26
    *Program00
    */

    public class GameLauncher
    {
    public static void main(String[] args)
    {
    GuessGame game = new GuessGame();
    game.run();
    }
    }


  2. #2
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    661
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: NEW TO PROGRAMMING, PLEASE HELP (cannot find symbol error)

    Can't find any issue's with it
    What's the code for GuessGame anyhow?

    Edit: Can you post the full error message you got from the compiler?

    Note: Don't write your titles in capital letters, It makes people less inclined to help IMO.
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: NEW TO PROGRAMMING, PLEASE HELP (cannot find symbol error)

    Is the class definition for GuessGame on the classpath so the compiler can find it?

Similar Threads

  1. Cannot find Symbol?
    By defmetalhead in forum What's Wrong With My Code?
    Replies: 8
    Last Post: July 5th, 2011, 08:48 AM
  2. Cannot find symbol error
    By AnuR in forum What's Wrong With My Code?
    Replies: 9
    Last Post: February 23rd, 2011, 02:50 PM
  3. Cannot find symbol?
    By stealthmonkey in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 10th, 2010, 10:02 PM
  4. cannot find symbol Error
    By bananasplitkids in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 9th, 2010, 02:36 AM
  5. Replies: 2
    Last Post: November 3rd, 2009, 06:28 AM

Tags for this Thread