我需要用Java + OpenGL构建什么Ubuntu / Debian软件包?(What Ubuntu/Debian packages do I need to build with Java+Op

编程入门 行业动态 更新时间:2024-10-09 23:17:48
我需要用Java + OpenGL构建什么Ubuntu / Debian软件包?(What Ubuntu/Debian packages do I need to build with Java+OpenGL?)

我想使用JOGL(对于Clojure,而不是Java)。 对于JDK和OpenGL绑定似乎有很多替代方案,我不想使用散射枪方法并堵塞我的机器安装太多的错误。 请帮我开始吧!

我需要安装什么Ubuntu / Debian软件包? (以sun-java6-jdk开头,例如) 似乎没有JOGL包,那么安装它的最佳方法是什么? 我应该从CVS HEAD构建,还是使用预先构建的jar文件?

我将使用Emacs作为我的IDE,所以我不需要安装Eclipse或任何东西,我只需要能够用ant或其他东西构建。

请随时修改您的答案(基于他人的答案),以提供全面的操作方法。

I want to use JOGL (for Clojure, not Java). There seems to be quite a combination of alternatives for JDKs and OpenGL bindings, and I don't want to use a scatter gun approach and clog up my machine installing too much cruft. Please help me get started!

What Ubuntu/Debian packages do I need to install? (starting with sun-java6-jdk, for example) There don't seem to be JOGL packages, so what's the best way to install it? Should I build from CVS HEAD, or use pre-built jar files?

I'll be using Emacs as my IDE so I don't need to install Eclipse or anything, I just need to be able to build with ant or whatever.

Please feel free to revise your answer (building on others' answers) to provide a comprehensive how-to.

最满意答案

从Ubuntu 8.10(intrepid)开始,JOGL已经打包( libjogl-java )。 选择的最好的JDK应该是openjdk-6-jdk,因为它是main(由Ubuntu的核心团队支持),因为无论如何都是来自Sun的专有JDK6。

在勇敢,只是运行

sudo apt-get install -y ant openjdk-6-jdk libjogl-java

应该让你开始。 在旧版本中,您必须省略libjogl-java,手动安装所有依赖项 (一切都带有红色圆圈)并构建JOGL(下载,解压缩,ant)。

Starting with Ubuntu 8.10 (intrepid), JOGL is already packaged (libjogl-java). The best JDK to chose should be openjdk-6-jdk as it is in main(=supported by Ubuntu's core team) since intrepid and derived from Sun's proprietary JDK6 anyway.

On intrepid, just running

sudo apt-get install -y ant openjdk-6-jdk libjogl-java

should get you started. On older versions, you must leave out libjogl-java, manually install all the dependencies (everything with a red circle) and build JOGL (download, unpack, ant).

更多推荐

本文发布于:2023-07-28 03:50:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1299860.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:软件包   需要用   OpenGL   Java   Ubuntu

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!