Closed adriaanm closed 8 years ago
this is running in prod
i think there's still a problem with the java recipe forcing us back to java 7 and messing up /etc/alternatives...
nope -- the java recipe just keeps messing with java
need to manually do:
$ alternatives --config java
There are 3 programs which provide 'java'.
Selection Command
-----------------------------------------------
+ 1 /usr/lib/jvm/java-1.7.0/bin/java
* 2 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
3 /usr/lib/jvm/java-1.8.0-openjdk.x86_64/bin/java
and select option 3, which i installed with
alternatives --install /usr/bin/java java /usr/lib/jvm/java-1.8.0-openjdk.x86_64/bin/java 3
oh my this went pretty deep again... brain dumping
"jenkinsHomes": {
"y:\\jenkins": {
"java_path": "\"/cygdrive/c/Program Files/Java/jdk1.8.0_92/bin/java\""
}
},
"java": { "java_home": "c:/Program Files/Java/jdk1.8.0_92/bin" },
i installed java 8 manually on windows -- hardcoded the paths in chef
which requires java 8 which means we have to upgrade jenkins, as the old version couldn't handle the java upgrade
much hilarity ensued updating alternatives the chef java recipe is a cruel joke... probably best to avoid it