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 2 of 2

Thread: Syntax error on token ";", @ expected after this token

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

    Default Syntax error on token ";", @ expected after this token

    I get this syntax error on the closing ; of my last import statement

    package com.magicmojo.timelog;
     
    import android.app.Activity;
    import java.util.Date;
    import android.os.Bundle;
    import android.view.View;
    import android.widget.Button;
    import android.app.AlertDialog;
    import 	android.app.Dialog;
    What's the function of the suggested '@'?


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Syntax error on token ";", @ expected after this token

    That's not enough code to judge your problem. If you want help with code, provide an SSCCE that demonstrates the problem.

    Also, a quick google of your exception should give you some hints.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Replies: 6
    Last Post: November 12th, 2010, 04:40 AM
  2. Replies: 1
    Last Post: March 31st, 2010, 09:42 PM
  3. Replies: 1
    Last Post: January 15th, 2010, 01:32 AM
  4. "java.lang.NoSuchMethodError: main" and "fatal exception occured."
    By joachim89 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 10th, 2010, 08:35 AM
  5. Replies: 4
    Last Post: June 18th, 2009, 09:23 AM