{"height":"190","title":"c\u3067helloworld","author_name":"KatagiriSo","version":"1.0","url":"https://rodhos.hatenadiary.jp/entry/2018/06/12/164839","provider_name":"Hatena Blog","type":"rich","categories":["jni","java","cpp"],"author_url":"https://blog.hatena.ne.jp/KatagiriSo/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frodhos.hatenadiary.jp%2Fentry%2F2018%2F06%2F12%2F164839\" title=\"c\u3067helloworld - Rodhos Soft\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","published":"2018-06-12 16:48:39","image_url":null,"blog_title":"Rodhos Soft","provider_url":"https://hatena.blog","description":"java\u5074\u3092\u7528\u610f public class Hello { static{ System.out.println(java.library.path); System.loadLibrary(\"Hello\"); } static native void printHello(); public static void main(String args[]){ printHello(); } } \u30b3\u30f3\u30d1\u30a4\u30eb javac Hello.java C\u5074\u3092\u4f5c\u6210\u3001\u30d8\u30c3\u30c0\u4f5c\u6210 javah Hello #include <jni.h> /* Header for class Hello */ #ifndef \u2026","blog_url":"https://rodhos.hatenadiary.jp/"}