开发者

Compiling Java LWJGL project with NetBeans (package org.lwjgl does not exist)

开发者 https://www.devze.com 2022-12-12 17:34 出处:网络
I try to compil开发者_开发技巧e a (LWJGL) Java project using NetBeans. I clicked on the project -> properties and under Libraries -> Compile. I added the Jars location, the source files location and j

I try to compil开发者_开发技巧e a (LWJGL) Java project using NetBeans. I clicked on the project -> properties and under Libraries -> Compile. I added the Jars location, the source files location and javadoc location.

Still when I try to build the project I get the error:

package org.lwjgl does not exist.

What can I do to resolve this error?


Try to remove all libraries, "build and clean" (obviously compile give 100% errors...). Try to add all libraries, press "ok". After that wait for "scanning the projects" to finish successfully and after that retry to "build and clean".


I added the directory location of the jar files and I needed to add each jar individually.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号