Closed Taebu closed 7 years ago
StringBuilder -> not joined List ->join 방법 사용
List<String> list = new ArrayList<String>();
list.add("foo");
list.add("bar");
list.add("baz");
list.add("baasdz");
String joined = String.join(" and ", list);
// "foo and bar and baz"
System.out.println(joined);
http://php.net/manual/kr/function.str-replace.php
자바 리눅스 실행경로 변경
unlink /usr/bin/java
ln -s /etc/alternatives/java /usr/local/jdk/bin/java
ls -l /usr/local/jdk/bin/java
ln -s /새로설치한상위버전경로java /usr/bin/java(1번결과)
ln -s /etc/alternatives/javac /usr/bin/javac
ls -l /usr/bin/javac
javac -version
unlink /usr/local/jdk/bin/javac
ln -s /etc/alternatives/javac /usr/local/jdk/bin/javac
ls -l /etc/alternatives/javac
javac -version
[prq@.21]$ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
[prq@.21]$ javac -version
javac 1.8.0_111
/Taebu/prq_cdr/issues/1 완료
175.126.111.21 crontab -e sh /etc/set_mms.sh http://prq.co.kr/prq/crontab/view
175.126.82.182
.kr.co.cashq.safen_cdr
을 참고 복사하고175.126.111.21
.kr.co.prq.prq_cdr
로 변경해서 적용 진행.