In general I always find myself digging around for missing stuff in .jar files. I have a little bash script to which speeds up this process greatly. it should work on all *nix platforms; as well as Intel platforms using cygwin or mkstoolkit. ----------------------------------------------------------------------------------------------------------------------------- # Find an instance of a substring in all jarfiles located in the specifiied directory and it's children
fjar () { usage="fjar <dir> <pattern>" if [ $# -ne 2 ]; then echo $usage else dir="$1" pat=$2 find $dir -name "*.jar" | while read i ; do echo "-----------" echo echo $i echo echo "-----------" jar tvf $i | grep -i "$pat" done fi } Andy Barnett <[EMAIL PROTECTED]> wrote: Henrik, Since you asked to be corrected, Patrice's original error was "NoClassDefFoundError java/lang/Object". In my Sun JRE 1.3.1_02 for Windows installation, the java.lang.Object class is located in the rt.jar file. So you do need the rt.jar included somehow/somewhere. As for actually helpful information, I have none. I don't understand how a JVM can get to the point of displaying a NoClassDefFoundError message when it can't even find java.lang.Object to start with. ~Andy --- Henrik Ridder wrote: > > I don't think (correct me if I'm wrong) that you need rt.jar. > But you do need tools.jar located i JAVA_HOME/lib > > Do you have this in you build.sh: > if test -f $JAVA_HOME/lib/tools.jar ; then > CLASSPATH=$CLASSPATH:${JAVA_HOME}/lib/tools.jar > fi > > And what shell are you using? > /Henrik __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax