How do I assign Java classpaths in UNIX?

Can anyone tell me how to assign java class files in unix?

Your question doesn't make sense to me.

You can a) set your CLASSPATH just like any other platform, b) include them on your java command line just like any other platform.

What I need are some simple instructions on how to do it. I'm using a Mac and I'm also trying to assign these class files to Netbeans so I can do my college coursework, UNIX would be another way for me to work on it if I knew how.