Previously explained how to install JCreator Pro and installing the JDK . Now we'll see how to install JOGL and associate it with JCreator Pro to compile our programs and create 2D and 3D graphics .
first download the JOGL libraries for Windows (such as JCreator work with these libraries must go down) by clicking on the link below:
Download version 1.1.1 JOGL libraries
The downloaded file is a. zip which will have to unzip, the file contains libraries OpenGL version 1.1.1, which is the version used at the time of writing this entry, if you want the latest version will have to enter the official website JOGL and download them. Once you've unzipped the file. zip copy all the files. Jar in a new folder called "JOGL" inside the folder where you installed your JDK which must have a route like this:
" C: \\ Program Files \\ Java \\ jdk-version "
Then copy all the files. dll into the folder named bin , this folder is located inside the folder where JDK installed their which must have a route like this:
"C: \\ Program Files \\ Java \\ jdk-version \\ bin"
Now
JOGL libraries will partner with JCreator so we can compile our programs written using these libraries and to create 2D and 3D graphics. Furthermore, when we write the code of our programs, autocomplete JCreator run smoothly. The following steps must be carried out every time we write a program using JOGL :
Open JCreator and we
click File -> New -> Project
Select the type of application we create, it can be any of the following:
- Aplication
- Basic Java Basic Java Applet
- Empty Project
click Add -> Archive
seek the location of . Jar files previously copied , they must be located a route similar to "C: \\ Program Files \\ Java \\ jdk-version \\ JOGL" , All Files. jar and give click "Open" . This will create a ClassPath to associate JOGL libraries and JDK installed to compile the program you write, now only remains to put a name to JCreator can be identified.
Once we selected the name click "OK" after select the check box of the libraries previously added we click on "Finish" .
Ready, now the program you write in Java using JOGL libraries will be compiled without problem using JCreator ClassPath created earlier.
0 comments:
Post a Comment