Results 1 to 3 of 3
  1. #1
    chappa is offline Member
    Join Date
    Dec 2009
    Posts
    19
    Rep Power
    0

    Default @Override Exception Error

    Hi,


    I need to run my current java code, which uses an @override expression on a computer with an older Java version (that doesnt seem able to use @override...).

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,371
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by chappa View Post
    Hi,


    I need to run my current java code, which uses an @override expression on a computer with an older Java version (that doesnt seem able to use @override...).
    @Override is a compile time annotation; compile your class on the computer that runs the newer compiler and specifiy the target JVM with the -target flag for the compiler.

    kind regards,

    Jos

  3. #3
    chappa is offline Member
    Join Date
    Dec 2009
    Posts
    19
    Rep Power
    0

    Default

    @Override is a compile time annotation; compile your class on the computer that runs the newer compiler and specifiy the target JVM with the -target flag for the compiler.

    kind regards,

    Jos
    Hi,


    How can I compile a class? And how do I specify the target JVM with a target flag?


    Thanks

Similar Threads

  1. exception error
    By kira137 in forum New To Java
    Replies: 5
    Last Post: 10-12-2009, 07:46 AM
  2. Exception error
    By Rose88 in forum New To Java
    Replies: 8
    Last Post: 07-06-2009, 10:22 PM
  3. Exception error
    By jaiminparikh in forum New To Java
    Replies: 0
    Last Post: 03-20-2009, 09:06 PM
  4. Replies: 6
    Last Post: 10-27-2008, 12:25 AM
  5. JSF error+exception
    By Peter in forum SWT / JFace
    Replies: 1
    Last Post: 07-04-2007, 06:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •