Oct 22, 2008


This is most likely due to a bad jar file or two different versions of the same jar file included in the path. Try upgrading or downloading the jar file again.

Oct 21, 2008

Linux Mounted Driver cannot remove directory error message

When running rm -rf [directory name] the following error message occurs:
rm: cannot remove directory '[directory name]': File exists

If this occurs when trying to remove a file from a mounted drive, try unmounting the drive and remounting it.

Oct 20, 2008

How to change the default location of a Maven repository

Modify the settings.xml file to include the new repository location. Change the following line in the settings.xml file:


Oct 17, 2008

How Add Source to Eclipse

From the main menu at the top select Project/Properties
Select the Java Build Path on the right
Click on the Libraries tab
Browse the tree of libraries until you find the appropriate library
Expand the tree and click on Source attachment
Click the Edit button
Click the External Files button
Select the location of the source files (must be a zip or jar file)

Oct 15, 2008

Linux Commands

How to search files for specific terms:
grep -r [search term] .

How to add items such as svn, mvn, java, etc. to your PATH and set environment variables for all users:
Edit the /etc/profile file and then run .[space]/etc/profile with
export PATH=$PATH:/usr/java/jdk1.5.0_07/bin

How to set an environment variable:
export JAVA_HOME=/usr/java/
export ANT_HOME=/usr/ant/

How to find out where and command is installed such as java, ant, mvn:
which java
which ant
which mvn

How to stop a running program:
First determine the pid of the program:
ps -ef | grep [program name]

Then use the pid to kill the program:
kill -9 [pid]

How to search for a file:
find . -name [filename]

How to unmout a drive (Notice the command is umount and NOT UNmount):
umount [mount location]

How to clear the Java Web Start cache:
javaws -uninstall

How to view the Java Web Start Console
javaws -viewer

How to mount a drive:
mount -t [new mount name (this directory must exist)] [mount location]
mount -t /home/user/share /mnt/floppy

Oct 14, 2008

Windows Vista Connect.dll Error Message

Error message

Component GUID:{7071ECA3-663B-4BC1-A1FA-B97F3B917C55}
Component file: [C:\Windows\system32\connect.dll]
Error: (0x8007277B) .

Additional Info:
Failed to detect Internet connectivity


Received the following error message when trying to connect to the Internet on a Windows Vista computer.


TCP/IP stack repair options for use with Windows Vista.
  1. Start, Programs\Accessories and right click on Command Prompt, select "Run as Administrator" to open a command prompt.
  2. Reset WINSOCK entries to installation defaults: netsh winsock reset catalog
  3. Reset IPv4 TCP/IP stack to installation defaults. netsh int ipv4 reset reset.log
  4. Reset IPv6 TCP/IP stack to installation defaults. netsh int ipv6 reset reset.log
  5. Reboot the machine.
Reinstall network/modem Driver

Uninstall the network/modem driver from Device Manager: select the items and hit Delete. Reboot.

Anti Virus and Firewall Software

Installation or Removal of Anti Virus or Firewall product can prevent the network devices from getting an IP.

Windows Update

Windows update has been known to cause this issue.  Uninstall the most recent windows updates.