Including a class I made in all my projects

Hi;

I have developed several classes that I want to use in future developments and I can't find a way to set this classes the same way as the standard Java classes. For example I what to have a folder of all the classes developed by myself and add it to the standard Java classes, so that, for example, in any program I can make a call like this;

include Utilities.MyClass1;

include Utilities.MyClass2;

etc...

Thanks in advance

[479 byte] By [juani1] at [2007-9-26 3:18:52]
# 1
get the free download of "Thinking in Java" at bruceeckel.com and look at chapter 5 and the section "A custom tool library" in particular. basically you put it in a package in your classpath.
Stemco at 2007-6-29 11:33:22 > top of Java-index,Archived Forums,Java Programming...
# 2
you can include a class by import yourclasspath.class1;ectfirst you must set your compail & run classpathfor example :classpath = d:\myclasses\test.jar;.;in test.jar ,store the class you have writen
zhenggf_sun at 2007-6-29 11:33:22 > top of Java-index,Archived Forums,Java Programming...