• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

ProGuard

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!


I'm trying to obfuscate my app.jar file. It contains other jars, so my app.pro file looks like this:

In c:/test/lib.zip i packed all necessary jars.
When I start the application I get ClassNotFoundException for classes that should be loaded from jars packed in lib.zip.

How can I include necessary jars properly in the app_out.jar, so I won't get ClassNotFoundException?


Regards



 
Rancher
Posts: 43024
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ProGuard does not repackage jar/zip files. If you want the contents of lib.zip to be part of app_out.jar, you'll need to add them in a separate step after the obfuscation.
reply
    Bookmark Topic Watch Topic
  • New Topic