ADF Mobile and Ubuntu 13.04 64bits

I have no doubt that every developer that wishes to set up Ubuntu 13.04 for ADF Mobile (let’s say with JDeveloper, will make it after jumping from one google search result to another. This is why if you see this post before your quest, it might save you some minutes in figuring out what do you need to do to finally be able to deploy your ADF Mobile application into your device.

So this is what you need to do:

  1. Install JDeveloper here. Please note that at the date of this post, this was the latest version that supports ADF Mobile.
  2. Check you are able to start JDeveloper without problem. If you have problems runing it, specifically ‘java.lang.UnsatisfiedLinkError’ related to, then you can try to do two stuff: – point to a different JDK, or try to install the library that is missing. Note: If you point to a JDK 7, then you won’t be able to use tree map drag and drop functionality at least.
  3. Download Android SDK – Using existing IDE option here.
  4. Follow Ubuntu Troubleshooting; Run sudo apt-get install ia32-libs. This allows your machine to run 32 bits executable files.
  5. In JDeveloper, go to Help – Check for Updates – ADF Mobile and install it. Restart JDeveloper. Note: if ADF Mobile was not installed after restarting, you need to run JDeveloper as sudo in order to install the update. In the terminal, go to the Middelware installation and under this path ../jdeveloper/jdev/bin/jdev run sudo ./jdev.
  6. Extract the Android SDK in a directory like /home/user/Android. Using tar xvzf command.
  7. Once extracted, go to the terminal and under tools execute ./android update sdk –no-ui.
  8. If you are going to use a real android device, you need to do the following so Ubuntu recognize your device. In a terminal log in as root and create this file: /etc/udev/rules.d/51-android.rules. Use this format to add each vendor to the file:                                                                SUBSYSTEM==”usb”, ATTR{idVendor}==”0bb4″, MODE=”0666″, GROUP=”plugdev” Note: You should replace idVendor for your own device. This one is for HTC. IdVendor for Galaxy Note is 1256.
  9. Now you should be able to deploy your application without problems.

After trying the steps in a different computer under the same version of Ubuntu and architecture 64 bits, we had no problems at all and the installation was very straight forward. But this is definitively useful in case you experience the issues described above.

Leave a comment

Your email address will not be published.

Social Media

Stay up-to-date with our latest ADF and related technical posts via your favourite social network services.