title: How can OpenMP be used inside Java code?
body: <p>I have a Java project, in which I have to achieve parallelization through OpenMP technology (that is, I have to, somehow, make a bridge between C/C++ and Java). So far I was told about using JNI for integrating C/C++ code in java, but, also I was suggested to use JaMP instead. I don't know much about these techniques/frameworks, so my question is, which is less pain to use, and, generally, how can I implement OpenMP stuff in Java code? Can I achieve the same functionality using only Java threads (without using OpenMP)? I'm a beginner in this domain, so absolutely any help is much appreciated.</p>
  
  <p>Hint: the project is to build a collaborative graphic editor, by "putting" onto one core the interactions between the server and the clients, and "putting" onto another core the effective graphic processing.</p>