{"id":254,"date":"2017-11-16T23:47:20","date_gmt":"2017-11-16T14:47:20","guid":{"rendered":"http:\/\/skyit.biz\/?p=254"},"modified":"2017-11-16T23:47:20","modified_gmt":"2017-11-16T14:47:20","slug":"java-api%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e2%91%a1","status":"publish","type":"post","link":"https:\/\/skyit.biz\/?p=254","title":{"rendered":"Java API\u306b\u3064\u3044\u3066\u2461"},"content":{"rendered":"<p>Java\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u52d5\u4f5c\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u591a\u304f\u306e\u30af\u30e9\u30b9\u304cJVM\u306b\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002<br \/>\nJVM\u304c\u5fc5\u8981\u306a\u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u51e6\u7406\u306e\u3053\u3068\u3092\u30af\u30e9\u30b9\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\uff08class loading\uff09\u3068\u3044\u3044\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u3001\u5fc5\u8981\u306a\u30af\u30e9\u30b9\u5206\u3060\u3051\u3092\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\nJVM\u306e\u4e2d\u3067\u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u4f5c\u696d\u3092\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u30af\u30e9\u30b9\u30ed\u30fc\u30c0\u30fc\uff08class loader\uff09\u3068\u547c\u3070\u308c\u308b\u90e8\u5206\u3067\u3059\u3002<br \/>\n\u30af\u30e9\u30b9\u30ed\u30fc\u30c0\u30fc\u304c\u5fc5\u8981\u3068\u3059\u308b\u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u306b\u884c\u304d\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u30ed\u30fc\u30c0\u30fc\u306f\u3001\u30af\u30e9\u30b9\u30d1\u30b9(classpath)\u306e\u60c5\u5831\u3092\u5143\u306b\u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u306b\u884c\u304d\u307e\u3059\u3002<\/p>\n<p>JVM\u304c\u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30af\u30e9\u30b9\u30d1\u30b9\u3092\u6307\u5b9a\u3059\u308b\u306b\u306f\u3001\uff12\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u65b9\u6cd5\uff11\u3000\u8d77\u52d5\u6642\u306bjava\u30b3\u30de\u30f3\u30c9\u3067\u6307\u5b9a\u3059\u308b<br \/>\njava\u30b3\u30de\u30f3\u30c9\u3067JVM\u3092\u8d77\u52d5\u3059\u308b\u969b\u306b\u3001-cp\u30aa\u30d7\u30b7\u30e7\u30f3\u3000\u307e\u305f\u306f\u3001-classpathopusyon\u3000\u3067\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<br \/>\n>java -cp c:\\work Calc<\/p>\n<p>\u65b9\u6cd5\uff12\u3000\u691c\u7d22\u5834\u6240\u3092OS\u306b\u767b\u9332\u3057\u3066\u304a\u304f<br \/>\njava\u30b3\u30de\u30f3\u30c9\u3067\u4f7f\u3046\u969b\u306b-cp\u30aa\u30d7\u30b7\u30e7\u30f3\uff57\u8a18\u8ff0\u3059\u308b\u306e\u306f\u3001\u624b\u9593\u3067\u3059\u306e\u3067\u3001OS\u306e\u300c\u74b0\u5883\u5909\u6570\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u5834\u6240\u306b\u30af\u30e9\u30b9\u30d1\u30b9\u3092\u767b\u9332\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\u3002<br \/>\nWindows\u306e\u5834\u5408<br \/>\n\uff11\uff0e\u300c\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u300d\u30fc\uff1e\u300c\u30b7\u30b9\u30c6\u30e0\u300d\u30fc\uff1e\u300c\u30b7\u30b9\u30c6\u30e0\u306e\u8a73\u7d30\u8a2d\u5b9a\u300d\u30fc\uff1e\u300c\u8a73\u7d30\u8a2d\u5b9a(\u30bf\u30d6)\u300d\u30fc\uff1e\u300c\u74b0\u5883\u5909\u6570(\u30dc\u30bf\u30f3)\u300d\u3092\u9806\u756a\u306b\u30af\u30ea\u30c3\u30af\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u30e6\u30fc\u30b6\u30fc\u74b0\u5883\u5909\u6570\u3068\u3057\u3066CLASSPATH\u3092\u8ffd\u52a0\u3057\u3066\u3001\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u52d5\u4f5c\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u591a\u304f\u306e\u30af\u30e9\u30b9\u304cJVM\u306b\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002 JVM\u304c\u5fc5\u8981\u306a\u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u51e6\u7406\u306e\u3053\u3068\u3092\u30af\u30e9\u30b9\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\uff08class loading\uff09\u3068\u3044\u3044\u307e\u3059\u3002 \u30af\u30e9\u30b9\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u3001\u5fc5\u8981\u306a\u30af [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":{"0":"post-254","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-java"},"_links":{"self":[{"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/posts\/254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skyit.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=254"}],"version-history":[{"count":1,"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/posts\/254\/revisions"}],"predecessor-version":[{"id":255,"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/posts\/254\/revisions\/255"}],"wp:attachment":[{"href":"https:\/\/skyit.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skyit.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skyit.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}