[JAVA] String.format의 %%%ds 의미 package test; import java.util.Scanner; public class StringFormat { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = "StringFormat"; while (true) { System.out.print("\n자리 수 : "); int idx = sc.nextInt(); if (idx == 0) break; System.out.println("표현 : %" + idx + "s"); System.out.println("|||||||||||||||||||||||||||||||"); System.out.printf(String.format("%%%d.. 개발 4년 전
ld-linux.so.2: bad ELF interpreter: No such file or directory 리눅스에서 설치 진행시 나오는 오류. CentOS 6.7에 JRE 5 설치 하는데, 오류 난다. 버전이 안 맞아서 그런가 - oracle.com 에서는 정식 지원하지 않는다 - 하며 구글링, 패키지 설치. Extracting..../jre-1_5_0_22-linux-i586.bin: ./install.sfx.2209: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory./jre-1_5_0_22-linux-i586.bin: line 613: cd: jre1.5.0_22: No such file or directory # yum -y install glibc.i686Loaded plugins: fastestmirrorSetting up In.. 컴퓨팅/리눅스 유닉스 7년 전