Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9093391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:05:21+00:00 2026-06-16T23:05:21+00:00

I am obfuscating JAR and that JAR also contains some resource files. I do

  • 0

I am obfuscating JAR and that JAR also contains some resource files. I do not want them to get obfuscated or get corrupted. How to ask proguard to ignore resource file such as public key store file?

-adaptresourcefilenames
-adaptresourcefilecontents 

We have to options for resources file but from both these options my public key store file get corrupted into output jar and throwing exception –

Exception in Application start method
        java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.javafx.main.Main.a(Main.java:642)
        at com.javafx.main.Main.main(Main.java:805)
        Caused by: java.lang.RuntimeException: Exception in Application start method
        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherIm
        pl.java:403)
        at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:
        47)
        at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
        at java.lang.Thread.run(Unknown Source)
        Caused by: java.lang.AssertionError: java.security.KeyStoreException: Uninitiali
        zed keystore
        at de.schlichtherle.license.LicenseNotary.getPublicKey(Unknown Source)
        at de.schlichtherle.license.LicenseNotary.verify(Unknown Source)
        at de.schlichtherle.license.LicenseManager.verify(Unknown Source)
        at de.schlichtherle.license.LicenseManager.verify(Unknown Source)

        at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
        at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:206)
        at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29
        )
        at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
        ... 1 more
        Caused by: java.security.KeyStoreException: Uninitialized keystore
        at java.security.KeyStore.isKeyEntry(Unknown Source)
        ... 17 more
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:05:22+00:00Added an answer on June 16, 2026 at 11:05 pm

    Both options accept arguments to filter the files that you want to adapt:

    cfr. ProGuard manual > Usage > -adaptresourcefilenames / -adaptresourcefilecontents

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I export android project with proguard.cfg, all referenced .jar files are obfuscated as
I want to create an obfuscated android application. I use ProGuard for that. I
I'm working on a closed source java app that analyzes JAR files. Since java
I have a standalone Java app that has some licensing code that I want
I am obfuscating my javafx application jar using Proguard 4.8 and obfuscated jar is
We are thinking about obfuscating some code before releasing it to customers. We are
I've built a (command-line) application in Scala that I want to distribute as a
I am trying to use Proguard for obfuscating my Android app. Also I am
My application jar contains classes from swing-layout.jar which contains free layout manager for java
In my app I have some package under src/, like packagename/dtd, which I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.