Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassGraph can't scan the jce.jar in jdk on the linux system, why? #813

Open
GaoHaobo-1843 opened this issue Dec 11, 2023 · 1 comment
Open

Comments

@GaoHaobo-1843
Copy link

ClassGraph can't scan the jce.jar in jdk on the linux system, why?

the code

ScanResult scanResult = new ClassGraph()
            .enableClassInfo()
            .enableSystemJarsAndModules()
            .scan()

it can scan the class in jce.jar or rt.jar on windows system, when I deploy to a linux machine, it didn't work , just rt.jar can be scanned, jce.jar was not

i use the 4.8.90 release

@lukehutch
Copy link
Member

I don't know, but you should always get in the habit of updating your dependency version and re-testing before you file a bug report. Who knows, maybe this was already fixed. We're at 4.8.165 already. Can you please upgrade and try again?

If it's still broken, please call .verbose() before .scan() to collect logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants