Programming and writing about it.

echo $RANDOM

Category: Ubuntu

Quick Tip: Using the ‘parsec’ Haskell library

You will have to do a sudo apt-get install libghc6-parsec-dev and sudo apt-get install libghc6-parsec-doc on Ubuntu/Debian systems if you are going to use the parsec library with ghc installed via apt-get

Once you have installed both, you should be able to use the library in your Haskell code and also view the library documentation.

Advertisement

OpenJDK 6, NetBeans 6.0.1 on Ubuntu 8.04

You can now use pre-built OpenJDK 6 for your Java development on Ubuntu 8.04.

See the links for more information:

Also, NetBeans 6.0.1 is now available in the repos (http://java.dzone.com/news/ubuntu-hardy-heron-804-reposit)

So, now you know what to do? Start using NetBeans 6.0.1 with OpenJDK 6!

Getting Started with Indiana on Ubuntu 7.04 and Virtual Box

UPDATE: Updated with OpenSolaris 2008.11 here at http://blogs.sun.com/amitsaha/entry/open_solaris_2008_11_on

The Open Solaris project Indiana is now available as a developer preview

A great feature is that you can start a Live CD session either:

  1. By burning the ISO to a CD, or
  2. Directly boot from the ISO using Virtual Box or QEMU

Lets get started with Virtual Box:

Choose OS Name and Type
Choose the memory (>512 MB)

Configuring the Virtual HDD

Choose the CD/DVD-ROM Device

  • Now, insert the Indiana CD into your ROM and start the Virtual Machine
  • You should see the GRUB menu:

  • Let us start a Text Console session

Booting…
Login with username “jack” and password “jack”

So, you are now ready to start exploring the Open Solaris command-line even without installing it!

Java Development on Ubuntu

I just set up a complete Java development environment on Ubuntu 6.06 with JDK 1.5 and Netbeans 5.0

Steps

  1. Obtain the JDK 1.5 binary from here and install it
  2. Create a new environment variable JAVA_HOME which contains the directory where JDK 1.5 is installed
  3. Install Netbeans

Netbeans 5.0 in full glory on Ubuntu