Results 1 to 2 of 2

Thread: JDK directory, making API etc...

  1. #1
    Join Date
    Sep 2006
    Beans
    44

    JDK directory, making API etc...

    i have just installed jdk 1.5 using apt-get

    Code:
    sudo apt-get install sun-java5-jdk sun-java5-plugin sun-java5-fonts
    now, i want to make an API of the classes using javadoc... I seem to have heard it in my class that you can use javadoc to create an API, just cant remember how...

    and another question, where does the jdk files go after installation? what directory?

    any form of help is much appreciated, thanks!

  2. #2
    Join Date
    Jul 2005
    Beans
    1,535
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: JDK directory, making API etc...

    Quote Originally Posted by mokmoki View Post
    i have just installed jdk 1.5 using apt-get

    Code:
    sudo apt-get install sun-java5-jdk sun-java5-plugin sun-java5-fonts
    This isn't quite enough. You still need to do
    Code:
    sudo update-java-alternatives -s java-1.5.0-sun
    to tell ubuntu you want to make Sun's java the default.

    now, i want to make an API of the classes using javadoc... I seem to have heard it in my class that you can use javadoc to create an API, just cant remember how...
    This doesn't make sense to me. Javadoc is used to make documentation, not design an application programming interface (unless your API means something else)

    and another question, where does the jdk files go after installation? what directory?
    after running the update-java-alternatives commmand you shouldn't need to know this, but anyways it is:
    Code:
    /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/
    When I invented the Web, I didn't have to ask anyone's permission.
    ~Tim Berners-Lee on Net Neutrality
    -------------------------------------
    Visit the Ubuntu Programming IRC-channel at #ubuntu-programming (chat.freenode.net).

Bookmarks

Posting Permissions

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