CentOSã®JavaãOpenJDKãããªãã¦ãOracleã®JDKã«å¤æ´ãããã¨ããæã ä»ã¾ã§ã¯ãrpm -qa | grep javaãã§å¯¾è±¡ãæ´ãã ãã¦ãyumãã³ãã³ãã§ã¢ã³ã¤ã³ã¹ãã¼ã«ãã¦ãã¾ããã ãã ãã®æ¹æ³ã ã¨ä»ã®ããã±ã¼ã¸ã¨é¢é£ã¥ãã¦ããå ´åããããããã¾ãã¹ãã¼ãã§ã¯ããã¾ããã ã¨ããããalternativesãã³ãã³ãã使ç¨ããã¨ãæ§ã ãªãã¼ã¸ã§ã³ã®Javaãå ±åããã¦åãæ¿ããäºãã§ãã¾ãã æé ã¯ä¸è¨ã«ãªãã¾ãã æ¢ã«Oracleã®JDKãã¤ã³ã¹ãã¼ã«ãã¦ããäºãåæã§ãã 1 ç¾å¨ã®JDKã®ç¢ºèª # alternatives --config java 1 ããã°ã©ã ããã 'java' ãæä¾ãã¾ãã é¸æ ã³ãã³ã ----------------------------------------------- *+ 1 /usr/lib/jvm/jr
{{#tags}}- {{label}}
{{/tags}}