Results 1 to 4 of 4
  1. #1
    Rami is offline Member
    Join Date
    Jul 2011
    Posts
    28
    Rep Power
    0

    Default Can't use BasicFileAttributes

    I have java 1.6, so I don't have the class: BasicFileAttribues in java.nio.file.attribute
    it's written in it that it's since 1.7 .. is there a way I can use it either by installing java 1.7 or by adding this class to my API docs? and if yes how can I add it to the API docs?

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default

    If that class is in Java 1.7 then the only way you can use it is to install 1.7 on your machine.

  3. #3
    Rami is offline Member
    Join Date
    Jul 2011
    Posts
    28
    Rep Power
    0

    Default

    ok.. I found jdk 7 and jre 7.. i downloaded both but i still couldnt find that class.. Should I also download the class? and how can I do that!
    Thank alot!

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    Don't ask the same question more than once. Your other thread has been locked.

    db

Posting Permissions

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