开发者

OpenGL + Java Setup

开发者 https://www.devze.com 2023-04-12 09:02 出处:网络
How do I set up my java build environment for OpenGL?I\'ve found a certain jogl.jar and a few .so files, but I don\'t know where to put jogl.jar.Everything I\'ve found just says put it in $CLASSPATH,

How do I set up my java build environment for OpenGL? I've found a certain jogl.jar and a few .so files, but I don't know where to put jogl.jar. Everything I've found just says put it in $CLASSPATH, but that tells me nothing especially because my $CLASSPATH is an empty string. Does its location have anything to do with javax.media.jogl? I believe that's how I'm supposed to import it.

If it's not obvious enough, I've never used Java before. I'm coming from c++, and I want to make an OpenGL applet within a 开发者_高级运维browser. I've seen it done before, so I don't think it's too much of a stretch. I'm sure I'll pick up on it pretty quick.

P.S. Clearly I need to install extra libraries to use OpenGL. Does that mean everyone else who browses the site does too? That would be a pain.

0

精彩评论

暂无评论...
验证码 换一张
取 消