{"id":1376,"date":"2007-09-10T00:49:56","date_gmt":"2007-09-09T21:49:56","guid":{"rendered":"http:\/\/mummila.net\/nuudelisoppa\/index.php\/?p=1376"},"modified":"2007-09-10T00:49:56","modified_gmt":"2007-09-09T21:49:56","slug":"running-a-java-program-from-a-batch-preventing-window-from-opening","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2007\/09\/10\/running-a-java-program-from-a-batch-preventing-window-from-opening\/","title":{"rendered":"Running a Java program from a batch, preventing window from opening"},"content":{"rendered":"<p>I whipped up a batch file to start a Java app I was developing, and it kept opening an ugly DOS window. I first tried making a shortcut and setting it to start minimized, but then I came across this <a href=\"http:\/\/forum.java.sun.com\/thread.jspa?threadID=320046&amp;messageID=1294002\">thread at Sun Developer Network<\/a> and applied it successfully to keep the window from popping up:<\/p>\n<blockquote>\n<pre><code>@ECHO OFF\nstart javaw -classpath .;swt.jar CrosswordGame\nexit<\/code><\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I whipped up a batch file to start a Java app I was developing, and it kept opening an ugly DOS window. I first tried making a shortcut and setting it to start minimized, but then I came across this thread at Sun Developer Network and applied it successfully to keep the window from popping [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1376","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=1376"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1376\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=1376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=1376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=1376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}