{"id":434,"date":"2005-06-29T04:00:00","date_gmt":"2005-06-28T19:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2005-06-29-4.html"},"modified":"2026-08-10T14:34:36","modified_gmt":"2026-08-10T05:34:36","slug":"2005-06-29-4","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2005-06-29-4.html","title":{"rendered":"Jarg, 7zip \u306b\u3088\u308b Jar \u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u524a\u6e1b"},"content":{"rendered":"<p>\n&#8211; \u3053\u3053 &lt;http:\/\/www.moreread.net\/mario\/Any\/appli\/memo.html?id=1> \u306e\u30bd\u30fc\u30b9\u3092\u6539\u5909\u3057\u3066\u4e00\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3082\u306e\u3002\u7a7a\u767d\u3092\u542b\u3080\u30d1\u30b9\u306b\u5fae\u5999\u306b\u5bfe\u5fdc\u3057\u3066\u3042\u308b\u3002DOJA \u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3068\u540c\u6642\u306b\u5b9f\u884c\u3059\u308b\u3068\u30ed\u30c3\u30af\u306e\u305f\u3081\u306b\u66f8\u304d\u63db\u3048\u306b\u5931\u6557\u3059\u308b\u306e\u304c\u96e3\u70b9\u3002<br \/>\n&#8211; JavaBlender &lt;http:\/\/homepage.mac.com\/t.sekiguchi\/javablender\/index-j.html> \u3092\u5148\u306b\u5b9f\u884c\u3057\u305f\u3089\u3044\u3044\u3089\u3057\u3044\u3002(Java Blender \u306f\u30af\u30e9\u30b9\u878d\u5408\/\u30d1\u30c3\u30b1\u30fc\u30b8\u69cb\u9020\u306e\u5e73\u5766\u5316\u306a\u3069\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u81ea\u4f53\u306e\u30b5\u30a4\u30ba\u6700\u9069\u5316\u3092\u884c\u3046)<\/p>\n<blockquote><p>@echo off<br \/>\nREM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nREM = \u4f7f\u3044\u65b9:<br \/>\nREM = optimize.bat &#8220;C:\\path\\to\\jars\\app.jar&#8221;<br \/>\nREM = \u6307\u5b9a\u3057\u305f jar \u306e\u30b5\u30a4\u30ba\u3092\u524a\u6e1b\u3057\u3001\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u540c\u540d<br \/>\nREM = \u306e .jam \u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u3092\u66f8\u304d\u63db\u3048\u308b\u3002\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u5b9f\u884c\u306b<br \/>\nREM = \u5bfe\u5fdc<br \/>\nREM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nREM = \u4e0b\u6e96\u5099:<br \/>\nREM = \u25cfjarg.jar &lt;<a href=\"http:\/\/jarg.sourceforge.net\/index.ja\">http:\/\/jarg.sourceforge.net\/index.ja<\/a>>\u3092<br \/>\nREM =   \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u9069\u5f53\u306a\u3068\u3053\u308d\u306b\u914d\u7f6e\u3002<br \/>\nREM = \u25cf7zip &lt;<a href=\"http:\/\/www.7-zip.org\/\">http:\/\/www.7-zip.org\/<\/a>> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066<br \/>\nREM =   7za.exe \u306b\u30d1\u30b9\u3092\u901a\u3057\u3066\u304a\u304f\u3002<br \/>\nREM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nREM = \u8a2d\u5b9a<br \/>\nREM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nREM = \u30af\u30e9\u30b9\u30d1\u30b9(DOJA \u4ed8\u5c5e\u306e zip 2\u3064)<br \/>\nset _CP=D:\\Progra~1\\Java\\iDKDoJa4.0\\lib\\classes.zip;D:\\Progra~1\\Java\\iDKDoJa4.0\\lib\\doja_classes.zip<br \/>\nREM = preverify.exe \u306e\u30d1\u30b9(DOJA \u306b\u4ed8\u5c5e)<br \/>\nset _PREVERIFY=D:\\Program Files\\Java\\iDKDoJa4.0\\bin\\preverify.exe<br \/>\nREM = jarg.jar \u306e\u30d1\u30b9<br \/>\nset _JARG=D:\\Program Files\\Java\\tool\\jarg\\jarg.jar<br \/>\nREM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nif %1 == &#8220;&#8221; goto MES <br \/>\nset TARGET_F=%~f1<br \/>\nset TARGET_P=%~p1<br \/>\nset TARGET_SP=%~sp1<br \/>\nset TARGET_N=%~n1<br \/>\nmkdir %TARGET_P%bin<br \/>\ncd %TARGET_P%bin <br \/>\nmkdir temp<br \/>\njava -jar &#8220;%_JARG%&#8221; -nobco -j2me-prev &#8220;%_PREVERIFY%&#8221; -j2me-cp &#8220;%_CP%&#8221; &#8220;%TARGET_F%&#8221;<br \/>\n7za x %TARGET_SP%%TARGET_N%_s.jar -otemp -w -r -y > nul <br \/>\nREM del .\\%TARGET_N%_s.jar <\/p>\n<p>\ndel &#8220;%TARGET_SP%%TARGET_N%_s.jar&#8221;<br \/>\nREM ! &#8220;%TARGET_F%&#8221;<br \/>\ncd temp <br \/>\n7za a -tzip &#8220;%TARGET_F%&#8221; * -mx=9 -mpass=4 -r -y > nul <br \/>\ncd .. <br \/>\nrd temp \/s \/q <\/p>\n<p>type %TARGET_SP%%TARGET_N%.jam | find \/v &#8220;AppSize&#8221; > %TARGET_SP%%TARGET_N%.tmp <br \/>\ntype %TARGET_SP%%TARGET_N%.tmp > %TARGET_SP%%TARGET_N%.jam <br \/>\necho AppSize = %~z1 >> %TARGET_SP%%TARGET_N%.jam <br \/>\ndel %TARGET_SP%%TARGET_N%.tmp <br \/>\ncd %TARGET_P%<br \/>\nrd bin \/s \/q <br \/>\nexit \/b <br \/>\nMES <br \/>\necho optimize.bat [App.jar] <br \/>\nERR <br \/>\npause \n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>&#8211; \u3053\u3053 &lt;http:\/\/www.moreread.net\/mario\/Any\/appli\/memo.html?id=1> \u306e\u30bd\u30fc\u30b9\u3092\u6539\u5909\u3057\u3066\u4e00\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3082\u306e\u3002\u7a7a\u767d\u3092\u542b\u3080\u30d1\u30b9\u306b\u5fae\u5999 &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2005-06-29-4.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Jarg, 7zip \u306b\u3088\u308b Jar \u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u524a\u6e1b<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141],"tags":[6],"class_list":["post-434","post","type-post","status-publish","format-standard","hentry","category-lifehack","tag-j2me"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":2,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":1518,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/434\/revisions\/1518"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}