Closed Thread
Results 1 to 5 of 5

Thread: Current Java version...

  1. #1
    Cander's Avatar
    Cander is offline Learning Programmer
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    63
    Rep Power
    0

    Current Java version...

    I'm writing a tutorial and I guess I should add somewhere what version of Java its written for... If I'm having "jdk1.6.0_17" and "jre6" on my windows 64bit computer, how would I write what version its written for and is there any other information that I should give that would be necessary to be in a Java tutorial?

    Thanks in advance.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    curse is offline Newbie
    Join Date
    Mar 2010
    Location
    Ottawa, Canada
    Posts
    21
    Rep Power
    0

    Re: Current Java version...

    You could say that built your code using JDK 1.6 u17, or you could look at the API for all of your various types and figure out which one has the highest version requirements. However, most people have a recent version of Java, so you should be fine.

  4. #3
    Cander's Avatar
    Cander is offline Learning Programmer
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    63
    Rep Power
    0

    Re: Current Java version...

    Okay thanks. Well it was most for the documentation so you know years later how updated the tutorial is. At the moment you can indeed assume everyone runs the latest version.

  5. #4
    curse is offline Newbie
    Join Date
    Mar 2010
    Location
    Ottawa, Canada
    Posts
    21
    Rep Power
    0

    Re: Current Java version...

    Java releases are backwards compatible with programs written in a different version; Sun simply deprecates methods that are no longer "safe" to use, although they will still work. Most modern IDE's will tell you if a method is deprecated or not when you try to call it.

  6. #5
    GMVResources's Avatar
    GMVResources is offline Learning Programmer
    Join Date
    Jun 2010
    Posts
    72
    Rep Power
    0

    Re: Current Java version...

    When you use a newer version of Java it won't matter what version you use, unless the other person uses an older version, so it's really fine so just post the version you used on it.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need to read version of DLL in java
    By code0 in forum Java Help
    Replies: 0
    Last Post: 12-11-2009, 01:23 AM
  2. Replies: 1
    Last Post: 01-29-2008, 11:40 AM

Tags for this Thread

Bookmarks

Posting Permissions

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