> I added the following argument to the command line:

> -Xbootclasspath:\Programs\Java\xalan.jar;\Programs\Java\xercesImpl.jar;
>
> But it still doesn't work. Now I get the following error message:
>
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object

That's because you replaced Sun's default bootstrap classpath.

There are three "bootstrap classpath" arguments you can use:

-Xbootclasspath:<directories and zip/jar files separated by ;>
-Xbootclasspath/a:<directories and zip/jar files separated by ;>
-Xbootclasspath/p:<directories and zip/jar files separated by ;>

You used the first one, which replaces the default bootstrap classpath.

You should have used the third one ('p' is for 'prepend'), which will insert
your zip/jar files BEFORE the default bootstrap classpath.


    - Isaac



Reply via email to