Is there a dynamic way to use extensions?

Ok, Ranch pals... I have a huge problem...
There's an app o' mine that is bundled in a jar file. It's an Applet, but that doesn't matter. What really matters is: the jar file uses an extension. An extension from Sun. To use that and install it automatically in the client machine I have to put that extension in the MANIFEST file for my app, like the code that follows:
Manifest-Version: 1.0
Extension-List: jai_imageio
jai_imageio-Extension-Name: com.sun.media.imageio
jai_imageio-Specification-Version: 1.0-mr
jai_imageio-Implementation-Version: 1.0_01
jai_imageio-Implementation-Vendor-Id: com.sun
jai_imageio-Implementation-URL: http://someeirdaddress.com.any/anything/herecomeswhatisimportant/jai_imageio-windows-i586.jarThe thing is: my clients have to have this jar file (jai_imageio-windows-i586.jar) in their server, so it can be downloaded and installed (in my case by the Java Plug-in). But the address to this file (http://someeirdaddress.com.any/anything/herecomeswhatisimportant/jai_imageio-windows-i586.jar) has to be inside the MANIFEST file, which is terrible, because if I have 1 zillion clients I'll have to pack my jar 1 zillion times, changing the MANIFEST everytime.
So! The question that is reeeeally bothering me is: "is there a way to set that my app uses an extension from outside the MANIFEST file, say, from my code? If yes, how? If no, is there any auto-checking-and-installing solution for my problem?"

Because it is going to be used in an intranet and I can't know for sure that all machines will have access to the internet. So, the file must be in the local server, and they often have different addresses. I don't need the MANIFEST to be dynamic, but the mechanism to use extensions. But, if the only way of doing this is having a dynimic MANIFEST file, ok.

Similar Messages

  • Are there a dynamic way for evaluting variables in as3?

    Hi..!
    eval() is a usefull method or function in javascript.. Because we may define our variables via dynamic way..! There are following code is for understanding that how can define dynamic defining variables in javascript.. And Are there a dynamic way for evaluting variables in as3 like following javascript code?
    <script language="javascript1.2" type="text/javascript">
    var trainOfUfo = "...hi earthling...";
    var handleBlade = eval("train"+"Of" + "Ufo");
    alert(handleBlade);  //-- it appears in dialog box text field area "...hi earthling..."---
    </script>
    Gürkan Şahin
    Code Developer
    Turkey

    In AS3 you can use the bracket notation...
    var trainOfUfo = "...hi earthling...";
    var handleBlade = this["train"+"Of" + "Ufo"];
    AS2 supports the eval() function, but it was done away with in AS3

  • My iphone has been lost in my house and i need to find a way to track it and its offline. it wont connect to the internet so there isnt a way to use find my iphone. i just want to play a sound on it. is there any way i can get a app that connects my ipod

    my iphone has been lost in my house and i need to find a way to track it and its offline. it wont connect to the internet so there isnt a way to use find my iphone. i just want to play a sound on it. is there any way i can get a app that connects my ipod from a laptop or a different way to find it.

    If your phone is offline, the ONLY way to find it is to look for it the old fashioned way.  Your phone CANNOT be located electronically if it's offline.

  • HT2801 I understand there is a way to use my Super Drive with my PC.  However, it requires a System OS Disk.  Which I never received.  Can you help me with this?

    I understand there is a way to use my Super Drive with my PC.  However, it requires a System OS Disk.  Which I never received.  Can you help me with this?

    Rick6812 wrote:
      I'm using Windows 8.1. 
    I do not know what you mean by a Windows 8.1.  Please clarify.
    The Apple superdrive is designed to be used with the following Macs.
    It will not work with any other Mac unless you perform this modification;
    http://www.tuaw.com/2012/04/02/use-the-macbook-air-superdrive-with-any-almost-ma c/
    Are you trying to get it to work with a PC? 
    Ciao.

  • Is there any (easy) way to use Pages to edit documents imported via iFiles?

    Is there any (easy) way to use Pages to edit documents imported via iFiles?

    That is a question better answered by the developer:
    http://www.ifilesapp.com/
    Peter

  • I want to buy an ipad, but i was wondering if there is a way to use my blackberry internet with the ipad

    i want to buy an ipad, but i was wondering if there is a way to use my blackberry internet with the ipad

    Google can be your friend.  Watch this YouTube video as it appears you can tether a Blackberry to an iPad.
    http://www.youtube.com/watch?v=cFk2ctOKtpE

  • TS1367 Is there are a way to use my imac as a display for my macbook pro? I have a thunderbolt cable but it doesnt seem to do anything

    Is there are a way to use my imac as a display for my macbook pro? I have a thunderbolt cable but it doesnt seem to do anything

    Hello eassic,
    Thanks for the question, and welcome to Apple Support Communities.
    It sounds like Target Display Mode may be what you are looking for:
    Target Display Mode lets you use a Mac as the external display for another “primary” Mac. In some cases, you can also play the sound from your primary Mac on the speakers of the external Mac. For example, a MacBook Pro could use a 27-inch iMac as the display and play its audio on the iMac as well.
    OS X Mountain Lion: Use another Mac as a display
    http://support.apple.com/kb/PH11302
    Use an iMac with Thunderbolt as a display
    If you have an iMac with Thunderbolt, any other Mac with Thunderbolt can use it as a display. The iMac will play both the video and audio from the other Mac.
    1. Connect the Thunderbolt cable to the Thunderbolt ports on each computer.
    2. Make sure both Mac computers are turned on and awake.
    3. Press Command (⌘)-F2 on the keyboard of the external display Mac.
    4. If you want the external display Mac to play audio as well as video from the primary Mac, choose Apple menu > System Preferences, click Sound, and then click Output. Select the external display Mac from the list of devices.
    Thanks,
    Matt M.

  • HT2534 there is no way to use app store without credit card details ?!

    I tried to register a new apple id for my friend and there is no way to use it for app store without entering credit card details ?
    He has a kid and as you can imagine - how to give a kid account with credit card in it ?!

    The instructions on the page that you posted from work if you are creating a new account (the instructions won't work with existing accounts) - I've just tried it and I got the 'none' option.
    i.e. on my computer's iTunes I logged out of my existing account and found a free app in the store and clicked on its free 'price' :
    I then clicked on 'create Apple id' on the popup :
    Agreed to the terms, filled in my details, and got 'none' as a payments option :

  • Is there any _sane_ way to use BDB concurrently?

    I have what I think is a straightforward application. I have a single writer which modifies a database, and a number of readers which are CGI programs. The processes are unrelated and not managed by any particular parent process.
    I use CDB, because it sounds like what I want. But I often find that the whole environment is hung with locks being held by processes which have long since exited. I must recover the environment to proceed.
    What's really making me pull my hair out is that I can't find any combination of flags to db_env_open() which provides a satisfactory solution. REGISTER and RECOVER can't be used with CDB, so that's right out. But what's maddening is I can't find any way to use LOCK with REGISTER and RECOVER, either. I always get EINVAL returned.
    I think what I want is DB_INIT_LOCK | DB_INIT_MPOOL | DB_REGISTER | DB_RECOVER but that doesn't seem to work :-(
    If I do it without DB_RECOVER, I always get DB_RUNRECOVERY, even with a virgin database. No matter how many times I run db4.4_recover, it still returns DB_RUNRECOVERY.
    What's a programmer supposed to do?

    Some test programs:
    my $e = new BerkeleyDB::Env
    -Home => '/tmp/jwb/'
    , -Flags => DB_CREATE | DB_INIT_MPOOL | DB_INIT_LOCK | DB_REGISTER
    or die "BDB::Env hoohaw: $!, $BerkeleyDB::Error";
    BDB::Env hoohaw: , DB_RUNRECOVERY: Fatal error, run database recovery at ./test.pl line 6.
    my $e = new BerkeleyDB::Env
    -Home => '/tmp/jwb/'
    , -Flags => DB_CREATE | DB_INIT_MPOOL | DB_INIT_LOCK | DB_REGISTER | DB_RECOVER
    or die "BDB::Env hoohaw: $!, $BerkeleyDB::Error";
    BDB::Env hoohaw: , Invalid argument at ./test.pl line 6.
    Sleepycat Software: Berkeley DB 4.4.20: (February 24, 2006)

  • One Apple ID that the whole family uses it, is ther a better way to use family sharing?

    My wife and I share the same apple ID on all of our apple devices (Mac-running Yosemite, Iphone 4s, Ipad), and my sons no have their own ipods and I want them to use the ID as well, but I am having trouble because I am getting txts and other messages when my sons send message to their friends.
    My sons are 9 & 6 so getting them and Apple Id is not appropriate at this time (or allowed).  Is there a way that I can set up a child account under our Apple ID?

    Hi Mdbarnharts, 
    Thanks for visiting Apple Support Communities. 
    It sounds like your family members are using the same Apple ID to share purchases, and now you're receiving messages sent and received by your kids. 
    You can set up and manage Apple IDs for your children through the Family Sharing feature. 
    You can find more information about Family Sharing and setting up an Apple ID for your kids at these resources:
    Start or join a family group using Family Sharing - Apple Support
    Family Sharing and Apple IDs for kids - Apple Support
    All the best,
    Jeremy 

  • Is there a better way to use a procedure

    Hello,
    Kglad gave me the following code for pausing a scene.
    //var t:Timer=new Timer(ms,1); ms = milisecond value//
    var t:Timer=new Timer(6000,1); // 6 seconds //
    t.addEventListener(TimerEvent.TIMER,f);
    t.start();
    function f(e:Event){
    play();
    I am new at using flash and probably not using best practices, so I hope someone can steer me right.   I want to use the script above to pause the movie at the end of each scene.  But to do this, I need to modify it by renaming the function f to f1, f2, f3, etc for each new copy I paste in.  Also the variable t to t1, t2, t3, etc.  If I have 50 scenes I will need to do this 50 times.  Is there a way to post this code somewhere as a function or procedure and call it without having to do all that extra work?  Right now I add a layer in the scene, insert a blank keyframe and paste the code into the action window.
    Thank you for your help and God Bless,
    Mark A. Sam

    K,
    Thank you again.  This is exactly what I needed.  I'm sure if I understood you correctly but when you said, "except no t.start() " I took it to mean remove that line.  I did and the movie wouldn't run past scene 1.  I put it back and now it runs fine, so the Scene 1 code is,
    stop();
    //var t:Timer=new Timer(ms,1); ms = milisecond value//
    var t:Timer=new Timer(6000,1); // 6 seconds //
    t.addEventListener(TimerEvent.TIMER,f);
    t.start();
    function f(e:Event){
    play();
    God Bless,
    Mark A. Sam

  • Is there an easy way to use MOVE when importing from card reader?

    In Lightroom 1, I would hit File -> Import From Disk which would allow me to move photos from my card reader to the hard drive.
    In Lightroom 3, the only option is the normal import dialog and in order to get the "Move" option I have to select "other source" and then scroll down the list to select the card reader in order to get the "Move" option.  It's a pain to do it every time.  (not to mention my wife will never do it and just use "copy").
    So my question is, "Is there a way to get the Move option to be available by default on my card reader?"
    It's been my workflow since 2004 to have the images deleted directly after I copy them off the memory card using Adobe software (Photoshop Album 2.0, Photoshop Elements 4, Lightroom 1.0).  I'm really hoping there is an easy way to accomplish this in Lightroom 3. Otherwise I will be pretty disappointed.

    function(){return A.apply(null,[this].concat($A(arguments)))}
    brianbjork wrote:
    The reason I like the move command so much is that I know when photos are on my memory cards that the are not on my computer.
    LR defaults to not importing suspected duplicates.  so if there are still files on the card, they will be grayed out. That's how you can know.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    brianbjork wrote:
    What do you all use in your work flow to delete the pictures left on your memory cards after they are copied?
    I have a shell file that removes the files from the card and ejects the disk.  I keep it in my dock for easy access.
    Others will tell yiou, though, to format in camera. Which is a good idea! I just like to keep my cards empty and ready.

  • Is there any possible way to use my EOS Rebel XT for EOS Utility?

    Okay, so i want to use EOS Utility on my Digital Rebel XT camera. In case you are wondering EOS Utility is used to take a picture with the camera by just clicking a button on the computer. Its used to make it so that any pictures i take arent shaky. Anyway, there is no link for the camera and when i go to the cameras homepage, and go to softwares, There is no download link for EOS Utility for my camera. Is there any way I can still use it on my Digital Rebel XT Camera? Let me know thanks

    FantasticMrFox wrote:
    Okay, so i want to use EOS Utility on my Digital Rebel XT camera. In case you are wondering EOS Utility is used to take a picture with the camera by just clicking a button on the computer. Its used to make it so that any pictures i take arent shaky. Anyway, there is no link for the camera and when i go to the cameras homepage, and go to softwares, There is no download link for EOS Utility for my camera. Is there any way I can still use it on my Digital Rebel XT Camera? Let me know thanks Other responses have gone off to explain some other solutions before answering your question. The simple answer is "NO". You cannot use your camera tethered to a computer, controlling it via EOS Utilities software (or Lightroom, for that matter). In order to do that, the camera must have the Live View feature. Your XT (aka 350D, from 2005) doesn't have Live View. There was a version of LV on the EOS 20Da (2005), a more complete implementation of it on the 40D (2007), and among the Rebel-series models the XSi and XS were the first to get LV (aka 450D & 1000D, both introduced in 2008). Other responses are on some right tracks, though. If your primary purpose is to help prevent camera shake, there are several other things you can do, which you may or may not be aware of... - Set a faster shutter speed. Of course, to do so may require a larger lens aperture and/or a higher ISO.  - Get and use a lens with IS (Image Stabilization).- Use flash, it freezes both subject movement and camera shake, approx. like 1/720 shutter speed would, with most flashes.- Use a tripod along with:- - a remote release (RS-60E3 wired or RC-6 wireless)- - or just use the camera's self-timer delay - - and/or use mirror lockup (Custom Function 7) Tripod quality has a great deal of effect. Some are so flimsy as to be hardly worth using. For example, the most stable tripods do not use a center column or, if it has one, the tripod is tall enough to be used without raising the center column much or at all. Materials make a differentce, too... for example carbon fiber is much better absorbing fine vibration than metal. There are a number of other factors that go into making a tripod stable. Do some additional research, if interested. Note: RC-6 wireless release uses infra red and the sensor for it is on the front of the camera. This is certainly useful for self portraits, but may be problematic using this remote for other types of photos. In addition to the Canon RS-60E3 wired remote release, there are other brand remote switches including some that have additional features such as delay timers, interval timers (time lapse), etc.  AFAIK, Canon does not make a timer/controller with E3 connectivity (like the TC-80N3, which will not connect with your camera) Note: The XT's self-timer delay is 10 seconds only. However, when used in conjunction with the mirror lockup feature, it's automatically shortened to a 2 second delay. Note: While IS lenses can make possible handholding lenses at shutter speeds 2, 3 or somtimes even 4 stops slower than you'd normally be able to use... the effectiveness of IS varies a bit from lens to lens and good handholding technique are still needed to get the best out of it. Some IS lenses require IS to be manually turned off when locked down on a tripod. The IS in those lenses can go into sort of a feedback loop where it's actually causing, rather than preventing movement. Don't worry too much about it, though... if it happens you'll see it in the viewfinder and then can turn off the IS. (No harm done to either the camera or the lens.) Hope this helps! ***********
    Alan Myers
    San Jose, Calif., USA
    "Walk softly and carry a big lens."
    GEAR: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & EXPOSUREMANAGER 
           

  • Is there an easy way to use the VMware Studios Open Source download?

    I noticed there was a relatively current open source download package for VMware Studio, so I downloaded it, hoping there were instructions on applying the new software to the appliance.  The download was a tar.gz file, which appears to include source code for those OSS packages.  
    So, I am concluding that my hope that this was an update to VMware Studio was unfounded.  
    Is there any news, at all, about plans to update VMware Studio?  It is obvious that a VMware-internal tool exists as they use it to create their own appliances which appear to have fixed some issues, such as IE10 access.  
    Thanks Dan

    You do not need to invoke Finder to do this. Create a new empty Automator workflow and use the "Run Shell Script" option. Paste in the following....
    mv ~/Downloads/* ~/.Trash
    You can then save the workflow as an application, attach it as a Finder action or add it to the scripts menu, whichever you like better.
    If you would like to bypass the Trash and just completely delete the Downloads folder contents immediately, then paste in this command:
    rm -rf ~/Downloads/*

  • Using "Objects" like Illustrator in InDesign. Is there a modular way to use instances?

    Let me elaborate...
    (I see Object Styles but not "Objects" Panel like in illustrator)
    What I want to do?
    1. Use a Name plate in my document that I can tweak later, and the changes reflect in all pages.
    2. I want to be able to change color, effects as well as text.
    Example: Name plate that has one Title text box, one Plate number text box, two separate color background boxes, each for the Title and the Plate number
    Possible solutions I am aware of?
    A. Use Master Page
    Add Name plate to master page.
    "Pluck out" the name plate on the page (lift-off as some call it)
    Move it to new location, change text (plate number in my case), don't change any box colors.
    Color changes to boxes in Master, reflects in all pages. Good!
    Issue: Text boxes that have not been edited in the page, still do not reflect new updated text, color changes to box is updated.
    B. Use Find and Replace
    Use this to find the name plate text and replace it with new text.
    I have not tried it, but I am only wanting to change text style in one text box. Does this feature help to do this?
    C. (please add)
    My Questions:
    1. Is there any other method to accomplish this?
    2. When I have not edited the text, why solution A (plucking out from Master page) does not reflect changes to text? It does show changes to color background!

    Thanks Willi Adelberger for this reminder (point1) It helped me to correct one "stuck thinking" I had, and helped to a degree.
    I could not locate "Content Tools" but exploring now from Indesign help (content collector... was something else...) 
    Stuck mindset!
    I was stuck thinking I need an exact same feature (like "Objects" of Illustrator or "blocks" of Autocad or Instances in Max... where each is an instance of an archetype - master)
    With that, I saw no need to use styles for the NamePlate I was using. Since it was defined in just the master page, while other pages simply moved it to new positions.
    But then I went back and redefined those master objects with styles
    It helped to a degree
    I can except for the textual content can control everything of the NamePlate text.
    I still cannot simply change text like "PLATE" to "Plate" if I see such a need later (perhaps using find and replace can do).
    I have now done the all but I cannot add a logo graphic (if I see a need later) to these name plates!
    This is where I am not able to get an answer, if there is indeed a method to do things like referenced "Objects". Change the Object. All instances change.
    PS: I ever tried a hack, by putting the text box inside another box and grouping them. So when I pluck from master (lift off) I just get the Group. I believed that since I am not touching the original "text" object in the process InDesign will keep the link intact and change in text on master will reflect changes to the pages. it did not work.

Maybe you are looking for

  • How can we acess the data of one component into othr component in webdynpo?

    How can we acess the data of one component into other component in webdynpro.... I need an Field input from one webdynpro component(comp1)  which is away from the line of process to the other component(comp2) we need that data........I mean i need th

  • ITunes 9.2 Not Responding

    I recently updated my iTunes to 9.2 and iPod Touch to iOS4. Here is a list of instances where iTunes stops responding and freezes: - When I "Check For Available Downloads" - When I click on TV Shows menu option "Mark As Watched" - When I try to "Impo

  • BI 7 upgradation

    Hi guys, Can any one tell me, what is the detailed procedure for loading data into exiting Infoprovider with existing datasource and newely created datasource after upgradation in BI 7 from BW 3.5

  • Field level help always shows homeID URL

    I implemented context-sensitive help of 2 types: 1. Field level help - triggered from a menuitem using: menuitem_CSH.addActionListener(new CSH.DisplayHelpAfterTracking(mainHS, "javax.help.Popup", null)); 2. Help key (F1) type help - using: mainHB.ena

  • HT1689 How do I change the frequency in which I enter my password when purchasing/downloading from iTunes?

    I changed the settings and now I cannot figure out how to change them to the default setting. How do you change the frequency in which you enter your password in iTunes?