Install subclipse in Eclipse

NOTE: These instructions are for Eclipse version 3.2.6 and subclise version 1.6.x

1. JavaHL is required by Subclipse.  If you use a 64-bi version JVM then you need to provide a 64-bit version of JavaHL.  One such distro you can get from here:

With that package installed, Subclipse should find JavaHL on PATH and just work.

2. Open the Eclipse program

3. From the Help drop down menu select “Install New Software”

4. Select Add… button to specify a remote site

5. Enter the following info:

Name: Subclipse 1.6.x (Eclipse 3.2+)

6. Select the subclipse package to install and restart Eclipse once it has finished.

Install Eclipse Windows 7 64-bit

So I recently ran into a couple hiccups trying to install Eclipse on Windows 7.

# I downloaded Eclipse and attempted to install and was prompted with this error.

A Java Runtime Enviroment(JRE) or Java Developmet Kit(JDK) must be available in order to run Eclipse.No Java virtual machine was found after searching the following locations: C\:Users\User\Desktop\eclipse-java-helios-SR1-win32\eclipse\jre\bin\javaw.exe in your current PATH.

Not having Java installed I headed over to and downloaded the 32-bit version of Java, edited my PATH environment variable and tried again.  This time I received an

Unable to load *.dll error so after more google searching I read somewhere there are issues if you install the 64-bit version of Eclipse, you need to install the 64-bit version of Java.

Headed back over to with IE (64-bit) and was able to download the 64-bit version of Java. Installed it and had no errors installing Eclipse.

Window 7 environment variable PATH

Here is how to display and edit environment variables in Windows 7.

To display your current env. vars:

# Open a command prompt and type set

To edit or create an env. var:

# Right click Computer

# Select properties

# Select Advanced system settings, click the “Environment Variables” to edit.



Boot VMware fusion machine to CD

Instructions taken from here:

#1. Right click the virtual machine file and select “Show Package Contents”

#2. Right click the file ending in the file extension “.vmx” using TextEdit, add the following line anywhere in the file:

bios.forceSetupOnce = “TRUE”

#3. Save and close the file and reboot.

HP Proliant DL360 Red Screen

Tips taken from here and here

I recently installed RHEL 5 on a HP DL306 server from a bootable USB drive since there was no CD/DVD on the server.

After a complete installation of the OS and a reboot I kept getting a Red Screen of death with an “Illegal OpCode” error.

From the above HP link, looks like grub.conf kept looking at hd1,0 as the boot device so as long as the USB drive was plugged in all went fine but when I took it out -> Red Screen!

So I edited /boot/grub/grub.conf and changed the hd1,0 to hd0,0 save the file, reboot and viola!

#1. Boot from bootable USB

#2. Install RHEL5 Advanced boot options and select /dev/cciss/cp1 (boot partition)

#2a. If on reboot the system comes up, then as root run the grub commands below.

#3.  Boot to bootable USB, linux rescue and boot the drive to /mnt/sysimage

#4. Chroot /mnt/sysimage

#5. # grub
grub> find /boot/grub/stage1
grub> root (hd0,0) (If this command says FAT filesystem run it on hd1,0 and make sure you run setup on an ext2/3 filesystem.)
grub> setup (hd0)


grub-install /dev/cciss/c0d0

If you are going to remove the USB drive you need to edit the bootable

RHEL5 Rollback RPM Update

Taken from here:

Fedora Core 5, like FC4, uses yum for package management. yum is built on top of rpm, and pirutpup, and yumexare graphical interfaces built on top of yum. Together, these tools provide a simple-to-use, powerful package management system.
One of the least-known secrets about rpm is that it can rollback (undo) package changes. It can take a fair bit of storage space to track the information necessary for rollback, but since storage is cheap, it’s worthwhile enabling this feature on most systems. This is a feature I’ve used several times while writing the book Fedora Linux.

Here’s cut-to-the-chase directions on using this feature:

  1. To configure yum to save rollback information, add the line tsflags=repackage to /etc/yum.conf.
  2. To configure command-line rpm to do the same thing, add the line %_repackage_all_erasures 1 to /etc/rpm/macros.
  3. Install, erase, and update packages to your heart’s content, using puppirutyumexyumrpm, and the yumautomatic update service.
  4. If/when you want to rollback to a previous state, perform an rpm update with the --rollback option followed by a date/time specifier. Some examples: rpm -Uhv --rollback '9:00 am'rpm -Uhv --rollback '4 hours ago'rpm -Uhv --rollback 'december 25'.

Create bootable RHEL5 USB

# Download ISO2USB.

# Download DVD .iso from RedHat Network.

# Open ISO2USB, select .iso file. Takes some time, now let’s see if I can get my server to boot from USB. Booted just fine.

# Select Hard Drive as installation method.  Leave the default drive as the image location. (/dev/sda1) and off we go.