Code Monkey home page Code Monkey logo

Comments (4)

JohnRDOrazio avatar JohnRDOrazio commented on May 12, 2024

NOTE 9 September 2020

I have succeeded in adding the necessary library to the classpath, which allows me to import the classes and use the class methods... However the pak files and the dlls are also required in order for the component to function. How should the pak files and the dlls be added to the project?

NOTE 10 September 2020

My Netbeans seemed a little quirky and it seemed like it was seeing conflict in the JCEF branch for some reason, so to make sure everything was truly clean I went and deleted the branch and created it again, to be sure it really was lined up with the master branch. After doing all this, I realized there wasn't an actual conflict, it was just the Netbeans interface that was automatically filling in the commit message area with old message material which had nothing to do with the current situation. If anyone had already pulled the branch, I apologize, you might need to delete and pull again. It shouldn't happen again 😄

In any case I just made the first push on this branch. I've succeeded in not getting an error at least. I have the JCEF native library folder (\path\to\jcef_win32_1-0-10-84\java-cef-build-bin\bin\lib\win32) in my system path for now. I tried setting Run -> VMOptions to -Djava.library.path="\path\to\jcef_win32_1-0-10-84\java-cef-build-bin\bin\lib\win32" but that didn't seem to do the trick, I was still getting an Exception in thread "main" java.lang.UnsatisfiedLinkError: no chrome_elf in java.library.path.

I tried doing it on runtime from within the code using System.setProperty("java.library.path", "\path\to\jcef_win32_1-0-10-84\java-cef-build-bin\bin\lib\win32"); but that didn't do the trick either.

Only thing that solved for the time being is setting the path inside of my system PATH variable.

Even though I'm no longer getting an error, I'm still not getting an actual browser with a Google page either, I just see an empty JInternalFrame. Need to do more testing, if anyone has any ideas they are more than welcome

from bibleget-openoffice.

JohnRDOrazio avatar JohnRDOrazio commented on May 12, 2024

a good part of this is accomplished in PR #9 and PR #11 .
However still have to tackle how to package the native libraries and make them available to the system path...

from bibleget-openoffice.

JohnRDOrazio avatar JohnRDOrazio commented on May 12, 2024

Maybe have to set java.library.path and then loadLibrary? It's worth a try. Problem is figuring out how to package and make available on the final user's system...

In the meantime this might be useful: https://magpcss.org/ceforum/viewtopic.php?f=17&t=12230

from bibleget-openoffice.

JohnRDOrazio avatar JohnRDOrazio commented on May 12, 2024

done as far as functionality is concerned. Now still have to figure out packaging and distribution, making native libraries available

from bibleget-openoffice.

Related Issues (15)

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.