{"id":9628,"date":"2017-07-18T12:34:49","date_gmt":"2017-07-18T16:34:49","guid":{"rendered":"https:\/\/pitss.org\/us\/?p=9628"},"modified":"2017-09-05T15:34:38","modified_gmt":"2017-09-05T19:34:38","slug":"oracle-forms-12c-and-java-8","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2017\/07\/18\/oracle-forms-12c-and-java-8\/","title":{"rendered":"Oracle Forms 12c and Java 8"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; custom_padding=&#8221;0px||50px|&#8221; admin_label=&#8221;section&#8221; _builder_version=&#8221;3.0.51&#8243;][et_pb_row custom_padding=&#8221;0px|||&#8221; admin_label=&#8221;Row&#8221; _builder_version=&#8221;3.0.63&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.0.47&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;3.0.63&#8243; custom_margin=&#8221;||30px|&#8221;]<\/p>\n<h1>Oracle Forms 12c and Java 8<\/h1>\n<p>12c is the latest and greatest version of Oracle Forms. By default, it is supported to run Oracle Forms 12c with Java Runtime Environment (JRE) 8 as well as Java Development Kit (JDK) 8.<\/p>\n<p>However, due to new security enhancements with both Oracle Forms 12c and the latest Java, there are some important considerations which need to be made before users can run Oracle Forms 12c and Java 8 together. This article will explain what will need to be done in order to have Oracle Forms 12c and Java 8 run together successfully.<\/p>\n<p>[\/et_pb_text][et_pb_divider color=&#8221;#e2e2e2&#8243; show_divider=&#8221;on&#8221; divider_position=&#8221;center&#8221; admin_label=&#8221;Divider&#8221; _builder_version=&#8221;3.0.51&#8243; custom_css_main_element=&#8221;margin-bottom:30px !important;&#8221;][\/et_pb_divider][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;3.0.63&#8243; custom_margin=&#8221;||30px|&#8221;]<\/p>\n<h3>Information in this helpful article includes:<\/h3>\n<p><strong style=\"font-size: 16px; padding-right: 5px; background-color: #ffffff; color: #abd25e;\">\u2713<\/strong> Supported JDKs and JREs for Oracle Forms 12c<br \/>\n<strong style=\"font-size: 16px; padding-right: 5px; background-color: #ffffff; color: #abd25e;\">\u2713<\/strong><span style=\"font-size: 16px; background-color: #ffffff;\"> Forms Server Configurations for Java 8<\/span><span style=\"font-size: 16px;\"><br \/>\n<\/span><strong style=\"font-size: 16px; padding-right: 5px; background-color: #ffffff; color: #abd25e;\">\u2713<\/strong><span style=\"font-size: 16px; background-color: #ffffff;\"> Alternative JRE 8 Download Methods<\/span><span style=\"font-size: 16px;\"><br \/>\n<\/span><strong style=\"font-size: 16px; padding-right: 5px; background-color: #ffffff; color: #abd25e;\">\u2713<\/strong><span style=\"font-size: 16px; background-color: #ffffff;\"> And more!<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row custom_padding=&#8221;40px|40px|30px|40px&#8221; background_color=&#8221;#006bb3&#8243; background_position_1=&#8221;top_left&#8221; background_repeat_1=&#8221;no-repeat&#8221; admin_label=&#8221;Row&#8221; _builder_version=&#8221;3.0.51&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.0.47&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;no-repeat&#8221;][et_pb_text background_layout=&#8221;dark&#8221; admin_label=&#8221;Text&#8221; _builder_version=&#8221;3.0.63&#8243; background_color=&#8221;#006bb3&#8243;]<\/p>\n<h2><strong>Fill out this form to get immediate access to the article.<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_code admin_label=&#8221;Code&#8221; module_class=&#8221;white-text&#8221; _builder_version=&#8221;3.0.63&#8243;][ninja_form id=9][\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle Forms 12c and Java 8 12c is the latest and greatest version of Oracle Forms. By default, it is supported to run Oracle Forms 12c with Java Runtime Environment (JRE) 8 as well as Java Development Kit (JDK) 8. However, due to new security enhancements with both Oracle Forms 12c and the latest Java, [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"12c is the latest and greatest version of Oracle Forms. By default, it is supported to run Oracle Forms 12c with Java Runtime Environment (JRE) 8 as well as Java Development Kit (JDK) 8. However, due to new security enhancements with both Oracle Forms 12c and the latest Java, there are some important considerations which need to be made before users can run Oracle Forms 12c and Java 8 together. This article will explain what will need to be done in order to have Oracle Forms 12c and Java 8 run together successfully.\r\n<h3>Supported JDKs and JREs for Oracle Forms 12c<\/h3>\r\nBefore performing the 12c Oracle Forms installation, you will need to make sure you install the correct version of JDK 8. For all versions of Oracle WebLogic Server 12cR2 (12.2.1.x) and Forms 12c (12.2.1.x), the latest JDK will be supported. You may download JDK 8 from Oracle here (for security reasons, it is strongly recommended to only download a JDK from Oracle): <a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\">http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html<\/a>\r\n<table style=\"border-collapse: collapse\">\r\n<tbody>\r\n<tr style=\"background-color: #0051d3\">\r\n<td style=\"color: white;border: 1px solid black;text-align: center\">WebLogic Server and Forms 12c Versions<\/td>\r\n<td style=\"color: white;border: 1px solid black;text-align: center\">Supported JDKs<\/td>\r\n<\/tr>\r\n<tr style=\"background-color: #8cb8ff\">\r\n<td style=\"color: black;border: 1px solid black\">12.2.1.0.0<\/td>\r\n<td style=\"color: black;border: 1px solid black\">JDK 1.8.0_51+<\/td>\r\n<\/tr>\r\n<tr style=\"background-color: #8cb8ff\">\r\n<td style=\"color: black;border: 1px solid black\">12.2.1.1.0<\/td>\r\n<td style=\"color: black;border: 1px solid black\">JDK 1.8.0_77+<\/td>\r\n<\/tr>\r\n<tr style=\"background-color: #8cb8ff\">\r\n<td style=\"color: black;border: 1px solid black\">12.2.1.2.0<\/td>\r\n<td style=\"color: black;border: 1px solid black\">JDK 1.8.0_101+<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nOnce Oracle Forms is installed, you will need to install a Java Runtime Environment (JRE) to run your Oracle Forms application. You may download the latest version JRE 8 from Oracle here (for security reasons, it is strongly recommended to obtain the latest JRE 8 download directly from Oracle): <a href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jre8-downloads-2133155.html\">http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jre8-downloads-2133155.html<\/a>\r\n<table style=\"border-collapse: collapse\">\r\n<tbody>\r\n<tr style=\"background-color: #0051d3\">\r\n<td style=\"color: white;border: 1px solid black;text-align: center\">WebLogic Server and Forms 12c Versions<\/td>\r\n<td style=\"color: white;border: 1px solid black;text-align: center\">Supported JREs<\/td>\r\n<\/tr>\r\n<tr style=\"background-color: #8cb8ff\">\r\n<td style=\"color: black;border: 1px solid black\">12.2.1.0.0<\/td>\r\n<td style=\"color: black;border: 1px solid black\">JRE 1.8.0_51+<\/td>\r\n<\/tr>\r\n<tr style=\"background-color: #8cb8ff\">\r\n<td style=\"color: black;border: 1px solid black\">12.2.1.1.0<\/td>\r\n<td style=\"color: black;border: 1px solid black\">JRE 1.8.0_77+<\/td>\r\n<\/tr>\r\n<tr style=\"background-color: #8cb8ff\">\r\n<td style=\"color: black;border: 1px solid black\">12.2.1.2.0<\/td>\r\n<td style=\"color: black;border: 1px solid black\">JRE 1.8.0_101+<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nNOTE: Please keep in mind that JInitiator will not work with Forms 12c. JInitiator has been depreciated since Forms 10g.\r\n<h3>Forms Server Configurations for Java 8<\/h3>\r\nBy default in Oracle Forms 12c, the jpi parameters in formsweb.cfg are configured to use JRE 8. In the default section, the following parameters are set:\r\n<ul>\r\n \t<li>jpi_download_page=http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads<\/li>\r\n \t<li>jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93<\/li>\r\n \t<li>jpi_mimetype=application\/x-java-applet<\/li>\r\n \t<li>java_version=1.7+<\/li>\r\n<\/ul>\r\n<a href=\"https:\/\/pitss.org\/us\/wp-content\/uploads\/sites\/4\/2017\/07\/formsweb.cfg-jpi.png\"><img class=\"alignnone wp-image-9651\" src=\"https:\/\/pitss.org\/us\/wp-content\/uploads\/sites\/4\/2017\/07\/formsweb.cfg-jpi.png\" alt=\"\" width=\"481\" height=\"346\" \/><\/a>\r\n\r\nAlthough the java_version parameter is set to 1.7+, it will permit JRE 8 to run. No changes will need to be made to have Oracle Forms 12c and Java 8 run successfully.\r\n<h3>Alternative JRE 8 Download Methods<\/h3>\r\nFor previous releases of JRE (such as JRE 6 and JRE 7), the jpi_codebase parameter was automatically configured for auto-download. Auto-download allows the browser to automatically download and install a JRE if the user does not have a JRE installed. However, auto-downloads directly from Oracle are no longer enabled. Fortunately, you are able to place the JRE installer in a server you own for users to download themselves. The following article contains more information on how to configure this: <a href=\"https:\/\/pitss.org\/us\/2015\/05\/06\/download-jres-from-application-server\">https:\/\/pitss.org\/us\/2015\/05\/06\/download-jres-from-application-server<\/a>\r\n<h3>Increased Java Security<\/h3>\r\nAll versions of Java 8 either will block unsigned or self-signed Java code or will prompt numerous security warnings. If your Java code is not signed or is signed with self-signed certificates, it is important to sign your jar files with trusted code signing certificates. Third party vendors such as Symantec, Comodo, and GoDaddy are common sources where PITSS customers purchase code signing certificates. Having trusted code signing certificates will allow end users to safely run your 12c Forms application.\r\n\r\nIn addition, each jar file's manifest file needs to have at least the permissions, codebase, and application-name attributes filled in. Otherwise, Java will also block jar files with a missing required permissions manifest attribute. More information regarding this topic may be found in our knowledge base article: <a href=\"https:\/\/pitss.org\/us\/2013\/10\/24\/how-to-modify-custom-jar-files-with-permissions-and-codebase-attributes\">https:\/\/pitss.org\/us\/2013\/10\/24\/how-to-modify-custom-jar-files-with-permissions-and-codebase-attributes<\/a>\r\n\r\nNOTE: If you are using JRE 1.8.0_131 or higher, jar files signed with MD5 will be treated as unsigned.\r\n<h3>NPAPI Browser Plug-in No Longer Supported in Most Browsers<\/h3>\r\nWith the exception of Internet Explorer, most browsers such as Edge, Firefox, and Chrome have disabled the NPAPI plug-in. Using traditional methods, running Oracle Forms 12c and Java 8 together requires NPAPI. Fortunately, Oracle Forms 12c supports using Java Web Start. Java Web Start allows you to run Oracle Forms 12c and Java 8 without the NPAPI plug-in. This means that you may launch an Oracle Forms 12c application from any web browser. The following parameters are required to be configured in formsweb.cfg to use Java Web Start:\r\n<ul>\r\n \t<li>basejnlp=webutil.jnlp<\/li>\r\n \t<li>webstart=enabled<\/li>\r\n \t<li>webstart_codebase=http:\/\/<server>:<port>\/forms<\/li>\r\n<\/ul>\r\n<a href=\"https:\/\/pitss.org\/us\/wp-content\/uploads\/sites\/4\/2017\/07\/java_web_start.png\"><img class=\"alignnone wp-image-9656\" src=\"https:\/\/pitss.org\/us\/wp-content\/uploads\/sites\/4\/2017\/07\/java_web_start.png\" alt=\"\" width=\"421\" height=\"259\" \/><\/a>\r\n\r\nNOTE: If you plan to run Oracle Forms 12c with SSL, make sure to read this article as some extra configurations will be required: <a href=\"https:\/\/pitss.org\/us\/2016\/05\/06\/forms-12c-with-java-web-start-uses-http\">https:\/\/pitss.org\/us\/2016\/05\/06\/forms-12c-with-java-web-start-uses-http<\/a>","_et_gb_content_width":"","footnotes":""},"categories":[22],"tags":[89,41,3,23,13,44,90,7],"class_list":["post-9628","post","type-post","status-publish","format-standard","hentry","category-forms","tag-12c","tag-configuration","tag-faq","tag-forms","tag-installation-setup","tag-java","tag-java-web-start","tag-pitss-con"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/9628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=9628"}],"version-history":[{"count":27,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/9628\/revisions"}],"predecessor-version":[{"id":9671,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/9628\/revisions\/9671"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=9628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=9628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=9628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}