joeferner / node-java

Bridge API to connect with existing Java APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not finding java install

spector5 opened this issue · comments

I am trying to install this module but the install is failing. It does not seem to find the right java install for my machine.

I have a machine that has x86_64 architecture. The java that is installed is i386 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el7_9.i386/jre/lib/i386/). It appears that the install runs this script

./find_java_libdir.sh x64 linux

Since it mentions x64 the script looks for an amd64 java install, which does not exist. How can I resolve this? I cant tell how the target_arch variable that gets passed gets set.