Wednesday 5 January 2011

Centos netinstall location information

I'm always forgetting these details.


For a netinstall/network installation of centos 5.5, choose HTTP on the installation method screen. Then in the location fields input:

Web site name:
     mirror.centos.org
Centos directory:
    for 32bit/i386 use:
          /centos/5.5/os/i386
    64bit/x86_64 use:
      /centos/5.5/os/x86_64

Saturday 1 January 2011

Add JDK javadoc in netbeans 6.9.1

I was a little surprised to find that the JDK javadocs were not included in the latest release of netbeans.

Courtesy of Wei I found how to link them in.

I've made a few amendments to bring his guidance up to date.

Download JDK documentation from http://www.oracle.com/technetwork/java/javase/downloads/index.html. Click 'download zip' in the Java SE 6 Documentation section.
Unzip the zip file to the JDK directory (actually any directory will do - but why not keep your drive clean, eh)

Then in NetBeans IDE
1. Choose Tools > Java Platforms from the main title bar.
2. Select the platform to which you want to add Javadoc in the left panel of the dialog box. Mine was just JDK 1.6 (Default).
3. In the Javadoc tab, click Add ZIP/Folder and specify the location of the Javadoc files.
4. Click Close.

5. I now see JDK docs in my code completion and in the javadoc output pane (window->other->javadoc)