×

Discussion Board

Results 1 to 7 of 7

Thread: MIdlet

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    37

    MIdlet

    Is this possible to convert .jar file into .exe ?

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: MIdlet

    To run on what platform?

    Graham.

  3. #3
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    198

    Re: MIdlet

    Quote Originally Posted by manish88 View Post
    Is this possible to convert .jar file into .exe ?
    And why would you want to?

  4. #4
    Registered User
    Join Date
    Feb 2009
    Posts
    37

    Re: MIdlet

    i want to run application at boot up in c++ but c++ support only .exe file and my application is in J2ME....

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: MIdlet

    Quote Originally Posted by manish88 View Post
    Is this possible to convert .jar file into .exe ?
    Hi,
    Do not understand your requirement..where you would like to install the same after converting...
    It is better that before you post,search on Google at least once...
    however these links can help..
    http://www.regexlab.com/en/jar2exe/
    http://www.excelsior-usa.com/articles/java-to-exe.html
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  6. #6
    Registered User
    Join Date
    Feb 2009
    Posts
    37

    Re: MIdlet

    m having this code


    #include <startupitem.rh>

    RESOURCE STARTUP_ITEM_INFO startexe
    {
    executable_name = "c:\\sys\\bin\\StartEXE.exe";
    recovery = EStartupItemExPolicyNone;
    }


    Where StartEXE.exe is an .exe file where i want to launch my own application which is in j2me so i want to convert it into .exe

  7. #7
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: MIdlet

    You can't, really.

    There is no way you can convert a J2ME MIDlet to a native .exe for Symbian, unless you rewrite it in C++.

    There are no Java to C++ cross-compilers that'll help, and there're no tools that'll take compiled Java bytecode and converts it to native Symbian/ARM binaries, either.

    However, it might be possible to write a Symbian program that starts/launches a MIDlet (probably not doable with published APIs, though, and possibly not without AllFiles capability, either). Native C++ code can do it, as evident by the phone menu being able to launch MIDlets.

Similar Threads

  1. calling midlet from midlet throws SecurityException on 6600
    By brianpegan in forum Mobile Java General
    Replies: 3
    Last Post: 2010-10-25, 05:31
  2. image full screen
    By Morbidick in forum Mobile Java General
    Replies: 8
    Last Post: 2008-12-04, 04:16
  3. 技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名
    By wotrust in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 0
    Last Post: 2006-12-30, 07:42
  4. 'Response Unknown' when downloading midlet
    By Weevil in forum Mobile Java General
    Replies: 3
    Last Post: 2004-05-30, 17:01
  5. How to create two instances of midlet
    By marquito99 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-30, 01:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×