How to resolve this JNI error when trying to run LWJGL “Hello World”?

前端 未结 2 883
时光取名叫无心
时光取名叫无心 2020-12-16 13:37

I\'m trying to run the sample \"Hello World\" from the LWJGL website

From this link: LWJGL \"Getting Started\"

I\'m trying to do this via the command line, j

相关标签:
2条回答
  • 2020-12-16 14:17

    I had same issue using different dependancy what helped me is to set scope to compile.

    <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.0.1</version>
            <scope>compile</scope>
        </dependency>
    
    0 讨论(0)
  • 2020-12-16 14:34

    A CLASSPATH entry is either a directory at the head of a package hierarchy of .class files, or a .jar file. If you're expecting ./lib to include all the .jar files in that directory, it won't. You have to name them explicitly.

    0 讨论(0)
提交回复
热议问题