Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Java Runtime requirement change proposed from Java 6 to Java 8.

  1. #1
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,729

    Default Java Runtime requirement change proposed from Java 6 to Java 8.

    Discussion started towards the end of this thread.

    KoLmafia requires users to have Java 6 or better installed on their machines. There is interest, on the part of the devs and others, in changing that requirement to Java 8. The only reason NOT to do that is if there is a substantial and/or loud and/or vocal portion of the user base who cannot upgrade and we know about them.

    This is your chance. If you can't upgrade then let us know and (optionally) why.

    If you want to upgrade you may chime in but you're probably just preachin' to the choir :-)

    The final decision is veracity's given her position of first among equals among the devs. Changes related to that decision will be rolled out no earlier than February 24, 2020 at 12:01 AM GMT. (That date is arbitrary and may change but if there is no deadline this could drag out for a very long time).
    Well, thank you.
    Originally Posted by Veracity View Post

  2. #2
    Senior Member MCroft's Avatar
    Join Date
    Feb 2009
    Posts
    103

    Default

    There's no Kolmafia MOTD function, where you can direct people to this thread, is there?

  3. #3
    Senior Member zarqon's Avatar
    Join Date
    Nov 2007
    Location
    Seoul, Korea
    Posts
    3,821

    Default

    And Zarqon spake unto the choir, saying: I have no objection!
    Sig by JakAtk
    My scripts: Prefref Plus | Skillref Plus | One-Click Woss | Om****est (??) | Psychose-a-Matic | RandBot
    Combat suite: Best Between Battle | Mercenary Mood | SmartStasis | BatMan | BatMan RE
    For script authors: ASH Wiki | ZLib | BatBrain | CLI Links | Drag-n-Drop Inventories | CanAdv | Script Registry | Map Manager
    If you appreciate my work, help me become BAT KING OF THE WORLD! Thanks to all donators!

  4. #4
    Senior Member
    Join Date
    Jan 2012
    Location
    Texas
    Posts
    470

    Default

    I have no objection.

  5. #5

    Default

    If we do this I might look at using Nashorn to allow scripts written in JavaScript as well as ASH. Maybe. Although it's deprecated in later Java versions.

  6. #6
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,729

    Default

    If we do this I might look at using Nashorn to allow scripts written in JavaScript as well as ASH. Maybe. Although it's deprecated in later Java versions.
    Originally Posted by gausie View Post
    Your call. I will ask two questions. What could be done with Nashorn that could not be done with a relay script? What are the mechanics of integration? I ask the latter since the current build process doesn't support grabbing a versioned jar file from elsewhere. So we will have to maintain source (see svn or Spellcast for code we eventually had to modify rather than import a jar) or someone will have to drop a jar file in \lib and keep it up to date. I worked on commercial software that integrated BeanShell and it had an oversized impact on building and build environments.
    Well, thank you.
    Originally Posted by Veracity View Post

  7. #7
    Senior Member MCroft's Avatar
    Join Date
    Feb 2009
    Posts
    103

    Default

    I looked at Nashorn and it has ant tasks, but it's in a Mercurial repo, so that's one more thing needed if it's going to be built.

    I'm wondering if it would be useful to convert the ant build.xml to gradle and use the dependency management there to take care of getting the right version of Nashorn. It's been a long time since I was a professional ANT guy, but I worked on the build.xml for kolmafia about 10 years ago (back in the ANT 1.8 transition). If we converted to gradle, we could use a repo-based source for 3rd party stuff (or set up a repo if it's kolmafia 3rd party stuff).

  8. #8
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,729

    Default

    We used Maven and I liked it enough that I played with making KoLmafia a Maven build but at the end of the day, I wasn't clever enough to obtain a result that was demonstrably easier than remaining with ant. Part of the issue was what was "published" for a user who was used to getting one file and then running. Bottom line though is if any of the devs who are doing the heavy lifting want (or don't want) a change in the build system, their preference trumps mine

  9. #9
    Senior Member MCroft's Avatar
    Join Date
    Feb 2009
    Posts
    103

    Default

    yep.

    If it helps with dependency management and it give the powers that be an easier time of it, It might be worth doing. Builds for me are currently a one-click affair so it's a question of newer tools for new capabilities, if there's interest.

  10. #10
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,729

    Default

    The final decision is veracity's given her position of first among equals among the devs. Changes related to that decision will be rolled out no earlier than February 24, 2020 at 12:01 AM GMT. (That date is arbitrary and may change but if there is no deadline this could drag out for a very long time).
    Originally Posted by fronobulax View Post
    Let's go for it. Veracity?
    Well, thank you.
    Originally Posted by Veracity View Post

Posting Permissions

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