Jogl을 설치하고 Eclipse의 빌드 경로에 포함 시켰지만 참조 된 라이브러리 아래에 있습니다. 여기에 프로그램이 있습니다.JOGL을 설치했는데 Eclipse가 내 hello world 프로그램을 인식하지 못하는 이유는 무엇입니까?
public class exceptionhandler
{ // open HelloWorld
public static void main(String[] args)
{ // open main
try
{ // open try
System.loadLibrary("jogl");
System.out.println("Hello World! (The native libraries are installed.)");
} // close try
catch (Exception e) // all try's need a catch
{ } // even if the catch does nothing
} // close main
} // close HelloWorld
Eclipse에서 인식하지 못 했으므로 가져 오기를 포함하지 않았습니다. 그래서 내가 그것을 실행하면>
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at exceptionhandler.main(exceptionhandler.java:8)
https://sites.google.com/site/justinscsstuff/jogl-tutorial-1 –
@BrianRoach는 기본적으로 모든 작업을 수행했으며 어떤 이유로 든 여전히 동일한 오류가 발생합니다. –