{"id":11895,"date":"2014-01-16T10:22:12","date_gmt":"2014-01-16T10:22:12","guid":{"rendered":"http:\/\/www.ch.imperial.ac.uk\/rzepa\/blog\/?p=11895"},"modified":"2014-01-16T12:47:55","modified_gmt":"2014-01-16T12:47:55","slug":"3d-rendered-molecular-models-on-this-blog-an-update","status":"publish","type":"post","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895","title":{"rendered":"3D-rendered molecular models on this blog: an update."},"content":{"rendered":"<div class=\"kcite-section\" kcite-section-id=\"11895\">\n<p>So much to do, so little time to do it. That is my excuse at least. Right from my <a href=\"http:\/\/www.ch.imperial.ac.uk\/rzepa\/blog\/?p=8\" target=\"_blank\">first post on this blog in 2008<\/a>\u00a0I have tried to enhance it using Jmol, a Java-based applet (normally indicated with the caption <strong>Click for 3D<\/strong>). This has been pretty stable for some five years now, but a recent spate of security-based releases of the JRE (Java runtime environment) for desktop computers has impacted, the latest of which was released yesterday (Java 7, V 51). \u00a0Put simply, when I started, an unsigned applet was fine. Now to run, it can only be a properly signed applet. Fortunately, there are two solutions:<\/p>\n<ol>\n<li>Install such a signed applet, and then invoke it correctly<\/li>\n<li>Replace the use of Java applets with one not dependent on Java. In the last 18 months an amazing effort to do this has resulted in <a title=\"Refactoring my lecture notes on pericyclic reactions.\" href=\"http:\/\/www.ch.imperial.ac.uk\/rzepa\/blog\/?p=11812\" target=\"_blank\">\u00a0JSmol<\/a>, which uses only JavaScript (which has nothing to do with Java despite the name).<\/li>\n<\/ol>\n<p>I will shortly start the process of implementing solution 2 on this blog. Meanwhile I have started to implement solution 1 (which has the advantage that many of the surfaces I have included here, such as orbitals or NCI analyses, will render very much more quickly than with \u00a0JSmol). It involves replacing all instances of<\/p>\n<p><span style=\"color: #ff0000;\"><code>jmolInitialize(\u2018..\/Jmol\/\u2019,'JmolApplet.jar\u2019);<\/code><\/span><\/p>\n<p>or<\/p>\n<p><span style=\"color: #ff0000;\"><code>jmolInitialize(\u2018..\/Jmol\/\u2019,'JmolAppletSigned0.jar\u2019);<\/code><\/span><\/p>\n<p>with<\/p>\n<p><span style=\"color: #0000ff;\"><code>jmolInitialize(\u2018..\/Jmol\/\u2019,'JmolAppletSigned.jar\u2019);<\/code><\/span><\/p>\n<p>I have identified 935 such instances, and am pondering how to automate this. Meanwhile, if you have a particular page which you would like to be processed quickly, do please get in touch.<\/p>\n<hr \/>\n<p>PS. This is a classic (ugly) hack, but it might save me time. I uploaded <b>JmolAppletSigned.jar<\/b> V 14.0.5 and renamed it <b>JmolApplet.jar<\/b> (having moved the old one). Then I made one change to the script that invokes it (Jmol.js), changing the instance of <code>\"JmolAppletSigned\" : \"JmolApplet\") + \"<span style=\"color: #ff0000;\">0<\/span>.jar\");<\/code> to <code>\"JmolAppletSigned\" : \"JmolApplet\") + \".jar\");<\/code>. Sorry to spill the guts of this blog onto this page, but one does occasionally need to tinker under the hood, and it might be of interest to anyone else trying to do this. Meanwhile, there are<a href=\"http:\/\/wiki.jmol.org\/index.php\/Jmol_in_Wikis_and_Blogs#WordPress_2\" target=\"_blank\"> instructions here<\/a> on how to install JSmol.<\/p>\n<!-- kcite active, but no citations found -->\n<\/div> <!-- kcite-section 11895 -->","protected":false},"excerpt":{"rendered":"<p>So much to do, so little time to do it. That is my excuse at least. Right from my first post on this blog in 2008\u00a0I have tried to enhance it using Jmol, a Java-based applet (normally indicated with the caption Click for 3D). This has been pretty stable for some five years now, but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":5,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[487],"ppma_author":[2661],"class_list":["post-11895","post","type-post","status-publish","format-standard","hentry","category-general","tag-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>3D-rendered molecular models on this blog: an update. - Henry Rzepa&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"3D-rendered molecular models on this blog: an update. - Henry Rzepa&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"So much to do, so little time to do it. That is my excuse at least. Right from my first post on this blog in 2008\u00a0I have tried to enhance it using Jmol, a Java-based applet (normally indicated with the caption Click for 3D). This has been pretty stable for some five years now, but [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895\" \/>\n<meta property=\"og:site_name\" content=\"Henry Rzepa&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-01-16T10:22:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-01-16T12:47:55+00:00\" \/>\n<meta name=\"author\" content=\"Henry Rzepa\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Henry Rzepa\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"3D-rendered molecular models on this blog: an update. - Henry Rzepa&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895","og_locale":"en_GB","og_type":"article","og_title":"3D-rendered molecular models on this blog: an update. - Henry Rzepa&#039;s Blog","og_description":"So much to do, so little time to do it. That is my excuse at least. Right from my first post on this blog in 2008\u00a0I have tried to enhance it using Jmol, a Java-based applet (normally indicated with the caption Click for 3D). This has been pretty stable for some five years now, but [&hellip;]","og_url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895","og_site_name":"Henry Rzepa&#039;s Blog","article_published_time":"2014-01-16T10:22:12+00:00","article_modified_time":"2014-01-16T12:47:55+00:00","author":"Henry Rzepa","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Henry Rzepa","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895#article","isPartOf":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895"},"author":{"name":"Henry Rzepa","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#\/schema\/person\/2b40f7b9c872a4dc1547e040a11b6281"},"headline":"3D-rendered molecular models on this blog: an update.","datePublished":"2014-01-16T10:22:12+00:00","dateModified":"2014-01-16T12:47:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895"},"wordCount":342,"commentCount":5,"keywords":["Java"],"articleSection":["General"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895","url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895","name":"3D-rendered molecular models on this blog: an update. - Henry Rzepa&#039;s Blog","isPartOf":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#website"},"datePublished":"2014-01-16T10:22:12+00:00","dateModified":"2014-01-16T12:47:55+00:00","author":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#\/schema\/person\/2b40f7b9c872a4dc1547e040a11b6281"},"breadcrumb":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog"},{"@type":"ListItem","position":2,"name":"3D-rendered molecular models on this blog: an update."}]},{"@type":"WebSite","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#website","url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/","name":"Henry Rzepa&#039;s Blog","description":"Chemistry with a twist","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#\/schema\/person\/2b40f7b9c872a4dc1547e040a11b6281","name":"Henry Rzepa","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/897b6740f7f599bca7942cdf7d7914af5988937ae0e3869ab09aebb87f26a731?s=96&d=blank&r=g370be3a7397865e4fd161aefeb0a5a85","url":"https:\/\/secure.gravatar.com\/avatar\/897b6740f7f599bca7942cdf7d7914af5988937ae0e3869ab09aebb87f26a731?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/897b6740f7f599bca7942cdf7d7914af5988937ae0e3869ab09aebb87f26a731?s=96&d=blank&r=g","caption":"Henry Rzepa"},"description":"Henry Rzepa is Emeritus Professor of Computational Chemistry at Imperial College London.","sameAs":["https:\/\/orcid.org\/0000-0002-8635-8390"],"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pDef7-35R","jetpack-related-posts":[{"id":19697,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=19697","url_meta":{"origin":11895,"position":0},"title":"Ten years on: Jmol and WordPress.","author":"Henry Rzepa","date":"May 16, 2018","format":false,"excerpt":"Ten years are a long time when it comes to (recent) technologies. The first post on this blog was on the topic of how to present chemistry with three intact dimensions. I had in mind molecular models, molecular isosurfaces and molecular vibrations (arguably a further dimension). Here I reflect on\u2026","rel":"","context":"In &quot;Interesting chemistry&quot;","block_context":{"text":"Interesting chemistry","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18365,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=18365","url_meta":{"origin":11895,"position":1},"title":"Curating a nine year old journal FAIR data table.","author":"Henry Rzepa","date":"May 29, 2017","format":false,"excerpt":"As the Internet and its Web-components age, so early pages start to decay as technology moves on. A few posts ago, I talked about the maintenance of a relatively simple page first hosted some 21 years ago. In my notes on the curation, I wrote the phrase \"Less successful was\u2026","rel":"","context":"In &quot;Chemical IT&quot;","block_context":{"text":"Chemical IT","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=2"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18514,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=18514","url_meta":{"origin":11895,"position":2},"title":"Twenty one years of chemistry-related Java apps:  RIP Java?","author":"Henry Rzepa","date":"June 10, 2017","format":false,"excerpt":"In an earlier post, I lamented the modern difficulties in running old instances of Jmol, an example of an application program written in the Java programming language. When I wrote that, I had quite forgotten a treasure trove of links to old Java that I had collected in 1996-7 and\u2026","rel":"","context":"In &quot;Historical&quot;","block_context":{"text":"Historical","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=565"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.ch.ic.ac.uk\/rzepa\/blog\/wp-content\/uploads\/2017\/06\/174-1024x561.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":17376,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=17376","url_meta":{"origin":11895,"position":3},"title":"Revisiting (and maintaining) a twenty year old web page. Mauveine: The First Industrial Organic Fine-Chemical.","author":"Henry Rzepa","date":"February 2, 2017","format":false,"excerpt":"Almost exactly 20 years ago, I started what can be regarded as the precursor to this blog. As part of a celebration of this anniversary, I revisited the page to see whether any of it had withstood the test of time. Here I recount what I discovered. The site itself\u2026","rel":"","context":"In &quot;Chemical IT&quot;","block_context":{"text":"Chemical IT","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=2"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.ch.ic.ac.uk\/rzepa\/blog\/wp-content\/uploads\/2017\/02\/038-1024x419.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":25452,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=25452","url_meta":{"origin":11895,"position":4},"title":"Four stages in the evolution of interactive ESI as part of articles in chemistry journals.","author":"Henry Rzepa","date":"August 25, 2022","format":false,"excerpt":"A previous post was triggered by Peter alerting me that interactive electronic supporting information (IESI) we had submitted to a journal in 2005 appeared to be strangely missing from the article landing page. This set me off recollecting our journey, which had started around 1998, and to explore what the\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5881,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=5881","url_meta":{"origin":11895,"position":5},"title":"Mobile-friendly solutions for viewing (WordPress) Blogs with embedded  3D molecular coordinates.","author":"Henry Rzepa","date":"December 11, 2011","format":false,"excerpt":"My very first post on this blog, in 2008, was to describe how Jmol could be used to illustrate chemical themes by adding 3D models to posts. Many of my subsequent efforts have indeed invoked Jmol. I thought I might review progress since then, with a particular focus on using\u2026","rel":"","context":"In &quot;Chemical IT&quot;","block_context":{"text":"Chemical IT","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=2"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":false,"authors":[{"term_id":2661,"user_id":1,"is_guest":0,"slug":"admin","display_name":"Henry Rzepa","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/897b6740f7f599bca7942cdf7d7914af5988937ae0e3869ab09aebb87f26a731?s=96&d=blank&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11895"}],"version-history":[{"count":5,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11895\/revisions"}],"predecessor-version":[{"id":11897,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11895\/revisions\/11897"}],"wp:attachment":[{"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11895"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fppma_author&post=11895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}