ufk
ufk

Reputation: 32104

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

I try to compile 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?

Upvotes: 2

Views: 3489

Answers (2)

ufk
ufk

Reputation: 32104

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

Upvotes: 0

Tommaso Taruffi
Tommaso Taruffi

Reputation: 9252

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".

Upvotes: 1

Related Questions