I was recently setting up a test system and as a part of that install included Java 7. I installed 64 bit Java for IDM and 32 bit for my other applications. I know that there are some who feel that SAP Java is better, but I’ve always had better experience from the Sun / Oracle version. In due course I installed Java, Database Drivers and IDM. As is my usual practice, I generated the dispatchers and proceeded to try them in Test Mode. It’s an easy way to check your dispatcher setup and can be used for troubleshooting jobs and workflows Try it out sometime. It’s lots of fun.
So typical of a new system install, nothing worked. When troubleshooting dispatcher startup problems, one of the first things I do is check my Java settings. Here’s what I saw:
The paths to java.exe and jvm.dll point to two different locations! How can this be? So I went and found the new location of the jvm.dll.
So I regenerated the dispatchers and tried again. Still no luck. I then downgraded to Java 6 patch 41 and went through the same steps again to make sure that the jvd.dll pointed to the 64 bit server directory like so:
Once again, I regenerated the dispatcher and everything ran just fine.
Hope this saves you some time and trouble later on.