18. februar 2010

Connection Proxy on Windows 7 x64

This is how I got the Connection Proxy from the Sony Ericsson Java ME SDK to work on Windows 7 64-bit version:
  1. Install your phones PC Suite to get all phone networking drivers
  2. Get & Install 32-bit JDK
  3. Get & Install semc_java_me_cldc_sdk.2-5-0-5.exe (Place it in default location C:\)
  4. Get the eclipse SDK for win 64 as we need one file from this zip.
  5. Get RXTX library as we need additional files from this zip.
  6. Find "org.eclipse.swt.win32.win32.x86_64_3.5.1.v3555a.jar" in eclipse SDK & place it in the folder "C:\SonyEricsson\JavaME_SDK_CLDC\OnDeviceDebug\lib\devexp\plugins"
  7. Edit "connectionproxy.cmd" so that "org.eclipse.swt.win32.win32.x86_3.4.0.v3448f.jar" becomes "org.eclipse.swt.win32.win32.x86_64_3.5.1.v3555a.jar".
  8. Find "RXTXcomm.jar" in the rxtx package & place it in the "C:\SonyEricsson\JavaME_SDK_CLDC\OnDeviceDebug\bin" folder
  9. Place "rxtxSerial.dll" in the "C:\SonyEricsson\JavaME_SDK_CLDC\OnDeviceDebug\lib" folder
  10. Edit "javax.comm.properties" and write "#" before "Driver=com.sun.comm.Win32Driver" and add "Driver = rxtxSerial.dll" on the next line.
  11. Follow the instructions from #4 given by Vlad from the developer.sonyericsson.com community to start everything
This was a game of hide and seek that fixed "On Device Debugging" on my c702 phone using Netbeans 6.8 IDE.


PS. Remember to not use the Start menu shortcuts as they do not work very well for the connectionproxy. Use the connectioproxy.cmd in "C:\SonyEricsson\JavaME_SDK_CLDC\OnDeviceDebug\bin".

5 kommentarer:

  1. Hey, thanks for posting this note. I didn't knew of the RXTX library but it helped me a lot to make the Connection Proxy work in Win7 x64

  2. Glad to have been of help, cheers!

  3. Hello my friend,
    There is a broken link on step 11. So I miss the final step :(
    Could you please tell me what I should do to run Connection Proxy?


    1. Ah, well the link is down. Note to self: Make PDF copies of crucial steps for future reference!

  4. Same here, cant access link from #11. Can someone help us?