0

can i run java code on a c++ program?

Is it possible, if so how can it be done? *sorry for the bad english.

12th Nov 2017, 12:22 AM
Rosalio Reveles Caldera
Rosalio Reveles Caldera - avatar
5 Answers
+ 7
No
12th Nov 2017, 12:39 AM
qwerty
qwerty - avatar
+ 1
You can call Java code from C++ with JNI (Java Native Interface)
12th Nov 2017, 4:00 AM
aklex
aklex - avatar
0
Calling a java method using c++, for example there is a library on java and is not for c++, can it be called from c++?
12th Nov 2017, 12:35 AM
Rosalio Reveles Caldera
Rosalio Reveles Caldera - avatar
0
You sure? i think there should be a way
12th Nov 2017, 12:47 AM
Rosalio Reveles Caldera
Rosalio Reveles Caldera - avatar
0
Is the c++ program a JVM or Java JIT compiler? That might work.
12th Nov 2017, 2:10 AM
Jared Bird
Jared Bird - avatar