<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>terurou</author_name>
  <author_url>https://blog.hatena.ne.jp/terurou/</author_url>
  <blog_title>terurouメモ</blog_title>
  <blog_url>https://terurou.hateblo.jp/</blog_url>
  <categories>
    <anon>memo</anon>
    <anon>Java</anon>
    <anon>JavaScript</anon>
    <anon>Rhino</anon>
  </categories>
  <description>Rhino(1.7R1)を使ってたら、environmentってビルトインのグローバル変数が存在する事に気がついた。以下のワンライナーをRhino Shell上で実行したら、環境変数っぽいのが取得できた。 js&gt; for(var key in environment) { print(&quot;[&quot; + key + &quot;]\n&quot; + environment[key]); }[java.runtime.name] Java(TM) SE Runtime Environment [sun.boot.library.path] C:\Program Files\Java\jre1.6.0_06\bin [ja…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fterurou.hateblo.jp%2Fentry%2F20080612%2F1213259099&quot; title=&quot;Rhinoに environment ってビルトインの変数が存在する事に気がついた。 - terurouメモ&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>2008-06-12 17:24:59</published>
  <title>Rhinoに environment ってビルトインの変数が存在する事に気がついた。</title>
  <type>rich</type>
  <url>https://terurou.hateblo.jp/entry/20080612/1213259099</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
