Results 1 to 5 of 5
  1. #1
    tabrez_k81 is offline Member
    Join Date
    Dec 2008
    Posts
    10
    Rep Power
    0

    Default I am using Jdk1.3. I am not able to import Scanneer class in my program.

    I am using Jdk1.3. I am not able to import Scanneer class in my program.

    import java.util.Scanner;

    public class Welcome
    {
    public static void main(String args[])
    {
    }
    }


    Please help!!! 1 error while compling: Cannot resolve symbol

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default Java 1.5

    According to the Java API, it's been available since 1.5, so it's not available in JDK 1.3.

    Scanner (Java Platform SE 6)

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Yes, why don't you update your JDK with the latest? I don't see any point to work on with prier versions.

  4. #4
    tabrez_k81 is offline Member
    Join Date
    Dec 2008
    Posts
    10
    Rep Power
    0

    Default

    What is the link for updrading to java 1.5 ?

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by tabrez_k81 View Post
    What is the link for updrading to java 1.5 ?
    You can do this in two ways.

    1. Go to the control panel and open the Java Control Panel, and click on the Update tab. Click on Update Now button. To do this you must connected to the internet.
    2. Uninstall the version you have. Go to the Suns Download Page. Download the latest JDK version and install it in your machine. You can do this installation either online or offline.

Similar Threads

  1. Difference between jdk1.5 and jdk1.6
    By pradnya in forum New To Java
    Replies: 10
    Last Post: 12-08-2010, 11:52 AM
  2. INFO About JDK1.6
    By ravi in forum New To Java
    Replies: 2
    Last Post: 11-03-2008, 02:30 PM
  3. What is JDK1.5?
    By pawankumarom in forum New To Java
    Replies: 2
    Last Post: 09-05-2008, 07:41 AM
  4. possible feature of jdk1.7
    By sikandar in forum Advanced Java
    Replies: 2
    Last Post: 09-05-2008, 07:21 AM
  5. clock class program
    By jvasilj1 in forum New To Java
    Replies: 12
    Last Post: 02-01-2008, 08:27 PM

Posting Permissions

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