Adding Java packages to a Mac JDK enviroment

Discussion in 'Mac Programming' started by kingofqueens, Mar 20, 2010.

  1. kingofqueens macrumors newbie

    Joined:
    Aug 28, 2009
    #1
    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.
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    Drop them in /Library/Java/Extensions. All versions of Java installed on the system will see them and be able to use them.
     
  3. kingofqueens thread starter macrumors newbie

    Joined:
    Aug 28, 2009
    #3
    Thanks buddy, love the quick response!


    Cheers.
     
  4. plinden macrumors 68040

    plinden

    Joined:
    Apr 8, 2004
    #4
    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 ...
     
  5. kingofqueens thread starter macrumors newbie

    Joined:
    Aug 28, 2009

Share This Page