Configuring LWJGL and Textpad

Started by ReptileKing234, May 18, 2006, 16:42:28

Previous topic - Next topic

ReptileKing234

Hello everyone. I have completed the first half of the LWJGL installation process; I have tested LWJGL via command prompt, and everything worked fine.

I am now at the point where I need to get LWJGL working with my IDE; in this case I am using texpad.  I can't seem to figure out how to get LWJGL and textpad working together from the three IDE tutorials (as they aren't for textpad :p ). Any help is greatly appreciated :)

Fool Running

Can I humbly suggest you use a real IDE? :?
TextPad seems to be just a text editor (Correct me if I'm wrong :lol: )

If you are worried about cost, there are several very nice free Java IDEs out there.

-Personally, I like JBuilder... But its only free for personal use.
-I've heard Eclipse is nice (never used it).
-NetBeans is nice (missing some nice code hi-lighting features JBuilder has and missing the ability to use 2 monitors well. I would probably use it if not for those 2 issues :D )
-probably some others...
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

ReptileKing234

I've tried quite a few IDEs throughout my time working with Java. That includes JBuilder, Netbeans, Eclipse, and several others. Textpad is my favorite by a long shot. I can compile and test normal applets and applications just fine in Textpad.

If LWJGL and Textpad can't be used together, then I'm not above switching to a more standard IDE; but if at all possible I would like to use Textpad for my LWJGL projects. This is because of my preference,  as well as the preferences of 2 other team members :)

Fool Running

Well, I stand corrected! Now that I actually tried it, TextPad is an IDE :oops:

Anyways, to set it up you need to go to the preferences:
-under "Compile Java", in the "Parameters:" box, add "-cp path/toThe/LWJGLjarFiles " before the "$file"
-under "Run Java Application", in the "Parameters:" box, add "-Djava.library.path=path/to/native/files " before the "$BaseName"

That might work (or at least get you started :lol: )

EDIT: You shouldn't have to switch. It looks like it can do what LWJGL needs.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D