Solved

Open GL

Posted on 2002-06-26
5
654 Views
Last Modified: 2007-11-27
How can I set up OpenGL in java? or Is it possible to  use OpenGL in java?
0
Comment
Question by:chefPeter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:triso
ID: 7111939
Hi,

The best OpenGL for windows, linux or SunOS is gl4java which is found at www.jausoft.com/gl4java.  The latest version is 2.8.2.

You will need to download the documentation, binary libraries and a jar file with the Java bindings for gl4java.  The source is also available but not required.

Also, there are a few examples in the documentation and more on the web site.

Let me know if you need more info.







0
 

Author Comment

by:chefPeter
ID: 7114279
hi, triso

There are so many downloads at that web site. I don't known which one should I take for Java 2 SDK Standard Edition v1.3. Please help!
0
 
LVL 2

Expert Comment

by:triso
ID: 7114715
Hi,

First, are you using Windows, Linux or SunOS?

From the home page, http://jausoft.com/, pick "Products" at the top left and then GL4Java below it.

Select "installation" and then "Automatic Web Installation."  Follow the installation and let me know how it went.

ps. This new installation procedure is a very fancy JavaScript program and I have never used it before.  It seemed quite complex and I bailed when it started to talk about certificates.

pps.  If you are using JBuilder, I can help you with the extra steps needed to integrate GL4Java into that environment.




0
 

Author Comment

by:chefPeter
ID: 7116652
I am using JCreator on Windows, and I don't have internet access at home. Therefore, I need to download the GL4Java to a disk. Would you please tell me how to do that? Thanks!
0
 
LVL 2

Accepted Solution

by:
triso earned 60 total points
ID: 7117576
Hi again,

The fewest files you need for Windows are:

gl4java2.8.2.0-jar.zip
libGL4Java2.8.2.0-Win32-x86.zip

From the home page, http://jausoft.com/, pick "Products" at the top left and then GL4Java below it.

Select "All File's and Misc.-Documentation" and then scroll to the bottom and pick "./binpkg" which contains all the files you need.  Download the two files listed above onto a disk and bring them home.

Using winzip or whatever, extract GL4JavaJauGljJNI13.dll from libGL4Java2.8.2.0-Win32-x86.zip and place it in your Windows folder.

Also, extract gl4java.jar from gl4java2.8.2.0-jar.zip and set JCreator to use it as a Java library.  Sorry, but I am not a JCreator expert and cannot help much with this process.
I hope this helps.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question