How do I obtain the source code for JDK 1.4.2 on Mac OS X?

Posted:
in macOS edited January 2014
Is this the same as those distributed on Sun's website? I need this to debug my Java applications.

Comments

  • Reply 1 of 8
    Quote:

    Originally posted by giba

    Is this the same as those distributed on Sun's website? I need this to debug my Java applications.



    /System/Library/Frameworks/JavaVM.framework/Versions/XXX/Home/src.jar



    You'll need the appropriate developer tools installed first.
  • Reply 2 of 8
    gibagiba Posts: 99member
    Quote:

    Originally posted by thefamousmred

    /System/Library/Frameworks/JavaVM.framework/Versions/XXX/Home/src.jar



    You'll need the appropriate developer tools installed first.




    I looked at my JavaVM.framework directory, and the only "src.jar" I find there is under the Versions/1.3.1 folder. I'm currently running 1.4.2, and I don't see any src.jar under there.



    Help appreciated,

    Eric
  • Reply 3 of 8
    Quote:

    Originally posted by giba

    I looked at my JavaVM.framework directory, and the only "src.jar" I find there is under the Versions/1.3.1 folder. I'm currently running 1.4.2, and I don't see any src.jar under there.



    Help appreciated,

    Eric




    You need to install the Developer tools package. You can get it from http://connect.apple.com/ (the free online membership should do the trick).
  • Reply 4 of 8
    gibagiba Posts: 99member
    Quote:

    Originally posted by thefamousmred

    You need to install the Developer tools package. You can get it from http://connect.apple.com/ (the free online membership should do the trick).



    Thanks for the tip.. i can't seem to find the Developer Tool for java 1.4.2 update 2 however, only for update 1.
  • Reply 5 of 8
    Quote:

    Originally posted by giba

    Thanks for the tip.. i can't seem to find the Developer Tool for java 1.4.2 update 2 however, only for update 1.





    Update 1 should work fine. There isn't a Dev Tool installer for update 2.
  • Reply 6 of 8
    gibagiba Posts: 99member
    Quote:

    Originally posted by thefamousmred

    Update 1 should work fine. There isn't a Dev Tool installer for update 2.



    Ok... one last question... so if I currently have update 2 run-time installed, how do I revert back to update 1 dev tools? Since according to Apple's release note (http://developer.apple.com/releaseno...lementID_29514)



    "Once you have installed Java 1.4.2 Update 2, the only way to revert back to a previous version of Java is to reinstall Mac OS X version 10.3 (Panther)."



    I certainly don't want to reinstall Panther.
  • Reply 7 of 8
    Quote:

    Originally posted by giba

    Ok... one last question... so if I currently have update 2 run-time installed, how do I revert back to update 1 dev tools? Since according to Apple's release note (http://developer.apple.com/releaseno...lementID_29514)



    "Once you have installed Java 1.4.2 Update 2, the only way to revert back to a previous version of Java is to reinstall Mac OS X version 10.3 (Panther)."



    I certainly don't want to reinstall Panther.




    Install the update 1 dev tools over update 2, it'll work fine.
  • Reply 8 of 8
    gibagiba Posts: 99member
    Quote:

    Originally posted by thefamousmred

    Install the update 1 dev tools over update 2, it'll work fine.



    Ok, thanks for all the help! Sorry for the bother.
Sign In or Register to comment.