I just bought a Mac and thinking about setting up a Java development environment. The following sentence from Apple scares me a little:
For this reason, it is important that developers do not install files in the Java JDK's inside of /System, since the changes will be lost with subsequent updates by newer versions of Java.
What if I need to edit, say, java.security? Will it be overwritten? Is it a common practice to install a JDK apart from the system JDK? Thanks.
Joined: Mar 22, 2005
It may get overwritten whenever the JVM is updated, which is a rare occasion - in contrast to Sun, Apple releases new JVM versions no more than once a year or so (more likely less often than more often).
And there's no way to install multiple versions of Apple's releases.
If you're talking about Harmony, OpenJDK/IcedTea, Kaffe, SableVM or other such 3rd-party JVMs - that's possible, but those wouldn't be installed in the same location as Apple's JVM, so no harm done.