aspose file tools*
The moose likes Mac OS and the fly likes Question on pre-installed JDKs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Question on pre-installed JDKs" Watch "Question on pre-installed JDKs" New topic
Author

Question on pre-installed JDKs

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Hello:

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.

Eric
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41508
    
  53
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.


Ping & DNS - my free Android networking tools app
John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Thanks for the info!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question on pre-installed JDKs