E/ddms IllegalArgumentException 'Bad version' with both 32 and 64 bit Java JRE installed
Hello. Working on a Windows 7 Pro 64-bit system, that has the 64-bit Java JDK (and via the JDK the JRE) installed, and using Eclipse 3.5.2 and the latest Android SDK (rev 7). Everything works fine.
If I then install the 32-bit Java JRE on the same machine (so that I can run Java applets in Chrome/Firefox), and try to start up the emulator (from either the command prompt or from within Eclipse), I get the following exception...
E/ddms: shutting down due to uncaught exception
E/ddms: java.lang.IllegalArgumentException: Bad version: standalone
at com.android.sdkstats.SdkStatsService.normalizeVersion(SdkStatsService.java:467)
at com.android.sdkstats.SdkStatsService.doPing(SdkStatsService.java:195)
at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:130)
...
What specifically happens, when I try and launch the emulator, is I get a Windows command prompt window with a title of "Java -version", which quickly goes away, then another Windows command prompt window with a title of "C:\Windows\system32\cmd.exe", which also goes away quickly, and then finally a third Windows command prompt window with the above-mentioned exception information in it, and with a title of ...
"java -Djava.ext.dirs=lib\x86;lib\ -Dcom.android.ddms.binddir= -jar lib\ddms.jar ping emulator standal..."
(the '...' is because the window was not wide enough to show the rest of the title)
... which also quickly goes away. All three windows display/disappear within a 1-2 second span of time.
Uninstalling/removing the 32-bit Java JRE from my system makes the problem go away, reintroducing the Java 32-bit JRE causes it to come back.
For now I'm just not having the 32-bit Java JRE installed, and if I need to access a web page with a Java applet, I use the 64-bit version of I.E. (which Java 64-bit works in), but I'd like to be able to have harmony between my Android/Eclipse 64-bit development environment, and my need to run the 32-bit of the Java JRE so I can use applets in Chrome/Firefox.
Any advice/info would be appreciated. Thanks in advance for your time and efforts.
P.S. Here's a composite screenpic of the three Windows command prompt windows that I described earlier: http://img409.imageshack.us/img409/3182/tempb.png