﻿{"id":1290,"date":"2013-08-24T20:23:53","date_gmt":"2013-08-24T11:23:53","guid":{"rendered":"http:\/\/yucchi.jp\/blog\/?p=1290"},"modified":"2013-08-24T20:28:34","modified_gmt":"2013-08-24T11:28:34","slug":"java-web-start-english-by-machine-translation","status":"publish","type":"post","link":"http:\/\/yucchi.jp\/blog\/?p=1290","title":{"rendered":"Java Web Start (English by Machine translation)"},"content":{"rendered":"<p>How to make Java Web Start.<\/p>\n<p>use the sample app ControlsFX.<\/p>\n<p>ControlsFX is an external library of great JavaFX8.<\/p>\n<p><a href=\"http:\/\/fxexperience.com\/downloads\/controlsfx-8.0.2-developer-preview-1.zip\"><font size=\"4\"><strong>ControlsFX<\/strong><\/font><\/a>\u3000<\/p>\n<p>Of them, as long as it was downloaded and extracted the file<br \/>Library body controlsfx-8.0.2-developer-preview-1.jar<br \/>Sample application controlsfx-8.0.2-developer-preview-1-samples.jar<br \/>I use&nbsp; these.  <\/p>\n<p>Signature does not seem to be jar files of these two.  <\/p>\n<p>You will sign the jar files of these two.  <\/p>\n<p>Create a signature file are implanted the following command to start the command prompt.  <\/p>\n<p><font color=\"#9b00d3\">keytool -genkey \u2013alias javafx -keystore keystore \u2013storepass password \u2013keypass password_2 -validity 3650<\/font><\/p>\n<p>Please do not forget your password and alias name keystore.key The resulting file is required to sign the jar file.<\/p>\n<p>Update the manifest file before you sign.<\/p>\n<p>I will update as the following manifest file of controlsfx-8.0.2-developer-preview-1-samples.jar.<\/p>\n<p><font color=\"#9b00d3\">Manifest-Version: 1.0<br \/>Main-Class: org.controlsfx.HelloControlsFX<br \/>Class-Path: controlsfx-8.0.2-developer-preview-1.jar<\/font><\/p>\n<p>We will now update our controlsfx-8.0.2-developer-preview-1-samples.jar to make the MANIFEST.MF file as described above.<\/p>\n<p><font color=\"#9b00d3\">jar uvmf\u3000MANIFEST.MF controlsfx-8.0.2-developer-preview-1-samples.jar<\/font>  <\/p>\n<p>You can use the keystore file that you just created update the manifest file of controlsfx-8.0.2-developer-preview-1-samples.jar When you have finished<br \/>I put a sign controlsfx-8.0.2-developer-preview-1.jar and controlsfx-8.0.2-developer-preview-1-samples.jar.  <\/p>\n<p><font color=\"#9b00d3\">jarsigner -keystore keystore controlsfx-8.0.2-developer-preview-1-samples.jar javafx<\/font>  <\/p>\n<p>Enter the password you will be asked to enter password.  <\/p>\n<p>I put a sign the controlsfx-8.0.2-developer-preview-1.jar as well.  <\/p>\n<p><font color=\"#9b00d3\">jarsigner -keystore keystore controlsfx-8.0.2-developer-preview-1.jar javafx<\/font>  <\/p>\n<p>I enter here will also be prompted for a password of course.  <\/p>\n<p>Sign the jar file is now complete.  <\/p>\n<p>The next step is to create a JNLP file.  <\/p>\n<p><font color=\"#f79646\">controlsfx-8.0.2-developer-preview-1-samples.jnlp<\/font>  <\/p>\n<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br \/>&lt;jnlp codebase=\u201d<a href=\"http:\/\/yucchi.jp\/java\/java_web_start\/HOGE\/\">http:\/\/yucchi.jp\/java\/java_web_start\/HOGE\/<\/a>\u201d spec=&#8221;1.0&#8243; xmlns:jfx=&#8221;<a href=\"http:\/\/javafx.com&quot;\">http:\/\/javafx.com&#8221;<\/a> href=&#8221;controlsfx-8.0.2-developer-preview-1-samples.jnlp&#8221;&gt;<br \/>&nbsp; &lt;information&gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;title&gt;HelloControlsFX&lt;\/title&gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;vendor&gt;Hoge&lt;\/vendor&gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;description&gt;null&lt;\/description&gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;offline-allowed\/&gt;<br \/>&nbsp; &lt;\/information&gt;<br \/>&nbsp; &lt;resources&gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;jfx:javafx-runtime version=&#8221;2.2+&#8221; href=&#8221;<a href=\"http:\/\/javadl.sun.com\/webapps\/download\/GetFile\/javafx-latest\/windows-i586\/javafx2.jnlp&quot;\/\">http:\/\/javadl.sun.com\/webapps\/download\/GetFile\/javafx-latest\/windows-i586\/javafx2.jnlp&#8221;\/<\/a>&gt;<br \/>&nbsp; &lt;\/resources&gt;<br \/>&nbsp; &lt;resources&gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;j2se version=&#8221;1.6+&#8221; href=&#8221;<a href=\"http:\/\/java.sun.com\/products\/autodl\/j2se&quot;\/\">http:\/\/java.sun.com\/products\/autodl\/j2se&#8221;\/<\/a>&gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;jar href=&#8221;controlsfx-8.0.2-developer-preview-1-samples.jar&#8221; size=&#8221;200919&#8243; download=&#8221;eager&#8221; \/&gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;jar href=&#8221;controlsfx-8.0.2-developer-preview-1.jar&#8221; size=&#8221;455114&#8243; download=&#8221;eager&#8221; \/&gt;<br \/>&nbsp; &lt;\/resources&gt;<br \/>&lt;security&gt;<br \/>&nbsp; &lt;all-permissions\/&gt;<br \/>&lt;\/security&gt;<br \/>&nbsp; &lt;applet-desc&nbsp; width=&#8221;800&#8243; height=&#8221;600&#8243; main-class=&#8221;com.javafx.main.NoJavaFXFallback&#8221;&nbsp; name=&#8221;HelloControlsFX&#8221; &gt;<br \/>&nbsp;&nbsp;&nbsp; &lt;param name=&#8221;requiredFXVersion&#8221; value=&#8221;8.0+&#8221;\/&gt;<br \/>&nbsp; &lt;\/applet-desc&gt;<br \/>&nbsp; &lt;jfx:javafx-desc&nbsp; width=&#8221;800&#8243; height=&#8221;600&#8243; main-class=&#8221;org.controlsfx.HelloControlsFX&#8221;&nbsp; name=&#8221;HelloControlsFX&#8221; \/&gt;<br \/>&nbsp; &lt;update check=&#8221;always&#8221;\/&gt;<br \/>&lt;\/jnlp&gt;<\/p>\n<p>The codebase = &#8220;http:\/\/yucchi.jp\/java\/java_web_start\/HOGE\/&#8221; of the JNLP file for the above-mentioned<br \/>controlsfx-8.0.2-developer-preview-1-samples.jar<br \/>controlsfx-8.0.2-developer-preview-1.jar<br \/>controlsfx-8.0.2-developer-preview-1-samples.jnlp<br \/>It is ready to be swelling the link as below with the deployment.  <\/p>\n<p>&lt;a href=\u201d<a href=\"http:\/\/yucchi.jp\/java\/java_web_start\/HOGE\/controlsfx-8.0.2-developer-preview-1-samples.jnlp&rdquo;\">http:\/\/yucchi.jp\/java\/java_web_start\/HOGE\/controlsfx-8.0.2-developer-preview-1-samples.jnlp\u201d<\/a>&gt;<\/p>\n<p>However, you will need a web server of your supports the JNLP file.<\/p>\n<p>to mine.types<br \/>application \/ x-java-jnlp-file jnlp<br \/>Please add it if it does not bet.  <\/p>\n<p><font size=\"5\"><b>Webstart:<\/b> <a href=\"http:\/\/yucchi.jp\/java\/java_web_start\/HOGE\/controlsfx-8.0.2-developer-preview-1-samples.jnlp\">click to launch this app as webstart<\/a><\/font><font size=\"5\"><\/font><font size=\"5\"> \uff08Java 8 \u5b9f\u884c\u74b0\u5883\u5fc5\u9808\uff09<\/font><\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:b46892ad-54ef-4342-9022-4dc844e1657a\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">Hatena \u30bf\u30b0: <a href=\"http:\/\/b.hatena.ne.jp\/t\/Java\" rel=\"tag\">Java<\/a><\/div>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_hatena\"><a href='\/\/b.hatena.ne.jp\/add?mode=confirm&url=http%3A%2F%2Fyucchi.jp%2Fblog%2F%3Fp%3D1290&title=Java%20Web%20Start%20%28English%20by%20Machine%20translation%29' title='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='http:\/\/yucchi.jp\/blog\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/hatena.gif' alt='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' title='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' width='16' height='12' class='wp_social_bookmarking_light_img' \/><\/a><\/div>\n            <div class=\"wsbl_facebook\"><a href='http:\/\/www.facebook.com\/share.php?u=http%3A%2F%2Fyucchi.jp%2Fblog%2F%3Fp%3D1290&t=Java%20Web%20Start%20%28English%20by%20Machine%20translation%29' title='Facebook \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='http:\/\/yucchi.jp\/blog\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/facebook.png' alt='Facebook \u306b\u30b7\u30a7\u30a2' title='Facebook \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"http:\/\/yucchi.jp\/blog\/?p=1290\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"http:\/\/yucchi.jp\/blog\/?p=1290\" data-text=\"Java Web Start (English by Machine translation)\" data-lang=\"ja\">Tweet<\/a><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>How to make Java Web Start. use the sample app ControlsFX. ControlsFX is an external library of great JavaFX8. ControlsFX\u3000 Of them, as long as it was downloaded and extracted the fileLibrary body controlsfx-8.0.2-developer-preview-1.jarSample application controlsfx-8.0.2-developer-preview-1-samples.\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[17],"class_list":["post-1290","post","type-post","status-publish","format-standard","hentry","category-java","tag-java"],"_links":{"self":[{"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1290"}],"version-history":[{"count":1,"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1290\/revisions"}],"predecessor-version":[{"id":1291,"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1290\/revisions\/1291"}],"wp:attachment":[{"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1290"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yucchi.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}