Mac – How to install, specific version of Java by command line on Mac? It’s Possible

javamac

It's possible to install an old version of Java by command line in Mac, it's possible?

I am trying install java 1.6.0.17, but i can't find this version for Mac OS. I think it's possible to intall it by command line with terminal. But i don't know the correct way todo this.

Best Answer

It's possible it install various versions of java.

It's not possible to be of more assistance without details on what versions you have and some explanation of what your sticking point is.

Oracle does not distribute 1.6 for OS X so you'll need to get an update from Apple to get that version.

The simplest way would be to install older OS on to virtual machines if you don't run the specific OS X version that was current when Java 1.6 was current.