기본 콘텐츠로 건너뛰기

IntelliJ에 OpenJDK 와 OpenJFX 적용하기

환경
OS : Unbuntu 16.04 64bit

jdk 설치
sudo apt-get install openjdk-8-jdk

javafx 설치
sudo apt-get install openjfx

설치후 jdk를 보면 다음과 같이 openjfx(jfxrt.jar)가 link되어 있다.


File->Project Structure -> SDK -> JDK home path -> 설치한 openjdk 위치 지정(/usr/lib/jvm/java-8-openjdk-amd64)




댓글

이 블로그의 인기 게시물

Intellij Artifacts 실행시 필요한 종속 library 추가.

개발 과정에서 build하여 run하면 잘 수행 되지만, artifact를 만들어서 실행하면 실행되지 않아 고생했다. 결국 찾은 방법이란 것이, 의존성을 갖고 있는 라이브러리가 함께 artifacts에 포함되지 않아서 발생한 문제였다. Intellij에서 라이브러리를 artifacts에 추가 하는 방법은, File -> Project Structure -> Artifacts -> Output Layout -> + -> Library Files -> 추가할 library 선택 이다. $ java -jar out/artifacts/JavaFXApp/JavaFXApp.jar 로 실행하면, 실행이 잘 된다.

원격에서 wireshark 사용하기

출처 : https://j2doll.github.io/wireshark-remote-command-win/README.ko.html ============================ linux pc 기반 ============================ # mkfifo /tmp/wireshark # wireshark -k -i /tmp/wireshark # ssh root@172.20.0.17 "/nand1/tcpdump -s 0 -U -w - -i eth0 not port 22" > /tmp/wireshark ============================ Window PC에서 packet capture ============================ 다음을 파일명  "remotecap.cmd"로 저장하여 command 창에서 실행 ** 환경변수 값은 상황에 맞게 변경 해야함. @REM ---------------------------------------------------- @REM remotecap.cmd @REM   Example command for captruing eremote network packet @REM  using wireshark and tcpdump. @REM   First written by j2doll. September 10th 2016. @REM   https://github.com/j2doll/wireshark-remote-command-win @REM   http://j2doll.tistory.com @REM ---------------------------------------------------- @REM install putty and wireshark on your windows pc. @SET PLINK_PATH="C:\Program Files\PuTTY\pli...