Code Monkey home page Code Monkey logo

Comments (3)

JuicyDragon avatar JuicyDragon commented on June 28, 2024

Hello @chrishaupt this recently came up elsewhere and I have only recently learned of the solution, so I haven't yet had a chance to push up changes to reflect that solution.

This has to do with 9.6 using Java 11 and resolving particular crypto dependencies at run-time. Basically the JVM now needs to be passed this argument:

--add-exports=java.base/jdk.internal.loader=ALL-UNNAMED

I'll see if I can get this worked into the project here, until I do, I believe including that argument should resolve this issue.

from nuix-java-engine-baseline.

chrishaupt avatar chrishaupt commented on June 28, 2024

Hi @JuicyDragon, this solves the problem! Thanks.

Another way I found yesterday was to add the bouncycastle dependencies (from the engine lib/non-fips directory) to the pom of my project. But I will stick to your way as it is more consise.

from nuix-java-engine-baseline.

JuicyDragon avatar JuicyDragon commented on June 28, 2024

At run-time Nuix decides to go the FIPS or NON-FIPS route and dynamically loads some dependencies from the appropriate sub-directory. That dynamic dependency resolution seems to be the reason that argument is needed. While you might take another approach as you mentioned, I'm not sure if that has potential downsides. A senior member of the engine team told me that argument was the necessary magic to get this working so I'd say that's a good way to go 😄

Glad that worked for you. I'm exploring converting this project into a Gradle project due to some experience I've had to Gradle recently. Once I get there, the argument would be part of the build file and would be more of an after thought.

from nuix-java-engine-baseline.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.