Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kingofqueens

macrumors newbie
Original poster
Hey guys I'm just wondering if you could help me answer this questions, I need to know how to add Java packages to the mac JDK environment.

Cheers & Thank you.
 
Drop them in /Library/Java/Extensions. All versions of Java installed on the system will see them and be able to use them.
 
Hmm, not sure exactly what you're trying to do, but adding jars to /Library/Java/Extensions or ~/Library/Java/Extensions makes them available.

What I do is use maven with Eclipse to pull in third party packages to my projects individually, rather than put them into the Extensions directories.

Edit: so close, but at least I mentioned the individual account's Extensions directory ...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.