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:

http://www.sliksvn.com/en/download

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+)
URL:  http://subclipse.tigris.org/update_1.6.x

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 Java.com 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 java.com 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.

NOTE: %SYSTEMROOT% = C:\Windows

 

Boot VMware fusion machine to CD

Instructions taken from here: http://babygotmac.com/a/tip-boot-a-vmware-fusion-machine-to-a-cddvd/

#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 http://www.vmwareinfo.com/2009/09/red-screen-of-death-hp-dl360-g6s.html and here http://bizsupport1.austin.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02695572&lang=en&cc=us&taskId=101&prodSeriesId=4091408&prodTypeId=15351&printver=true

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)

OR

grub-install /dev/cciss/c0d0

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