오류1 Ant build 실행 시 Error Ant Builder 를 이용하여 빌드를 하던 중에 발생한 오류에 대해 정리하고자 한다. Error 1. com.sun.tools.javac.main is not on the classpath. perhaps java_home does not point to the jdk. it is currently set to "c:\program files\java\jre6” 원인 현재 에러메세지를 보면 jre6로 경로가 설정되어 있으므로, 이를 jdk 경로로 설정해줘야한다. 해결 Preferences 에서 Ant - Runtime 에서 Global Entries 에 있는 잘못된 경로를 삭제해주고, jdk 경로에 있는 tools.jar 파일을 넣어줬다. tools.jar 파일이 없어서 jre6에 있는 tools.j.. 2023. 1. 5. 이전 1 다음 반응형