[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Running an native application from a bundle


Extract the file from the bundle onto the file system (for example: BundleContext.getDataFile area). Runtime.exec the file.

BJ Hargrave
Senior Software Engineer, IBM Pervasive Computing - Austin, TX
OSGi Fellow and CTO of the OSGi Alliance
mailto:hargrave@xxxxxxxxxx  902/6C-003 T/L 678-9938
Office: +1 512 838 9938  Mobile: +1 512 785 7386



"Pascal Rapicault" <Pascal_Rapicault@xxxxxxxxxx>
Sent by: equinox-dev-admin@xxxxxxxxxxx

2003-08-22 10:04 AM

       
        To:        equinox-dev@xxxxxxxxxxx
        cc:        
        Subject:        [equinox-dev] Running an native application from a bundle




Hello,


If my bundle contains an .exe (as well as Java code), what is the OSGi way to run it from the Java code?

How do I access to the file to run it?


       PaScaL