Just an FYI to help anyone else thsat may have the same problem:

 

I followed the instructions to install XMLBeans 2.1.0 from a ZIP file. I put it on my D: drive (running WinXP Pro, latest patches). When I run the scomp command with no arguments, I got the following arror:

 

Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/5/0_06\lib\tools/jar;d:\xmlbeans-2/1/0\lib\resolver/jarC:\Documents and Settings\jedavies>

 

I have double checked all of the environment variables and everything was fine. The problem was that I installed my JDK into my Program Files directory. The whitespace between the words “Program Files” seems to be the cuplprit. As soon as I moive my JDK onto the root of my C: drive and changed my JAVA_HOME variable to point to the new location, scomp worked just fine.

 

The lesson: don’t install non-windows code into your Program Files directory. J

 

- Jeff

Reply via email to