<input type="hidden" id="_wpnonce" name="_wpnonce" value="554d87a88e" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/3144" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="554d87a88e" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/3144" />{"id":3144,"date":"2015-02-28T00:30:33","date_gmt":"2015-02-27T13:30:33","guid":{"rendered":"https:\/\/www.businesslegions.com\/blog\/?p=3144"},"modified":"2015-03-11T14:40:52","modified_gmt":"2015-03-11T03:40:52","slug":"how-to-get-tightvnc-viewer-working-in-java","status":"publish","type":"post","link":"https:\/\/www.businesslegions.com\/blog\/2015\/02\/28\/how-to-get-tightvnc-viewer-working-in-java\/","title":{"rendered":"How to get TightVNC viewer working in Java"},"content":{"rendered":"<!--CusAds0--><p>This took me a while to figure out so thought I&#8217;d better document it here otherwise I&#8217;m going to forget. TightVNC is a free remote control tool that runs on a Windows PC. Once you install the software on the PC, you are able to remotely connect and manage the PC as if you were sitting right in front of it. TightVNC does have the feature to connect to the PC remotely via a browser as well by using Java. This is what I had to do:<\/p>\n<p>Go here and download and setup\u00a0<a title=\"TightVNC remote\" href=\"http:\/\/www.tightvnc.com\/download.php\" target=\"_blank\">TightVNC Java Viewer<\/a><\/p>\n<p>Download TightVNC Java Viewer and open the zip file<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file.jpg?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone wp-image-3170 size-full\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file.jpg?strip=all\" alt=\"tightvnc java viewer zip file\" width=\"628\" height=\"130\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file.jpg?strip=all 628w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file-300x62.jpg?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file.jpg?strip=all&amp;w=125 125w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file.jpg?strip=all&amp;w=376 376w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file.jpg?strip=all&amp;w=502 502w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file.jpg?strip=all&amp;w=450 450w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/a><\/p>\n<p>Extract the files into a folder and then copy\u00a0the viewer-applet-example.html to another file called viewer.html<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-3168 size-full\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file-viewer.jpg?strip=all\" alt=\"tightvnc java viewer zip file viewer\" width=\"634\" height=\"132\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file-viewer.jpg?strip=all 634w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file-viewer-300x62.jpg?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file-viewer.jpg?strip=all&amp;w=126 126w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file-viewer.jpg?strip=all&amp;w=380 380w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file-viewer.jpg?strip=all&amp;w=507 507w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-java-viewer-zip-file-viewer.jpg?strip=all&amp;w=450 450w\" sizes=\"(max-width: 634px) 100vw, 634px\" \/><\/p>\n<p>Open the file viewer.html and make the relevant changes, below is a guide<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-viewer-html.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone wp-image-3173 \" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-viewer-html.png?strip=all\" alt=\"tightvnc viewer html\" width=\"1179\" height=\"479\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-viewer-html.png?strip=all 1633w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-viewer-html-300x122.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-viewer-html.png?strip=all&amp;w=653 653w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-viewer-html.png?strip=all&amp;w=979 979w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-viewer-html.png?strip=all&amp;w=1306 1306w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/tightvnc-viewer-html.png?strip=all&amp;w=450 450w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>Change the localhost to the IP address of the PC you want to control. Now there is an option to add the password but as you can see in the screenshot it&#8217;s not recommended because the password will be in clear text. If you leave this out, a popup to enter the password will be displayed when the html file is opened. \u00a0Alternatively, if you just want to monitor the PC then you can use a feature called View Only. You will need to setup a View Only account on the PC you want to control.<\/p><!--CusAds0-->\n<p>Most of the settings in the file you can leave as default unless you have a specific need to change it.<\/p>\n<p>Open the HTML file using your browser and then you will be able to access the PC.<\/p>\n<p>So you may be asking yourself why not just use the TightVNC viewer software, but the point of using this Java version is that you can run this on a web server and have access to the PC without installation of the TightVNC software.<\/p>\n<div class=\"lizatom-infobox image: tip\"><span class=\"close-infobox\"><\/span><div class=\"text\"><p> OTHER NOTES<\/p><\/div><\/div>\n<p>You need to make sure you have Java installed but first confirm which version you need to install e.g 32-bit or 64-bit. Also check with version of the browser you&#8217;re currently using or intend to use to open the HTML file.<\/p>\n<p>I have found that using 64 bit version of Chrome and 64 bit Java was more stable than 32 bit.<\/p>\n<p>I have tested with Java version 7.50 and you can download it <a title=\"Java Version\" href=\"http:\/\/javadl.sun.com\/webapps\/download\/AutoDL?BundleId=64152\" target=\"_blank\">here<\/a><\/p>\n<p>The filename: jre-7u5-windows-i586.exe<\/p>\n<p>If you&#8217;re intending to use the latest version of Java then you will need to make sure you then exclude the site from the Java security settings. Read more about this <a title=\"Java being blocked\" href=\"https:\/\/www.java.com\/en\/download\/help\/java_blocked.xml\" target=\"_blank\">here<\/a>.<\/p>\n<p>Follow the default settings during the install.<br \/>\nNow go to your browser and confirm that it&#8217;s been installed. e.g in chrome go to chrome:\/\/plugins and on the list check if its listed and is enabled<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/Java-Version-in-Chrome-enabled.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone size-large wp-image-3174\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/Java-Version-in-Chrome-enabled-346x666.png?strip=all\" alt=\"Java Version in Chrome enabled\" width=\"346\" height=\"666\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/Java-Version-in-Chrome-enabled-346x666.png?strip=all 346w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/Java-Version-in-Chrome-enabled.png?strip=all&amp;zoom=0.2&amp;resize=346%2C666 69w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/Java-Version-in-Chrome-enabled.png?strip=all&amp;zoom=0.4&amp;resize=346%2C666 138w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/Java-Version-in-Chrome-enabled.png?strip=all&amp;zoom=0.6&amp;resize=346%2C666 207w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/02\/Java-Version-in-Chrome-enabled.png?strip=all&amp;zoom=0.8&amp;resize=346%2C666 276w\" sizes=\"(max-width: 346px) 100vw, 346px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Now open the HTML file in your browser and test.<\/p>\n<div class=\"lt-box\" style=\"border:1px solid #1d6a9e\"><div class=\"lt-box-title\" style=\"background-color:#2485C6;border-top:1px solid #a7cee8;text-shadow:1px 1px 0 #0b283b\">DO YOU LIKE WHAT YOU'VE READ?<\/div><div class=\"lt-box-content\">Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!\r\n\r\n<p><div class=\"tnp tnp-subscription \">\n<form method=\"post\" action=\"https:\/\/www.businesslegions.com\/blog\/wp-admin\/admin-ajax.php?action=tnp&amp;na=s\">\n<input type=\"hidden\" name=\"nlang\" value=\"\">\n<div class=\"tnp-field tnp-field-firstname\"><label for=\"tnp-1\">Name<\/label>\n<input class=\"tnp-name\" type=\"text\" name=\"nn\" id=\"tnp-1\" value=\"\" placeholder=\"\"><\/div>\n<div class=\"tnp-field tnp-field-email\"><label for=\"tnp-2\">Email<\/label>\n<input class=\"tnp-email\" type=\"email\" name=\"ne\" id=\"tnp-2\" value=\"\" placeholder=\"\" required><\/div>\n<div class=\"tnp-field tnp-field-button\" style=\"text-align: left\"><input class=\"tnp-submit\" type=\"submit\" value=\"Subscribe\" style=\"\">\n<\/div>\n<\/form>\n<\/div>\n<\/p>\r\n\r\n<\/div><\/div><!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>This took me a while to figure out so thought I&#8217;d better document it here otherwise I&#8217;m going to forget. TightVNC is a free remote control tool that runs on a Windows PC. Once you install the software on the PC, you are able to remotely connect and manage the PC as if you were [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3168,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1781,1468,1780,1779,1782],"class_list":["post-3144","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-pc","tag-remote-control","tag-remote-desktop","tag-tightvnc","tag-viewer"],"_links":{"self":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/comments?post=3144"}],"version-history":[{"count":9,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3144\/revisions"}],"predecessor-version":[{"id":3235,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3144\/revisions\/3235"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media\/3168"}],"wp:attachment":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media?parent=3144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/categories?post=3144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/tags?post=3144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}