Help Needed on a similar but not same class loader problem

Hi,
Please help...
There is a ClassLoader called MyLoader that overrides default findClass() method to decrypt already encrypted class files available in a separate jar file.
MyClass also contains a public static method launchMe() method that starts off with a call similar to loadClass("ApplicationMainClass");
The MyLoader class is also encrypted
I modified the default launcher (c) code to:
First find the encrypted MyLoader file then decrypt it and create a byte array.
The byte array, along with the system class loader and other required arguments, is passed to DefineClass native method (defined in jvm.dll)
Note: The system class loader class has been instantiated using static method ClassLoader.getSystemClassLoader() through Java's invocation API.
The DefineClass succeeds and I'm able to instantiate MyLoader and later call launchMe() to start application.
Now i come to the problem:
I'm not able to use any class other that those in rt.jar (i.e.standard classes) in MyLoader class. I end up with a runtime error ClassDefNotFoundError while trying to load any third party jar.
The classes i need are present in class path and also in the local jre's ext that i use to launch my app.
Although i can avoid using third party jar in MyLoader but if there is any way...
Piyush

make sure that third party jar resides in your library.....
or else put rt.jar and external jars under same folder
this is matter of path.... no else than this.......
cheers
Rajesh42

Similar Messages

  • HELP NEEDED.... NOT SURE OF THE PROBLEM

    I am currently having issues with Dreamweaver CS4.  I am not sure what the problem is, becuase I cant get anywhere. I click the icon on my desktop to load DW and nothing happens. I get the hour glass icon for loading, but after that nothing happens. I am not event getting the splash screen. This will happen pretty much every time I load DW, except once in a while it will load just fine with no lag or anything. I tried delete the cache files and still nothing happened. I uninstalled DW, deleted all of the files, ran reg cleaner to make sure I removed everything, reinstalled and still have the same problem. I have no problem running the other CS products, and never had a problem with DW either, up until a week or so ago. Any help would be appreciated.

    Yes, I have done pretty much anything you can think of to correct this problem.  The updater has things for all cs4 products, stuff for acrobat, fireworks, ext manager and so on. I have done these updates and before any updates for the cs4 products, DW opened fine. I am not sure what the problem is, but it crashes everytime before I even get to the splash screen, and it always crashes at 32,000 to 33,000 KB in the processes. It seems to not get anywhere, it just locks up right after the process begins.

  • Help needed - new to Blackberry and not very techy - calendar problems

    I love my new Blackberry Curve 9300 BUT tried to synchronise Google calendar to Blackberry calendar.  For some dates I have 100s of duplicated entries and they are recurring to infinity it seems.  Have tried everything but seems the only solution is to completely clear the calendar but unable to find out from anywhere how to do this.  I tried via desktop but states that it is read only data and so can't be deleted.  I need to delete 6000 entries LOL
    Help! Can someone just give me a phone number as have searched internet for help and no solution to problem.  Calendar completely useless now and feel like throwing it out of the window...and then stamping on it 6000 times (as many times as there are erroneous entries on my calendar!!!)
    PLEASE PLEASE PLEASE IS THERE SOMEONE I CAN PHONE WHO WILL TALK ME THROUGH THIS

    Hello 123tracye and welcome to the BlackBerry® Support Community Forums.
    Sorry to hear you are having Calendar sync issues with your BlackBerry® Curve™ 9300 smartphone.
    You can call your mobile network carrier for walkthrouh assistance with this request and if needed, they can transfer you to Research In Motion® .
    If you want to try and resolve this yourself, in your Calendar go to Menu>Options and click on your Gmail® account and clear the check from Wireless Synchronization. 
    You can then clear the Calendar database on your BlackBerry as shown in KB10167 How to clear the user content databases from the BlackBerry smartphone
    Hope this answers your question.
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • SQVI - Join tables using similar fields (but not same)

    Hi folks!
    I would like to know if there is a way to do a join between two tables thru fields that are similar but not exactly the same. For example, I need to join tables EKKO and CDHDR, where the PO numbers do exist in both the tables (EKKO-EBELN and CDHDR-OBJECTID), but the fields are different. Is it possible to achieve such kind of a join?
    Appreciate your help.
    Regards,
    Anwar.

    >
    Mohammad Anwar wrote:
    though their data type is the same (CHAR).
    unfortunately it is not enough... You have to select separately from the two tables and merge the data somehow in the program.

  • I have an IPhone operating OS 4.21. I cannot back it up before update and I cannot set up an ICloud account as it needs to be on a version later on the device. Please help, I want to update but not lose everything!

    I have an IPhone operating OS 4.21. I cannot back it up before update and I cannot set up an ICloud account as it needs to be on a version later on the device. Please help, I want to update but not lose everything!

    SorchaH wrote:
    I receive an error "Itunes cannot back up the IPhone because the back up cannot be saved on the computer".. So I tried to download and log into ICLoud but need to do this from my device..
    That would tend to indicate a permissions issues on the computer.
    Running an outdated version of iTunes is of absolutely no benefit.
    All iDevices work with the current version of iTunes.

  • Status are "open" in CRM but not same shown in replicated sales Doc.

    Dear Experts,
    Status are "open" in CRM but not same shown in replicated sales Doc ( R/3 ). please suggest with optimal solution.
    Regards,
    Sany

    Hi Sai,
    Thanks for your response, I am using PFAL transaction to transfer the employees from ECC to CRM. and I am using only one emplyee for execution, is there any other transactions to replicate employees.
    In ECC, after executing the PFAL transaction, getting successful transfer of IDoc message with green light.
    In CRM in WE02, it is showing yellow light for the same IDocs.
    but even with yellow light (Warning) some employees are successfully converting into BPs, but some employees are not converting.
    I could not trace the problem that, why it is happening. IDocs are reaching to CRM system, but some idocs are not converting into BP where as some IDocs are converting into BPs successfully.
    Please help me to resolve this issue.
    Your suggestions will be highly appreciated.
    Best regard
    Raghu ram

  • Regarding Pages charts, when I try to 'build' a 3D chart all I get is little dots but not graphics.  No problems with 2D charts though. Guess my question is "Help?"

    Regarding Pages charts, when I try to 'build' a 3D chart all I get is little dots but not graphics.  No problems with 2D charts though. Guess my question is "Help?"

    Sorry for the delay getting back to this.
    Thanks to Fruhulda and Peter for their comments regarding the refusal of Pages to let me make 3D charts. 
    In answer to the questions put to  me in this regard :
    1. Pages version : Pages '09  v.4.1 (923)
    2. Mac O/S :          v.10.6.8 
    3. 3D chart :          Can't find a 'name', but upright bars with rounded corners ???
    4. Moved apps :    Not that I'm aware of!  All should be as installed off the disc.
    5. A note :              I have been able to create these in the past - related to a SW update? 
                          and ... can create these charts perfectly in Keynote (go figure).
    Thanks to all.
    CM

  • Here goes. My iPod touch has all my songs on it. I have changed computers several times and iTunes has a library of similar but not as many songs as iPod. When I plug iPod in ans go to sync it says that iTunes library will replace iPod songs.

    Here goes. My iPod touch has all my songs on it. I have changed computers several times and iTunes has a library of similar but not as many songs as iPod. When I plug iPod in ans go to sync it says that iTunes library will replace iPod songs. I don't want this to happen I want the I pod songs to sync with iTunes. What do I do?

    That really does not work since music is not included in the backup.  See:
    iTunes: About iOS backups
    puttly123 wrote:
    backup your ipod. then sync your ipod to the computer, then restore your ipod and it will still have the right songs. its exactly what i had to do with mine.

  • Hi plz ineed a help today ihave aitunes card but not enter in my id

    hi plz ineed a help today ihave aitunes card but not enter in my id

    This is unclear...
    alharith wrote:
    hi plz ineed a help today ihave aitunes card but not enter in my id
    My guess is you cannot Redeem it... If so... Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Note: iTunes Gift Cards are only Valid in Country of issue

  • In Firefox, I'm unable to load any website using cloudflare but the same sites load fine in Safari.

    Whenever I try to load any website using cloudflare in Firefox, I get this error message:
    "Error 1000 DNS points to prohibited IP. You've requested a page on a website that is on the CloudFlare network. Unfortunately, it is resolving to an IP address that is creating a conflict within CloudFlare's system."
    But the same sites load up fine with no problems in Safari. I've tried everything suggested in related support pages - cleared cache (my browser's set to do that on close anyway), cleared cookies, set to no proxy, disabled add-ons, etc. Nothing worked!
    EDIT: Just noticed that 1 cloudflare page was able to load after disabling the add-on called "Modify Headers" v7.1.1 However, I don't know if this will work for all cloud flare sites. Unfortunately, I did not keep a list of sites that didn't load, so I can't test by loading them now.

    This is the dump from my ModifyHeaders settings:
    [{"action":"Add","name":"X-Forwarded-For","value":"76.74.254.121","comment":"","enabled":true},{"action":"Add","name":"X-Forwarded-For","value":"97.24.26.128","comment":"","enabled":true},{"action":"Add","name":"X-Forwarded-For","value":"24.143.196.56","comment":"","enabled":true},{"action":"Add","name":"X-Forwarded-For","value":"69.22.138.131","comment":"","enabled":true},{"action":"Add","name":"X-Forwarded-For","value":"200.111.172.46","comment":"","enabled":true},{"action":"Add","name":"X-Forwarded-For","value":"209.112.44.10","comment":"Canada","enabled":true},{"action":"Add","name":"X-Forwarded-For","value":"209.81.89.10","comment":"","enabled":true},{"action":"Modify","name":"X-Requested-With","value":"209.81.89.10","comment":"","enabled":true},{"action":"Add","name":"X-Do-Not-Track","value":"209.81.89.10","comment":"","enabled":true},{"action":"Add","name":"X-Forwarded-For","value":"83.98.74.165","comment":"UK","enabled":true},{"action":"Add","name":"X-Requested-With","value":"83.98.74.165","comment":"UK","enabled":true}]

  • Loading jars with same class loader

    Hi all,
    I need to tell Weblogic to load various jars using same class loader.
    "various jars" means jars that belong to different web applications. (weblogic 10)
    Is that possible ?
    PS: I can not change jar location, e.g. put them in common directory or so.

    Hi,
    If you don't want to change the JAR Locations then you can try the following..
    Option1). Add the Jar Location with the Jar file name in the Server classpath...of your server startScript (like startWebLogic.sh)
    CLASSPATH=${CLASSPATH}:/opt/app/myJars/first.jar:/opt/app/myJars/second.jar:
    But in this case the Jars which are there in the classpath...will be loaded using System Classloaders and will be different from Application Classloaders...but the Classes belonging to these Jars will be available to your applications because final classpath will be the Summation of following:
    Final Classpath = Bootstrap classloader (+) System ClassLoader (including Extended Classpath from Domain Lib) (+) Application ClassLoader (+) AppModule ClassLoader
    Option2). If you dont want to add the Jars in the Server ClassPath then u can use "Optional Package" deployment feature provided by WebLogic...In this case you can deploy the JARs in WebLogic Server as Optional Packages from the Same Location where it is at present...(as you dont want to change the Jar locations) like following: http://jaysensharma.wordpress.com/2009/12/06/optional-packages/
    Thanks
    Jay SenSharma

  • HT3964 Urgent Help needed! iMac starts but will not respond

    Last night I was dragging photos onto a disc and accidentally (I have no idea how!) dropped 6500 photos onto the desktop. This would take an agr towait for so I rebooted the Mac. Since then it has not responded at all. I have rebooted several time and left it overnight but I think its Ram is not able to cope with it all. I can get it powered up and all the icons appear but not desktop items appears and I cannot open anything. It is as if the computer is frozen. Please help as I have one day to sort these photo discs out to present to my step daughter for her 21st! It's pandemonium here!
    Thanks for any help.

    Oh yes, files on the Desktop consume far more resources,as each one is a special Qurtz window... LOL.
    Do you have another admin account you can log into?
    If so try a Safe Boot from the HD, (holding Shift key down at bootup), if not...
    Reset OS X Password Without an OS X CD...
    http://theappleblog.com/2008/06/22/reset-os-x-password-without-an-os-x-cd/
    Admin Hack...
    http://www.hackmac.org/?q=node/4
    Starts up like the first time you buy a new Mac, but after filling in all that info again, you should have access to the computer and the other Users & files will still be there... give the new User a different name than an existing one.

  • Any help, text flickers in apps but not icons or pictures...

    I have a Ti 1 Ghz and I am starting to have problems with my display. I am not sure what the problem is as it is very strange. When I am viewing text in apps like Word, Safari, Firefox, Textedit, (basically any app), some of the text (sometimes a letter sometimes a word or sentence) gets little black dots flickering/blinking. What's weird is they move with the word instead of staying in one spot (like a dead pixel). So when I scroll the text up or down, left or right the little blinking black dot moves with the text. It also happens when I open certain pictures (moves around with the picture) but not other pictures and so far the text under icons haven't been affected.
    At first I thought maybe it is because of Tiger (I just did an upgrade - fresh install about a month ago) so I booted into OS 9 (which is on a second partition) and the same problem occurred.
    So I thought dead pixels and I ran the hardware test cd. No little dead pixels showed while testing the video.
    So I tried calibrating the display, that had no effect and it is now back at default.
    Then I tried all the different settings for smoothing/anti alaising the fonts I could. I regularly boot up in both Japanese and English (main) settings.
    So maybe drivers, so I went to the ATI website and downloaded and installed the most recent updates available.
    I even thought, hey, maybe my eyes are bad. So I asked my wife whose vision is 20/20 and she agreed it wasn't just my eys.
    Nothing has helped.
    Has anyone had a problem like this? Does any one know what is wrong? Is it my display itself or maybe the video card?
    Just a little info, I bought this PB brand new from the store and within a month the screen went pink when ever the PB was moved. So I had the displayed replaced and it hasn't had any problems since then (September 2003) until now.
    Any advice would be great.
    Thanks,
    Elfbp
    Ti 1 GHz PowerBook   Mac OS X (10.4.6)   512 MB Ram, SuperDrive

    Hi, elfbp. There is no economical way to replace the screen — and no easy way, either. It's the Powerbook's most expensive part to buy, new or used, and the hardest one to remove and install successfully. Besides, you haven't determined yet that the display is what needs to be replaced, or even that anything needs to be replaced. And the symptom you report is so very odd — anomalous pixels that follow a word or words in your text, indicating that they aren't related to particular pixels or regions in the display — that I have no idea how to go about trying to isolate the cause.
    For what it's worth, the service manual for your Tibook model contains the following video troubleshooting section. It's not directed at your particular problem, but your particular problem isn't mentioned at all, and this may suggest some useful procedures or clues:
    "No display, or dim display, but computer appears to operate correctly:
    1. Remove any connected peripherals.
    2. Make sure F1 key is not stuck down.
    3. Press the F2 key (with the fn key pressed and not pressed) to increase the screen brightness settings.
    4. Reboot the computer—hold down the Control and Command keys and press the Power button to restart the computer. Or, press and hold the Power button for 5 to 10 seconds to shut down the computer, then press the Power button to restart.
    5. Make sure using the PowerBook (1GHz/867MHz) power adapter (66-1798)
    6. Verify inverter flex cable and LVDS cable connections are seated properly and that the cables are not damaged (refer to inverter board and display module replacement instructions).
    7. Replace inverter board.
    8. Replace display assembly.
    9. Replace logic board."
    Note in particular that checking the display cable connections and replacing the inverter board are both suggested before replacing the display itself. And I would be inclined also to replace the logic board before the display, since it's less expensive and much easier to install. By the time you've replaced an inverter and a logic board, you'll be well on your way to spending what the Powerbook is worth in good condition on the current market, and replacing the display may put you over that value. This is not to say you shouldn't do it, but if you could get a comparable used Powerbook in good working order for less than you might spend fixing yours, that's at least an option worth considering.
    I have no idea what professional repair options are available to you in Japan, but if I were you, I'd look into them. Don't use any repair service that isn't Apple-authorized.
    If you want to plunge inside the Tibook yourself, complete take-apart instructions are here.

  • I have a external hard drive with 52000 song want to lisen but not to down load to my mac mini what I do, help.

    i work with windows 7 , have all my music 52k songs, I want to lisen to them but not down load them to my mac mini , 500gb, because is gonna take alot of space, I dont know a lot of this, can somebody help me thanks guys. wifili.

    Launch iTunes with the Option key held down and create a new library on that drive, or play them through the QuickTime Player instead of iTunes.
    (82382)

  • Help needed after moving music - has not been answered recently!

    Hey,
    I'm not great with computers. I moved my "my music" folder to an external hard drive (just cut and paste... oops) and now itunes won't open because it can't find the itunes folder. It won't let me uninstall or reinstall it. Help needed!
    Thanks

    If I understand correctly, you moved your My Music folder on to an extrenal drive and that this folder contained your iTunes folder. Now Itunes won't open. I hope you have not damaged anything by unsuccessfully trying to uninstall iTunes, if so we will have to fix that.
    If you are lucky and I have understood you correctly, start iTunes with the shift key held down. You should be prompted to choose or create a library. Select choose and navigate to your iTunes folder on the external drive. You should find a file called iTunes Library.itl - choose that.
    Message was edited by: polydorus

Maybe you are looking for

  • How to extract data from 12 tables ?

    Hi experts, I want to extract data from 12 tables into bi. How can we do this. And also can we extract some fields from a structure? Full points will be assigned. Regards, V N.

  • SAP Netweaver 7.02 Installation PROBLEM HELP

    Hi, Have the sapservices in the windows service? The name should follow SAP. If so, are they started? Cheers, Clébio

  • PO Created by User A should not be changed by User B

    Hi Experts, My User has a specific requriement in Purchase Order. If a purchase order is created by User A, Other users like B and C who are in the same purchasing group should not be able to change the PO created by User A. Similarly, Others should

  • IDOC_OUTPUT_ORDRSP

    Hi SDN, i am in littlebit confusion regrading exit sconcept. what is the differance between exits in IDOC_OUTPUT_ORDRSP and exits in VA01 t-code related program. please suggest me and send me u r valueable solutions asap. Thanks in advace and rewards

  • Sum of average in report with many joins

    hello all.  i have read a few other threads that are similar to my situation but nothing i've found that helps my specific situation.  it is probably in part to my lack of expertise but i am pretty much a newbie here so go easy on me.  in summary, i