"Invalid or corrupt file" after Obfuscation with "The Marvin Obfuscator"

Hi!
I want to use "The Marvin Obfuscator" (www.drjava.de) to secure MY code a little bit.
But the resulting .jar-file doesn't work. "Invalid or corrupt file".
I think, that things, i configured in the configuration file aren't true.
Has anyone experience with "The Marvin Obfuscator"?
I created a .jar-file with Eclipse. My Marvin-configuration-file (config.txt) is as the following:
// Template for a Marvin Obfuscator config file
// Directories and jar/zip archives where your application's classes reside
// (relative to project directory)
classpath=("archive.jar","C:\Java\jre1.5.0_05\lib\rt.jar")
// The name of your applet or applications's main class
// (e.g. executable class, servlet or applet)
// (as it would appear in <applet code=...> or in "java ...")
// Note the double parentheses!
mainClasses=(("control.Start"))
// If you want your main class to be called differently after the obfuscation,
// you can enter the new name (including package) like this:
// mainClasses=(("myapp.Main" newName="main"))
// You can also have more than one main class:
// mainClasses=(("myapp.ServletA") ("myapp.ServletB"))
// Names of methods (without class name) that are accessed via reflection.
// The obfuscator will not change the names of these methods.
//preserveMethodNames=("methodName1","methodName2","reflected*")
// Classes that are accessed via reflection.
// The obfuscator will not change the names of these classes.
// Note: Method names within these classes will still be obfuscated.
// (If you need to preserve method names too, what you probably want
// is "externalClasses".)
// Note: You can use the wildcard character (*).
//preserveClassNames=("mypackage.SpecialClass")
// Classes that are used by your application,
// but should not be included in the obfuscated jar file.
// The obfuscator also ensures that references to these classes continue to
// work ("referencing" includes calling, subclassing and implementing).
// Note: Any part of these libraries that is actually used must be in the
// classpath (either system classpath or classpath= line in this file).
//externalClasses=("com.company.externallibary.*","org.apache.*")
// Locations of resource files.
// If you want resource files (images, properties files, ...) to be included
// in the jar file, specify the resource directories or archives here.
// Do NOT specify individual resources files (these will be interpreted as
// archives).
// Note: Directories will be scanned recursively.
// Note: .class files are excluded automatically.
// Note: You will usually want to reuse entries from the classpath= line
// (classes and resources are often bundled in the same jar files).
//resources=("resourcedir","resources.jar")
// Advanced obfuscation features.
encryptStrings=true // You can try to set this to false for troubleshooting

Why not use another obfuscator? Google for "java obfuscator". I myself
use JShrink and it does a good job in reducing the code size.
It always generated valid class files for me.
As for "protection", don't count on it too much with any obfuscator, but
yes, some may do a better job than others.

Similar Messages

  • I am unable to backup after months of successful backups.  Receive "iPhone could not backup the iPhone because the backup was corrupt or not compatible with the iPhone.

    I am unable to backup my iPhone4 (4.3.4) after months of successful backups.  Receive "iPhone could not backup the iPhone because the backup was corrupt or not compatible with the iPhone.  Followed advise on user forum to delete the old backup... did not help.  Need to do a backup.  Is there a cure?

    The only thing that resolved it for me was to COMPLETELY remove all Apple components per http://support.apple.com/kb/ht1925.  I also downgraded to iTunes 10.3 since my issue didn't start until after the 10.4 update.  May not be related but oh well....You will have to restore your old iTunes Library file (*.itl) if you downgrade.

  • After upgrading to ios6 my iphone will not open .xls files in emails with the default viewer. Is there a fix for this? The same emailed .xls files still open on my ipad using ios5 while viewing email like they did on my iphone prior to upgrading.

    After upgrading to ios6 my iphone will not open .xls files in emails with the default viewer. Is there a fix for this? The same emailed .xls files still open on my ipad using ios5 while viewing email like they did on my iphone prior to upgrading. I have no special software like numbers or anything else installed on either device. Just using the default viewer provided by apple for viewing email.

    The attachment is an .xls excel 97-2003 spreadsheet. I viewed the file in the email and did not edit it with any software. I can forward the file to anyone that is may want to check it out to see if they can help me. I was wondering if there was some way of forcing another ios6 install on my phone and maybe that would solve it.
    Is there anyone out there that is viewing .xls files in email using ios6 w/o any other software installed like numbers or any other add ons? I am not upgrading my ipad from ios5 to ios6 so I can still continue to view the emails on my ipad. Is there an email viewer .xls plug-in that will be availablle in the next ios6 update?

  • HT1766 my backup is failling to restore and displays an error message: backup either corrupt or not compatible with the device. This happened after updating to the latest software IOS7

    My backup is failling to restore and displays an error message: backup either corrupt or not compatible with the device. This happened after updating to the latest software IOS7

    I have the same issue and I KNOW my backup IS good. What happen is when you try to restore your phone apple says something like can I check for new updates and if you choose no, it just takes you back to the restore screen and a loop from then on.  If you dont update from you phone then when you back up you will have the 5.0.1 back up and then when you update to 5.1.1 and then try to restore the backup from 5.0.1 it say it EITHER corrupt or incompatible.. It is incompatible and its hard as **** to restore back to 5.0.1. I followed the restore to a T and still getting errors. I lost all text history and have to reset up email. All just because I wanted a 1.2 Gigs of "other" space back.

  • HT4972 After upgrading iPhone 4 to iOS 5.1.1 getting the error "iTunes could not restore the iPhone because the backup was corrupt or not compatible with the iPhone that is being restored" HELP!

    I attempted to upgrade my iPhone 4 to iOS 5.1.1. I selected 'back up' from the phone in the device menu and iTunes confirmed that the phone had been backed up. I then installed iOS 5.1.1 which wiped everything on the phone & now I am getting the error "iTunes could not restore the iPhone because the backup was corrupt or not compatible with the iPhone that is being restored".
    I have tried restoring factory settings but iTunes simply will not restore from back up & I'm not sure what else to do!
    Any advice would be much appreciated.

    I have the same issue and I KNOW my backup IS good. What happen is when you try to restore your phone apple says something like can I check for new updates and if you choose no, it just takes you back to the restore screen and a loop from then on.  If you dont update from you phone then when you back up you will have the 5.0.1 back up and then when you update to 5.1.1 and then try to restore the backup from 5.0.1 it say it EITHER corrupt or incompatible.. It is incompatible and its hard as **** to restore back to 5.0.1. I followed the restore to a T and still getting errors. I lost all text history and have to reset up email. All just because I wanted a 1.2 Gigs of "other" space back.

  • How to resolve error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again."

    I inadvertently deleted my iPhone backup on my MacBook Pro. I restored iPhone to factory settings and then synced remotely with iCloud. However the error message repeatedly states:
    iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again.
    Any ideas as to how this can be resolved please. Thank you very much.

    My wife's iPhone 5 would not backup, after upgrading to iOS 8.     The "genius" at the Apple store succeeded in DELETING, the only recent backup of her phone so
    recovery became more critical.
    I followed all the procedures for troubleshooting it, but still it would try to backup and then stop due to an error. We particularly wanted to preserve some game data/history/progress that she'd been working on for years.      This game (Dream Fish) would no longer open after the iOS 8 upgrade ... and the phone would not successfully backup, and so we had no confidence that it would restore from an older backup either.       I googled for solution and found Phoneview and iFunBox.      These apps allow you to see & access data files in the iPhone.      Phoneview was too fragile and crashed when copying a file any size.     
    I found "iFunBox".     iFunBox was excellent.      I used iFunBox to recover her game data.    It allows you to make a copy of data files that reside on the iPhone... and store them as a manual backup on the Mac.
    And in the process I found 2 games that caused iFunBox to crash.      The 2 games in question were not important enough to try to keep, so I deleted them from the iPhone.
    So then, I had a manual backup of the important iPhone data, and had eliminated two game files that apparently had a conflict with iOS 8.
    My next Backup attempt was successful.        The iPhone with iOS 8 would now backup to both the Mac and to the Cloud.
    Next I deleted Dream Fish from the iPhone and downloaded a fresh version from the Cloud.    The new Dream Fish with no history opened in iOS 8.
    Then I used iFunBox to copy my wife's Dream Fish data history from the Mac back into the new game.
    Once the transfer was complete, Dream Fish would now OPEN and all of her progress was there and working like normal.
    Hope this helps.

  • HT1766 Error message: "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone.  Delete the backup for this iPhone, then try again." But how do I delete the backup?

    Error message when attempting to backup up iPhone4S to Mac says "iTunes could not back up the iphone because the backup was corrupt or not compatible with the iPhone.  Delete the backup for this iPhone, then try again." But how do I delete the backup? Can't find answer to that anywhere.

    We had this problem after upgrading to iOS 8.       The iPhone 5 would not backup either to the cloud or to the computer.   Backup always ended with an error message.
    Long story short, with the help of iFunBox ( which I used to make manual backups of some important iPhone data files ), I discovered two games that
    would crash iFunBox.      They were not important games for us, so I didn't try to isolate the offending data files.     And I deleted the two games from the iPhone.
    Apparently these two games conflicted with iOS 8 just as they did with iFunBox.      The next backup without those games was then successful.
    I backed up to both the Mac and the cloud.
    Hope this helps.

  • I deleted the backup on itunes, synced again and got the error message: itunes could not back up the iphone because the backup was corrupt or not compatible with the iphone

    I am using iphone 3GS, after syncing for few times and got the errors. I deleted the backup from Edit-> Preferences-> Devices. Then I synced again,  there was an error message: itunes could not back up the iphone because the backup was corrupt or not compatible with the iphone. What can I do? I have no backup anymore on ituens.

    babesharon
    I closed iTunes & manually deleted the file which was still stored locally even though it didn't display in Preferences.  I have vista so I went to
    C:\Users\{user name}\AppData\Roaming\Apple Computer\MobileSync and deleted everything in the Backup folder (though I left the folder as is).  If you have a different OS search the apple website for the backup location.
    I reopened iTunes & Synced with out a problem.  I also got the update to install.
    Good luck.

  • \cintools\cin.obj : fatal error LNK1136: invalid or corrupt file

    Hi all;
    I am using winXP labView 7.0 and MVC++ 6.0
    I am trying to do a very simple CIN to get started I followed all the necessary stepes in the NI help manual
    http://digital.ni.com/public.nsf/websearch/01bd203de97aeba986256800007546bb
    I can compile it no problem but when I try to build the dll it sais
    \...\cintools\cin.obj : fatal error LNK1136: invalid or corrupt file Error executing link.exe.
    any ideas
    p.s. Its not the same problem where people are getting the Error with cmd.exe
    thanks in advance
    mushi
    Message Edited by mushi on 07-12-2005 09:49 AM

    Hi,
    Are you trying to build a CIN or a DLL? If you are buildinga  DLL, be aware that "a few of the steps necessary to create a CIN are not necessary in creating a DLL. Notably, the DLL does not need to link against cin.obj or lvsb.lib. Also, the build does not need to include the execution of lvsbutil.exe. However, be aware that functions specific to CINs (such as SetCINArraySize) will not work in a DLL."
    Hope this helps.
    Ankita

  • I am getting error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone".  I have deleted the backup and restarted my computer, but continue to get this error message.  What do I need to do now?

    I have recently updated my phone and am attempting to sync it.  I got the error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone".  I deleted the backup, restarted my computer, and even restored the iPhone, but continue to get the same error message.  What do I need to do now?

    iTunes places the iPhone backup in the following location. Navigate there & delete everything in the backup folder, but not the folder itself. You will have to turn on "Show All Hidden Files & Folders" to see it:
    Mac:~/Library/Application Support/MobileSync/Backup/
    Windows XP:\Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista and Windows 7:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

  • ITunes could not restore iPhone because the backup was corrupt or not compatible with the iPhone that is being restored...

    I replaced a faulty iPhone 4S with a new handset today, another iPhone 4S.  I was certain to backup my previous iPhone 4S to iTunes on my PC before returning the faulty unit.  The new phone was 'set up' at the Apple Store and updated to the current iOS, 7.0.4, as was the faulty unit prior to replacement.  Upon connecting the new unit to iTunes to restore to the most recent restore point from earlier in the day, the following message was shown:
    "iTunes could not restore iPhone because the backup was corrupt or not compatible with the iPhone that is being restored."
    I've browsed other forums and have contacted the Apple Store Genius Bar, and will hear from the Lead Genius tomorrow.  In the meantime, I am hoping someone may have information for me on what I may need to do in order to restore my phone as I'd anticipated doing by now.  My photos, email and text messages are what is affected and have not repopulated.  My music is accessable via iCloud without a problem and my contacts were kept via SIM.  I regularly copy my Camera Roll from my iPhone to my computer, and most of my photos are still viewable via Apple TV/My Photo Stream however only through the photos last saved.  The 348 recent photos that were on my faulty unit, and viewable in My Photo Stream were presumedly safe, but have disappeared.
    I have yet to shut down or restart my computer, nor have I exited out of iTunes, for the simple reason that I'd anticipated returning home with the new handset and plug it into my computer to restore right away.  I did, but that's as far as I've gotten. 
    Any help would be appreciated.  Thank you!

    Had the exact same problem whilst upgrading my iphone 4 to ios5. Lost all my data.
    Backed up ios 4.3 (8F190) iphone4. Upgraded to ios 5.1 (9B176), and then tried to restore.
    No joy, repeated the restore attempts countless times - lost all my data
    Tried again with a simulated test.
    Created a new itunes account on a new PC (64-bit windows 7), latest itunes(10.6.1.7- 64 bit).
    As my data is toast, I'm using the ios 5.1 phone to try to see if it was me or an apple bug, or something elsewhich caused this to happen.
    After quite a few more hours at it, it looks like a bug in iTunes / ios. I would be very happy to be wrong, though.
    Tried repeatedly restoring an ios 4.3 backup to 5.1 - no joy.
    Happy to try again - it does restore partially (got the call register transferred, but no SMS'es or anything else).
    Any ideas?

  • Itunes could not restore the iphone because the backup was corrupt or not compatible with the iphone that is being restored what do I do?

    I get the message itunes could not restore the iphone because the backup was corrupt or not compatible with the iphone that is being restored when I try to restore my phones backup what do i do I downloaded  itunes to my computer (pc) and it wiped out my phone and now it won't restore the backup

    Had the exact same problem whilst upgrading my iphone 4 to ios5. Lost all my data.
    Backed up ios 4.3 (8F190) iphone4. Upgraded to ios 5.1 (9B176), and then tried to restore.
    No joy, repeated the restore attempts countless times - lost all my data
    Tried again with a simulated test.
    Created a new itunes account on a new PC (64-bit windows 7), latest itunes(10.6.1.7- 64 bit).
    As my data is toast, I'm using the ios 5.1 phone to try to see if it was me or an apple bug, or something elsewhich caused this to happen.
    After quite a few more hours at it, it looks like a bug in iTunes / ios. I would be very happy to be wrong, though.
    Tried repeatedly restoring an ios 4.3 backup to 5.1 - no joy.
    Happy to try again - it does restore partially (got the call register transferred, but no SMS'es or anything else).
    Any ideas?

  • ITunes could not restore the iPhone because the backup was corrupt or not compatible with the iPhone

    I backed up entire iPhone5c iOS8 to my Windows 7 with iTunes latest, and now at the restore I am receiving a massage:
    "iTunes could not restore the iPhone because the backup was corrupt or not compatible with the iPhone"
    Please Help!!!!!!!!!!!!!!

    Had the exact same problem whilst upgrading my iphone 4 to ios5. Lost all my data.
    Backed up ios 4.3 (8F190) iphone4. Upgraded to ios 5.1 (9B176), and then tried to restore.
    No joy, repeated the restore attempts countless times - lost all my data
    Tried again with a simulated test.
    Created a new itunes account on a new PC (64-bit windows 7), latest itunes(10.6.1.7- 64 bit).
    As my data is toast, I'm using the ios 5.1 phone to try to see if it was me or an apple bug, or something elsewhich caused this to happen.
    After quite a few more hours at it, it looks like a bug in iTunes / ios. I would be very happy to be wrong, though.
    Tried repeatedly restoring an ios 4.3 backup to 5.1 - no joy.
    Happy to try again - it does restore partially (got the call register transferred, but no SMS'es or anything else).
    Any ideas?

  • Iphone could not restore the iphone because the backup was corrupt or not compatible with the iPhone that is being restored.

    i accidently deleted my texts and I want them back. My last sync was 2 days ago, but after i click restore backup, it says "iphone could not restore the iphone because the backup was corrupt or not compatible with the iPhone that is being restored."
    what do i do to fix it???????????????????????????????????????????????????

    Have a look Here  >  https://discussions.apple.com/message/17354775#17354775
    From the  More Like This on the right

  • Applications File Server connection with the node FNDFS_PROR

    I run the report and workflow sent me a link refer to the report output. However, I receive the following link after I click the link.
    What is it?
    An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_PRORSGSDB. There may be a network configuration problem, or the TNS listener on node FNDFS_PRORSGSDB may not be running. Please contact your system administrator.
    Thanks,
    Amy

    Hi Amy,
    I run the report and workflow sent me a link refer to the report output. However, I receive the following link after I click the link.Was it working before? Any recent changes in the system? Whats your APPS and DB version.
    An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_PRORSGSDB. There may be a network configuration problem, or the TNS listener on node FNDFS_PRORSGSDB may not be running. Please contact your system administrator.As preliminary checks do the following,
    1. Check the system profiles RRA: Service Prefix, SITE value should be FNDFS or blank
    2. Run "Report Review Agent Setup Test" and see if it returns any errors.
    [Oracle Application Object Library Report Review Agent Setup Test|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200358.1]
    3. Let us know the query output
    SQL> select CONCURRENT_QUEUE_NAME
    from FND_CONCURRENT_QUEUES
    where CONCURRENT_QUEUE_NAME like 'FND%';
    Thanks,
    Anchorage :)

Maybe you are looking for