I use eclipse as my IDE to save projects onto a samba network drive that I have mapped on my ubuntu home server. I have Eclipse configured to save the jar libraries that I'm using into the /lib folder.

The problem is that when I try to run my java programs from the command line on the server, I always have to type

```
java -cp .:../lib/* javaclassname

```

This gets a bit tiresome, especially considering tab-completion won't work with the colon that must be included in the classpath. Is there any way to set things up so I don't have to manually specify the classpath every time?