0
給了一個錯誤,我最近不得不從的IntelliJ遷移到Eclipse,儘管兩者都使用JDK 8行線中的IntelliJ工作,在Eclipse
frameRate = String.format("%s FPS", frameCount);
(其中幀率是一個字符串,幀數是一個整數)在eclipse中引發錯誤(聲明frameCount must be an Object[]
),同時在IntelliJ中工作得很好。
你是如何設置Eclipse來使用JDK8的? –