XE7 customers - Java2OP.exe is now available on Code Central reg user download area....

Posted by on in Tools

The Delphi, C++Builder and RAD Studio XE7 Java2OP command line utility is ready for registgered users to download. Java2OP.exe ("Java To Object Pascal") is a command-line tool that you can use to generate Object Pascal native bridge files from Java libraries (JAR or class files). You can use the generated files to provide your applications access to those Java libraries on Android. Available to registered users of RAD Studio XE7, Delphi XE7 and C++Builder XE7 (except Starter editions) and Embarcadero All-Access XE. You can find it (login required) at http://cc.embarcadero.com/item/30007

Java2OP.exe: New Native Bridge File Generator for Android

The process of allowing your application to use custom Java libraries on Android previously required you to manually create a native bridge file from a Java class file. RAD Studio provides a new tool, Java2OP.exe (Java to Object Pascal), that automates the creation of a native bridge file for Delphi applications. This new tool allows you to generate a native bridge file from a set of JAR or Java class files, or from a specific subset of the Android API.

Gold User, Rank: 1, Points: 2466
David Intersimone (known to many as David I.) is a passionate and innovative software industry veteran-often referred to as a developer icon-who extols and educates the world on Embarcadero developer tools. He shares his visions as an active member of the industry speaking circuit and is tapped as an expert source by the media. He is a long-standing champion of architects, developers and database professionals and works to ensure that their needs are folded into Embarcadero's strategic product plans. David holds a bachelor's degree in computer science from California Polytechnic State University at San Luis Obispo, California.


  • Lucas Lehnen
    Lucas Lehnen Monday, 27 April 2015

    Hi Hür AKDÜLGER,
    i am trying to use the EMDK in Delphi, but without success.
    I tried to perform the mapping of com.symbol.emdk library. However, got the error:
    "java.lang.RuntimeException: stub"
    As you have done your implementation?

  • Lucas Lehnen
    Lucas Lehnen Monday, 27 April 2015

    A quem puder interessar...
    Resolvi removendo a biblioteca com.symbol.emdk.jar do deploy e adicionando as linhas no template do manifest que eu havia esquecido:

    Desta maneira o aplicativo utiliza a biblioteca que já está no aparelho, em /system/framework/com.symbol.emdk.

  • Hur Akdulger A1724
    Hur Akdulger A1724 Wednesday, 25 March 2015

    Hi Osman,

    I have Motorola TC55 and Motorola MC75 which have installed Android OS on them.
    I want to use DataWedge library from Delphi.

    Did you solve your problem?



    OSMAN TASKIRAN Friday, 3 October 2014

    Hi David,

    I want to import Honeywell SDK jar file and/or Motorola EMDK SDK jar file.
    But I get error message.
    -Motorola EMDK = "class or interface expected"
    -Honeywell SDK = "Generic Type Not Defined"

    How can I import this SDKs?


  • Giordano Giaccaglia
    Giordano Giaccaglia Saturday, 24 December 2016

    Hi, try to Execute the Java2Op in another folder outside the programs folder.

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: