NetBeans on FreeBSD

Posted by Ceri Davies Fri, 13 Jul 2007 21:36:00 GMT

Quick recipe for getting NetBeans running on FreeBSD.

Not that it’s difficult, but just so that I remember.

  • Download and unpack the NetBeans 5.5.1 tgz archive from http://dlc.sun.com/netbeans/download/551/fcs/200704122300/netbeans-551.tar.gz.

    # fetch http://dlc.sun.com/netbeans/download/551/fcs/200704122300/netbeans-551.tar.gz
    # tar xf netbeans-551.tar.gz
    [1]

  • Install a JDK. The native one at java/diablo-jdk15 is a good bet.

    # cd /usr/ports/java/diablo-jkd15; make install clean
    
  • Run it, passing it the jdkhome option just to be sure.

    # ./netbeans/bin/netbeans --jdkhome=/usr/local/diablo-jdk1.5.0
    

[1] With lesser tars, you will need to perform the “gzip -dc netbeans-551.tar.gz | tar xf -” dance, but bsdtar does automatic format detection and does the right thing. Even with .iso files.

Posted in , ,  | 2 comments

Comments

  1. Amit said about 1 month later:
    Hi! I am Amit, NetBeans Community Docs co-ordinator. Did you try NetBeans 6 development builds on FeeBSD? If you have not why dont you try it out and may be contribute a small write up to the NetBeans Community Docs. Looking forward to see your contribution. Thanks Amit
  2. Ceri Davies said about 1 month later:
    Hi Amit, I hadn't; do you mean the milestones, eg http://dlc.sun.com/netbeans/download/6.0/milestones/latest/ ?
    Not sure why you can't just provide FreeBSD builds to be honest ;-)

Comments are disabled