Click to See Complete Forum and Search --> : java packages


bsh152s
08-03-2001, 11:46 AM
I have created one of my own packages, and was wondering where I could put it on someone else's computer so that they can run programs that use it and also write some of their own code using it.

bwkaz
08-03-2001, 01:12 PM
Check their CLASSPATH environment variable ("echo $CLASSPATH" should do it), and put the package in one of those directories.

If there is no CLASSPATH, either create one in the relevant shell script (~/.bashrc or similar), or put the package in the same directory as the .class file that they get when they compile.

At least, I think that will work.

Bryan