{"id":293,"date":"2020-02-24T16:35:04","date_gmt":"2020-02-24T15:35:04","guid":{"rendered":"http:\/\/anjo.pt\/wp\/keyword-oracle\/?p=293"},"modified":"2020-02-24T16:35:05","modified_gmt":"2020-02-24T15:35:05","slug":"oracle-19c-install-jvm","status":"publish","type":"post","link":"https:\/\/anjo.pt\/keyword-oracle\/2020\/02\/24\/oracle-19c-install-jvm\/","title":{"rendered":"Oracle 19c &#8211; install JVM"},"content":{"rendered":"\n<p>When you did not install Java \/ JVM directly during database creation, you can do it in a later phase. This operation unfortunately is not so well documented. Here how I do it:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nset echo on\nalter pluggable database all open;\nalter system set &quot;_system_trig_enabled&quot; = false scope=memory;\n \nhost $ORACLE_HOME\/perl\/bin\/perl ${ORACLE_HOME}\/rdbms\/admin\/catcon.pl -n 1 -l \/tmp\/jvm -b initjvm ${ORACLE_HOME}\/javavm\/install\/initjvm.sql;\nhost $ORACLE_HOME\/perl\/bin\/perl ${ORACLE_HOME}\/rdbms\/admin\/catcon.pl -n 1 -l \/tmp\/jvm -b initxml ${ORACLE_HOME}\/xdk\/admin\/initxml.sql;\nhost $ORACLE_HOME\/perl\/bin\/perl ${ORACLE_HOME}\/rdbms\/admin\/catcon.pl -n 1 -l \/tmp\/jvm -b catjava ${ORACLE_HOME}\/rdbms\/admin\/catjava.sql;\nselect count(*), object_type from all_objects where object_type like &#039;%JAVA%&#039; group by object_type;\n \nshutdown immediate\nstartup\nhost $ORACLE_HOME\/perl\/bin\/perl $ORACLE_HOME\/rdbms\/admin\/catcon.pl -n 1 -l \/tmp\/jvm -e -b utlrp $ORACLE_HOME\/rdbms\/admin\/utlrp.sql\nSELECT comp_name, version, status FROM dba_registry ORDER BY comp_name;\nSELECT dbms_java.get_jdk_version JDK_Version FROM dual;\n\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>When you did not install Java \/ JVM directly during database creation, you can do it in a later phase. This operation unfortunately is not so well documented. Here how I do it:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"class_list":{"0":"post-293","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-oracle-19c","7":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/comments?post=293"}],"version-history":[{"count":1,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":294,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/293\/revisions\/294"}],"wp:attachment":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/media?parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/categories?post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/tags?post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}