<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a4dosanddos</author_name>
  <author_url>https://blog.hatena.ne.jp/a4dosanddos/</author_url>
  <blog_title>プログラム日記</blog_title>
  <blog_url>https://a4dosanddos.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Linux 環境で JNI を使ってみたので、その時もメモ。手順は以下の感じでやった。 1. Java ソースの作成 2. ヘッダファイルの生成 3. C 側のソース作成 4. 共有ライブラリを作成 1. Java ソースの作成 class Hello { public native void hello(); public static void main(String[] args) { System.loadLibrary(&quot;Hello&quot;); Hello inst = new Hello(); inst.hello(); } } 作成したソースファイルは javac でコンパイルしておく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa4dosanddos.hatenablog.com%2Fentry%2F2013%2F06%2F17%2F232839&quot; title=&quot;「Java」Linux 環境で JNI その１ - プログラム日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-06-17 23:28:39</published>
  <title>「Java」Linux 環境で JNI その１</title>
  <type>rich</type>
  <url>https://a4dosanddos.hatenablog.com/entry/2013/06/17/232839</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
