summaryrefslogtreecommitdiffstats
path: root/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/java.txt
blob: 1bb74fe46ff5512505609867e0ff085bf8271b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Current Java 6 for OSX (10.10):

Java 6 for 32bit and 64bit builds on OSX 10.10: JavaForOSX2014-001.dmg
    <https://support.apple.com/kb/DL1572?locale=en_US>

Obsolete:
===========

java6 for 32bit builds: java_for_os_x_2013005_dp__11m4609.dmg

See <https://jogamp.org/bugzilla/show_bug.cgi?id=1050#c8>:

After installing Java6 (java_for_os_x_2013005_dp__11m4609.dmg)
the Java6 default location was broken.

I had to fix this manually:

cd /System/Library/Frameworks/JavaVM.framework/Versions
rm -f CurrentJDK ; ln -s /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents CurrentJDK

cd /System/Library/Frameworks/JavaVM.framework
rm -f Home ; ln -s /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home .
rm -f Headers ; ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/include Headers

Now fix broken links: cacerts .. etc 
  172  cd /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/lib/security/
  173  pwd
  174  mv cacerts cacerts.orig
  175  ls -la
  176  mv blacklist blacklist.orig
  177  mv trusted.libraries trusted.libraries.orig
  178  cp -a /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/security/blacklist .
  179  cp -a /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/security/cacerts .
  180  cp -a /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/security/trusted.libraries .