GLContext class not found?

I’m trying to follow a tutorial for LWJGL 3 and I’ve stumbled across a problem. The tutorial tells me to use the line:

GLContext.createFromCurrent()

However, I cannot find the GLContext class anywhere in the lwjgl library.
Here’s a link to the tutorial I am using: https://www.youtube.com/watch?v=yzDZIN1eSGQ
If anyone knows what could be going on, I would appreciate the help. Thanks.

Not sure if that was my tutorial (yes it’s outdated, will update when the API is stabilized), but that class have been removed in LWJGL 3.0.0b in favour of GL.createCapabilities() which should work for you.

EDIT: Oh, okay, that’s Oskar’s video. Didn’t see it first.

Yeah, I think I’ve got it all sorted out. This time I used lwjgl’s actual website and all seems to be working fine without that code. Thanks.