For developing purposes I need to install jdk7u45 on my OSX (10.11.4). But there is a problem with the provided dmg. (Java Archive Downloads - Java SE 7).
Inside the package I found a file called Distribution where the pre-installation-version check takes place. Up to jdk-version 1.7u71 this javascript-check is not compatible with El Capitan (11.11.4):
The check is like: if(tProductVersion < supportedVersion)...
but in 1.7.u71 this check is corrected: if(system.compareVersions(tProductVersion, supportedVersion) < 0) ...
Now I have no idea how to install jdk7u45 on my System. I see the following possibilities:
- Use another system (older OS) - what I really don't want.
- Oracle or someone else provides a corrected dmg (most preferred way)
- Install the jdk "by hand" - not shure how this could be done...
- install the jdk on an older OS an then copy the folder /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk to my developing machine
Any more ideas?