Setting Linux environment variable

Is there other web site which talks about how to set the environment variable of J2EE for Linux?

I followed this web site

http://www.dougsparling.com/comp/howto/linux_java.html

but after all

when I tired to compile a servlet program... it couldn't be complied. I think the case is that the compiler couldn't find servlet.jar ...

why is that?

[387 byte] By [CYung] at [2007-9-26 13:46:21]
# 1
You have to verify that your CLASSPATH environment variable is set in your account's profile. I use thebash shell therefore my variables are set in .bashrcfor example my CLASSPATH is set to :CLASSPATH=.:$J2EE_HOME/lib/j2ee.jar:$J2EE_HOME/lib/locale
yairb1 at 2007-7-2 14:37:35 > top of Java-index,Other Topics,Patterns & OO Design...