Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Posts
    13
    Rep Power
    0

    Smile source code of 'javac'?

    Hi All,

    Can I get the source code of 'javac'? in my application, I have to identify the list of deprecated api's used and suggest alternative for the same. So if I get the source code, I would know how 'javac -deprecation' option works. Also, please give any information if you know how IDE's like NetBeans identify these api's?

    thanks in advance!
    Regards,
    Pooja

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    Can I get the source code of 'javac'? in my application,
    Yes you can, just go the Official Site...

    I have to identify the list of deprecated api's used and suggest alternative for the same. So if I get the source code, I would know how 'javac -deprecation' option works.
    What do you mean? you will attempt to browse the C&C++ source code? It takes time if you will.... maybe a week i guess.... and maybe you cannot just understand it easily specially how to trace the specific function you are looking for.... unless you're a C++ Guru....

    Also, please give any information if you know how IDE's like NetBeans identify these api's?
    NetBeans refers to the src file that can be found inside the jdk folder.... all java built-in classes are there, with documentation comment.....

    You can browse all the deprecated APIs there.... They are on documentation comments....
    freedom exists in the world of ideas

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Yep, go to the download page of Suns' official web site. You can make a right choice and download it.

    Regarding NetBeans and API. Thats why we set the class path. Class path starts all those things. When you go through the javac source code, you can identify what I say.

Similar Threads

  1. Organize class source code
    By Alejandro Valdez in forum Eclipse
    Replies: 0
    Last Post: 05-16-2008, 02:58 PM
  2. open source java code
    By reena in forum Advanced Java
    Replies: 1
    Last Post: 04-19-2008, 06:57 PM
  3. Changing plugins source code
    By yakupemre in forum Eclipse
    Replies: 1
    Last Post: 08-15-2007, 09:31 AM
  4. how to convert source code to xml
    By valery in forum XML
    Replies: 2
    Last Post: 08-06-2007, 08:29 PM
  5. Need a source code
    By vissu007 in forum New To Java
    Replies: 1
    Last Post: 07-05-2007, 07:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •