{"id":81,"date":"2014-02-12T18:45:35","date_gmt":"2014-02-12T22:45:35","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/mypain\/?p=81"},"modified":"2014-02-12T18:45:35","modified_gmt":"2014-02-12T22:45:35","slug":"javaws-on-os-x-mountain-lion","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/mypain\/2014\/02\/12\/javaws-on-os-x-mountain-lion\/","title":{"rendered":"javaws on os x mountain lion"},"content":{"rendered":"<p>We run some dell servers that have idrac cards in them. Some of the older ones have older v6 cards in them. Connecting to these via a mac has been a bit of a bear lately with all the java changes. Doing a bit of research and using the terminal, I found a way to connect to these.<\/p>\n<p>The way that I found was to manually call javaws from the command line specifying which version I wanted to run. Since it seems that the only issue is with java &gt; 1.6, you can just call the java 1.6 javaws. I got the idea from reading this <a href=\"http:\/\/javatechniques.com\/blog\/launching-java-webstart-from-the-command-line\/\">post<\/a>.<\/p>\n<p>In terminal I found the javaws in my path. It was located in \/usr\/bin. I checked to see what that was symlinked to. It ended up in a &#8216;versions&#8217; directory that had many different versions. I created my own symlink in \/usr\/bin pointing to the v1.6.0 path vs the current path. Once I did this, I had a 1.6.0 version of javaws in my path, aptly named javaws-1.6.0.<\/p>\n<p>When you are logged into the drac, using safari, you can click on the launch virtual console button. This will download a .jnlp file. I didnt write a script or anything, but just found the .jnlp file in the finder via the download window in safari, moved it to the desktop and then in terminal ran javaws-1.6.0 filename.jnlp. This fired it up correctly.<\/p>\n<p>For reference, these are the two versions of javaws I have linked:<\/p>\n<p>\/usr\/bin\/javaws -&gt; \/System\/Library\/Frameworks\/JavaVM.framework\/Versions\/Current\/Commands\/javaws<\/p>\n<p>\/usr\/bin\/javaws-1.6.0 -&gt; \/System\/Library\/Frameworks\/JavaVM.framework\/Versions\/1.6.0\/Commands\/javaws<\/p>\n<p>My pain in the bean, your glean.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We run some dell servers that have idrac cards in them. Some of the older ones have older v6 cards in them. Connecting to these via a mac has been a bit of a bear lately with all the java changes. Doing a bit of research and using the terminal, I found a way to [&hellip;]<\/p>\n","protected":false},"author":758,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19265],"tags":[],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-os-x","post-preview"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/users\/758"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":1,"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/posts\/81\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/mypain\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}