ram, thanks for the advice.
I checked my path, and there was other things in there.
So I cut everything out except C:\Program Files\Java\jdk1.5.0_01\bin.
I tried to run the application again, and I got the same error.
Next, I checked my java runtime settings. The path for user is
The path for the system is the exact same.
I also have oracle, and jre1.4 installed on my computer if this matters.
Your advice is appreciated,