lwjgl 101: How can I write the basics?

Posted by Vuntic on Stack Overflow See other posts from Stack Overflow or by Vuntic
Published on 2010-05-02T05:49:43Z Indexed on 2010/05/02 5:57 UTC
Read the original article Hit count: 315

Filed under:
|
|

This ought to be really simple, but I cannot for the life of me figure out how to compile anything with lwjgl and have it work. I can write something like

package gwison;

import org.lwjgl.Sys;

public class G
{
    public static void main(String[] args)
    {
        System.out.println(Sys.getTime());
    }
}

and I can easily compile a program with several classes in different packages, as long as I wrote all the classes myself. But I have no clue how to make G work. I think it has something to do with classpathes? Maybe? Help?

© Stack Overflow or respective owner

Related posts about lwjgl

Related posts about java