{"id":2353,"date":"2017-03-14T15:16:13","date_gmt":"2017-03-14T13:16:13","guid":{"rendered":"http:\/\/hasselba.ch\/blog\/?p=2353"},"modified":"2017-03-14T15:16:13","modified_gmt":"2017-03-14T13:16:13","slug":"domino-java-1-8-thank-you-ibm","status":"publish","type":"post","link":"https:\/\/hasselba.ch\/blog\/?p=2353","title":{"rendered":"Domino &#038; Java 1.8: Thank you, IBM!"},"content":{"rendered":"<p>For years it was a lot of pain when developing for the Domino platform using Java 1.6 only. But now, Java 1.8 is available, and this allows to use the latest versions for a lot of libraries and development tools.<\/p>\n<p>After installing FP8 to the Client, Eclipse allowes to use the Domino JRE in a JavaSE-1.8 environment:<\/p>\n<p><a href=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/JRE18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2356\" src=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/JRE18.png\" alt=\"\" width=\"824\" height=\"556\" srcset=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/JRE18.png 824w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/JRE18-300x202.png 300w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/JRE18-768x518.png 768w\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" \/><\/a><\/p>\n<p>This gives access to the latest <a href=\"https:\/\/www.eclipse.org\/m2e\/\" target=\"_blank\">M2Eclipse plugin (1.7.0)<\/a>. The old version problem when running with JRE 1.6&#8230;<\/p>\n<p><a href=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2357\" src=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE16.png\" alt=\"\" width=\"1113\" height=\"277\" srcset=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE16.png 1113w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE16-300x75.png 300w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE16-768x191.png 768w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE16-1024x255.png 1024w\" sizes=\"auto, (max-width: 1113px) 100vw, 1113px\" \/><\/a>&#8230; is solved:<\/p>\n<p><a href=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2358\" src=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE18.png\" alt=\"\" width=\"678\" height=\"255\" srcset=\"https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE18.png 678w, https:\/\/hasselba.ch\/blog\/wp-content\/uploads\/2017\/03\/MavenJRE18-300x113.png 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n<p>Eclipse Updates? No problem, just do it!<\/p>\n<p>Latest Java features like switch statement with Strings? Here we go:<\/p>\n<pre><code>String token = \"FOO\";\r\nswitch(token) {\r\n    case \"FOO\": return (T) Foo.class;\r\n    case \"BAR\": return (T) Bar.class;\r\n}<\/code><\/pre>\n<p>Third party libraries like Jackson 2.8.0? Works like a charm!<\/p>\n<p>Thank you, IBM!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For years it was a lot of pain when developing for the Domino platform using Java 1.6 only. But now, Java 1.8 is available, and this allows to use the latest versions for a lot of libraries and development tools. &hellip; <a href=\"https:\/\/hasselba.ch\/blog\/?p=2353\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[7,122,31,121,123],"class_list":["post-2353","post","type-post","status-publish","format-standard","hentry","category-java","tag-domino","tag-fp-8","tag-java","tag-java-8","tag-maven"],"_links":{"self":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2353"}],"version-history":[{"count":4,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2353\/revisions"}],"predecessor-version":[{"id":2361,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2353\/revisions\/2361"}],"wp:attachment":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}