Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Gabriel E
8,916 PointsCan anyone help me understand this code?
Here is the link: http://kmilk4.blogspot.com/2016/01/how-to-install-lwjgl-3-on-intellij-idea.html Basically, I've followed the import instructions carefully, but I'm getting all kinds of errors. I'm not sure if I just paste this code into my workspace in IntelliJ IDEA, or what, because the libraries don't seem to load properly.
1 Answer
Shane Robinson
7,324 PointsDid you follow the steps exactly as it says? They seem pretty comprehensive. Make sure you have the libraries where it is telling you to have them and whatnot. Computers (and Java) are picky in that they want things to be exactly a certain way before they are willing to work properly. Maybe go through the steps of the guide again. :)
Gabriel E
8,916 PointsRight away! I'll do that. My primary question is, do I just place all of the code in my main(){} function? The one that IntelliJ auto loads when a project is created? I know the steps are simple, but I'm getting lots of red underlines.
Shane Robinson
7,324 PointsThe code they provide is the whole class (including the main function), so replace any code that IntelliJ provided automatically with the code the guide gives you.
Gabriel E
8,916 PointsGabriel E
8,916 PointsHey Shane, Thanks for the help. I found if I do alt+insert, then it does what I need it to, adding libraries to lwjgl folder, not constantly creating new ones. However, even with the stable edition downloaded, I'm still getting (slightly fewer) red underlines. The guide is relatively new, but I read somewhere Stable just updated, so I think the test code is outdated. Would you know what I should do in this case if lwjgl.org is not providing new samples?