[jacorb-developer] Jacorb 3.x, RMI and Android

Emmanuel TAUREL taurel at esrf.fr
Tue May 28 10:10:33 CEST 2013


Hello all,

We are using JacORB for one of our project that we would like to run on 
Android device.
Unfortunately, on the Dalvik Java virtual machine, RMI classes are not 
available.
With JacORB 2.X, we had the "no-rmi" option to compile JacORB. This 
allowed us to use JacORB 2.X on Android devices
With JacORB 3.X, it seems that this compilation option is not available 
any more! As a consequence, we cannot run JacORB 3.X on Android device
(class not found exception)

After a look in JacORB 2.X about what this option no-rmi did, we have 
manually change the inheritance in class defined in file 
org/jacorb/orb/Reference.java.
With this trick, we are able to run our application with JacORB 3.X an 
dit seems to work. But this is not a valuable solution.

Is there any clean way to run JacORB 3.X on Android device?
Is changing the inheritance in class defined in 
org/jacorb/orb/Reference.java the only required change to run JacORB on 
Android?

Thank's in advance for your answers

Emmanuel



More information about the jacorb-developer mailing list