I was trying to run some java code on stat1002 but ran into the issue that we only have java 7 there. I had to go back a few point releases to get a version that would work on 7. Could of course make a local install of java 8 in my home dir, but I imagine more and more things will start needing java 8. Would be nice to make it available. Likely want to leave the alternatives pointed at java 7 to not break anything
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add openjdk-8-jdk to the list of statistics packages | operations/puppet | production | +1 -0 |
Event Timeline
Hm hm.
openjdk-7-jdk is required in a few classes that get included on stat1002. As long as the default alternative isn't updated as consequence of doing a require_package('openjdk-8-jdk'0), then I think it would be safe to do so wherever it makes sense. @EBernhardson, what's your use case? If it is for generic number crunching / analysis work on stat boxes, then I think it would be safe to add this to the statistics::packages class.
I am specifically doing some machine learning exploration using RankLib, a java implementation of various ML ranking algorithms (that could perhaps be integrated to an elasticsearch plugin if this exploration works out). Basically number crunching.
Change 324679 had a related patch set uploaded (by Elukey):
Add openjdk-8-jdk to the list of statistics packages
elukey@stat1002:~$ update-alternatives --display java java - manual mode link currently points to /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java - priority 1071 slave java.1.gz: /usr/lib/jvm/java-7-openjdk-amd64/jre/man/man1/java.1.gz /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java - priority 1069 slave java.1.gz: /usr/lib/jvm/java-8-openjdk-amd64/jre/man/man1/java.1.gz Current 'best' version is '/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java'.
Should be good now! Closing, please re-open the task if anything is missing :)