Git Product home page Git Product logo

Comments (4)

melloware avatar melloware commented on August 19, 2024

Yes we did not package the DLL. See our instructions in the readme.txt here: https://github.com/melloware/jintellitype/blob/master/readme.txt

from jintellitype.

jjYBdx4IL avatar jjYBdx4IL commented on August 19, 2024

for a better adoption I recommend packaging with the jar.

from jintellitype.

melloware avatar melloware commented on August 19, 2024

Yep I reopened this ticket that is a good idea. Do you have an example library you can point me to that packages them inside the JAR?

from jintellitype.

jjYBdx4IL avatar jjYBdx4IL commented on August 19, 2024

open resource-stream, copy it to a file named System.getProperty("user.home")+"/AppData/LocalLow/jintellitype/jintellitype."+version+".dll" if that does not exist alrady, then use System.load to load it. Should work that way if there are all dependent libraries available on the system. If loading fails, remove and replace the existing extracted dll because it may have been corrupted. Some people also simply extract the dll to the temp folder and register a VM shutdown hook to remove it, but that's inferior because it's slower because it doesn't get cached and always needs to be extracted.

Ofc if you really want to do the extraction correctly, you need a blocking lock on the containing folder or open the target file in exclusive mode, the latter could produce a non-critical concurrency failure during the initial extraction when there are two processes trying to achieve the same thing.

from jintellitype.

Related Issues (20)

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.