본문 바로가기

Eclipse ADT

[Eclipse] MAC SAP ADT - JavaFX 에러 해결법

반응형

Eclipse 에서 ADT를 연결할 경우 Eclipse상에서 SAP GUI 화면을 사용 할 수있다.

하지만, MAC의 경우 SAP JAVA GUI와 Eclipse ADT를 연결한 직후에 JavaFX 연결 오류가 발생할 수 있다.

해당 오류가 발생하는 이유로는 MAC에 JavaFX가 설치 되어있음에도 불구하고 Eclipse에서 경로 인식을 하지 못하는 경우이다.

 

해결방법으로는 먼저

https://openjfx.io

 

JavaFX

JavaFX JavaFX is an open source, next generation client application platform for desktop, mobile and embedded systems built on Java. It is a collaborative effort by many individuals and companies with the goal of producing a modern, efficient, and fully fe

openjfx.io

에서 SAP GUI for Java 에 필요한 JavaFX를  다운받는다.

 

이후 MAC의 Finder에서 /Applications/Eclipse.app 경로 이동 후 오른쪽 클릭으로 "패키지 내용 보기" 를 선택,

(Eclipse가 실행되어있지 않은지 확인하자)

eclipse.ini 해당 파일(/Applications/Eclipse.app/Contents/Eclipse/eclipse.ini)을 수정 해줄것이다.

 

파일의 최하단에 다음을 추가 저장.

--add-modules=ALL-MODULE-PATH
--module-path=/Applications/"다운받은 javafx-sdk 파일 이름"/lib
--add-exports=javafx.web/com.sun.webkit.dom=ALL-UNNAMED

 

이제 Eclipse를 실행 후 SAP GUI 버튼을 눌러 보면 정상적으로 나타나는것을 확인 할 수 있다.

 

이제 MAC의 Eclipse ADT에서 SAP GUI 화면을 사용할 수 있게 된다.

 

- 끝 -

반응형

'Eclipse ADT' 카테고리의 다른 글

[Eclipse & VScode] SAP ADT - 개발 플랫폼 셋팅  (0) 2024.05.20
Navigation