Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: java installation

  1. #1
    Join Date
    Sep 2009
    Beans
    94

    java installation

    Hi all, I have installed java on my computer as well as netbeans, but I have just noticed that I don't have the documentation, not entirely sure why. The folder - see attachment - doesn't have the documentation folder in it. COuld anybody kindly tell me how and where I get it from please?
    thanks
    Attached Images Attached Images

  2. #2
    Join Date
    Mar 2011
    Beans
    90
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: java installation

    Quote Originally Posted by antobbo View Post
    Hi all, I have installed java on my computer as well as netbeans, but I have just noticed that I don't have the documentation, not entirely sure why. The folder - see attachment - doesn't have the documentation folder in it. COuld anybody kindly tell me how and where I get it from please?
    thanks
    Maybe

    Code:
    sudo apt-cache search jdk | grep documentation
    Will provide a reference to one of the packages you need.

  3. #3
    Join Date
    Sep 2006
    Location
    Germany
    Beans
    378
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: java installation

    Per your screen capture I think you've got it. That src.zip archive is the one NetBeans uses (and it usually is found by default). That zipped api doc is the code-completion feature.

    You can also link to the online api docs using in NetBeans Tools -> Java Platforms [TAB] JavaDoc [Button] Add URL
    http://download.oracle.com/javase/7/docs/api/

    or download the actual arhive as a zip (it also will be src.zip) and link in the same Dialog window.

    So, that should help you if you were wanting code-completion feature. I keep a bookmark to the Oracle API docs to view in my browser for reference.
    "You don't do art because you want to, no, you do art because you have to." -- M. Buonarroti

  4. #4
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: java installation

    There's yet another possibility. Netbeans has a plugin called Netbeans API Documentation wich includes a complete copy of the NetBeans API documentation for offline browsing and Javadoc index searching. It covers all of the official API modules plus some APIs considered under development.

    To install it you just have to go under Tools > Plugins > Available Plugins and select it for install.

  5. #5
    Join Date
    Sep 2009
    Beans
    94

    Re: java installation

    thanks all for the suggestion.
    Unfortunately I haven't mentioned the fact that I don't know anything about java, I have just started to learn it
    @3246251196 would this
    Code:
    sudo apt-cache search jdk | grep documentation
    install all the documentation I need?

    @Unterseeboot_234: I read there should be another folder in there in addition to what's there already. I have visited http://download.oracle.com/javase/7/docs/api/ before, but can't find a download option?!


    @slickymaster. I have found the option, but which plug in should I select?
    thanks

  6. #6
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: java installation

    Regarding the API documentation, the download link is this. Don't forget you have to click on the Accept License Agreemen radio button.

    Regarding the Netbeans plugin, you have to select the one called Netbeans API Documentation. They are sorted alphabetically, so you just have to scroll down to the letter 'n'.
    If you're having trouble installing the plugin, you can always download it from the NetBeans Plugin Portal, here.

  7. #7
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: java installation

    In order to help you, here's a PrtScn of the plugin.
    Attached Images Attached Images
    Last edited by slickymaster; November 19th, 2012 at 07:46 PM. Reason: Typo

  8. #8
    Join Date
    Sep 2009
    Beans
    94

    Re: java installation

    fabulous, thanks. I am downloading the API first: once downloaded do I need to extract it or place it as it is in the jdk1.6.0_37 folder?

    ABout the netbean plugin, is it essential that I download it or can I do without it?
    thanks

  9. #9
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: java installation

    Regarding the Java API documentation you don't have to extract it. Just download it and place in a folder of your choice. Then, in Netbeans, just go under Tools > Java Platforms and in the Java Platform Manager select the Javadoc Tab, click on the Add Zip Folder and navigate to the folder where you placed the downloaded Java API documentation.
    In my case, I also added the link to the online URL of the Java API documentation.

    For the Netbeans API documentation, it's your choice, either install it or not. But it isn't a heavy plugin, just 13 MB, so I don't see why wouldn't you use it.

    I'm uploading two images in order to help you to get things done.

    If you'll need some more help, just post it. If you think you're done with this thread don't forget to tag it as SOLVED.
    Attached Images Attached Images
    Please mark your thread as solved if you get a satisfactory response.
    Linux user #556334 | Ubuntu user #35168

  10. #10
    Join Date
    Sep 2009
    Beans
    94

    Re: java installation

    Thanks, I am going through the java api zip folder documentation now. I have done all you said, and now I have 2 folders as in the screenshot, is it ok? Is the position of the folders ok?
    thanks
    Attached Images Attached Images

Page 1 of 2 12 LastLast

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
  •