Questions tagged [node-java]

A node.js module that will bridge API to connect with existing Java APIs

A node.js module that will bridge API to connect with existing Java APIs: https://github.com/joeferner/node-java

40 questions
0
votes
1 answer

Can H2O be used with node.js (standalone/offline in Electron app)

Does h2o-3 have node.js bindings? I found https://github.com/h2oai/h2o.js but when I saw no updates in two years I realized it was for h2o v2. I'm specifically asking about deploying a POJO/MOJO jar file, in the context of an Electron app. I.e.…
Darren Cook
  • 27,837
  • 13
  • 117
  • 217
0
votes
1 answer

How to load node-java library in an angular 2 tapp?

I am using https://github.com/angular/quickstart npm install npm install java --save node node_modules/java/postInstall.js npm install @types/java --save-dev package.json "dependencies": { ... "java": "^0.8.0", ... }, "devDependencies":…
cosma
  • 1
0
votes
2 answers

LNK2001 error when installing node-java on Windows 10

I'm trying to install node-java https://github.com/joeferner/node-java on Windows 10. I'm having problems. I'm using 32 bit java 8 jdk but still getting a LNK2001 error. C:\Users\seven\workspace\silver\deployments\apps\electron-quick-start>java…
fatbatman
  • 73
  • 6
0
votes
0 answers

Why would node.js+node-java that uses Sync calls be faster than using non-Sync?

I have written a small web server that I wrote in node.js that uses node-java to invoke a commercial product API. I originally used (mostly all) Async (non-Sync) calls to invoke that API, as shown here: Critique for node.js+node-java application…
user555303
  • 1,146
  • 3
  • 20
  • 44
0
votes
0 answers

node.js/node-java behaving differently under CENTOS 6 vs. CENTOS 7

I have a node.js app that uses node-java to invoke a Java class and then calls a method in that class. That Java class is a wrapper around a commercial product API. I posted most of my node.js app here: Critique for node.js+node-java application…
user555303
  • 1,146
  • 3
  • 20
  • 44
0
votes
0 answers

Accessing MySQL through node-java

So, I have a node.js project that I am working on for a class. One of the features our group is trying to build, requires calling a Java class method that connects to a MySQL database, does some computation and returns the result to the node server.…
0
votes
0 answers

cannot install jdbc module in RHEL 6 for my nodejs app

I have been trying to install jdbc in RHEL6 but keeps on getting error Linux 4.1.17-22.30.amzn1.x86_64 9680 error argv "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/node"…
Jibin TJ
  • 416
  • 1
  • 4
  • 15
0
votes
2 answers

npm install lead to gyp ERR! build error (node-java)

i have project with nodejs & java code , the project working fine on MAC but when trying to install project on Windows7 64 bit i get the following error : gyp ERR! build error gyp ERR! stack Error: `C:\Program Files…
Hasan Daghash
  • 1,681
  • 1
  • 17
  • 29
0
votes
0 answers

Undefined symbol: .JNI_GetDefaultJavaVMInitArgs and .JNI_CreateJavaVM for npm install java

I'm on IBM AIX 7.1, installed ibm jdk at /usr/ibm-java-ppc64-71 I have to run the command npm install java --javahome=$JAVA_HOME otherwise it stucks saying there is undefined variable 'javahome'. Here are my Env Vars: export…
Axel92Dev
  • 197
  • 1
  • 15
0
votes
0 answers

nodejs as windows service using "node-windows" module

i have jboss server and nodejs client .my work is to connect nodejs client.js to jboss server.i am using jboss server as window service. till now i had to run manualy command in command prompt node client.js to connect jboss server.now i want to…
saurabh
  • 31
  • 5
1 2
3