• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Question on pre-installed JDKs  RSS feed

 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info!
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!