Setting up JOGL in an Exclipse Project

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Setting up JOGL in an Exclipse Project

Chinnaswamy
Hi All,
         I tried to make necessary setting-ups in a java project for using JOGL in Windows 7. After downloading the current version of JOGL archive files, I could successfully add the following in the java built-path library of eclipse.

1. Jar files ( gluegen-rt.jar and jogl-all.jar)
2. Location of Native jar files ( gluegen-rt-natives-windows-amd64.jar  and jogl-all-natives-windows-amd64 which are executable jars
3. Source zip files  

When I tried to add the javadoc zip files of both gluegen-rt and jogl-all) as External files, the dialogue box was listing no files although, the folder I selected did include both zipped files of javadocs and  a line displayed as, " No items match in your search.

May I request your advise to resolve this setting-up problem.

Thanks in advance.




Reply | Threaded
Open this post in threaded view
|

Re: Setting up JOGL in an Exclipse Project

gouessej
Administrator
Hi

Chinnaswamy wrote
2. Location of Native jar files ( gluegen-rt-natives-windows-amd64.jar  and jogl-all-natives-windows-amd64 which are executable jars
There aren't executable JARs, they contain the native libraries, they contain no executables.

Maybe you have to convert jogl-javadoc.7z and gluegen-javadoc.7z into zip to make it work.

Edit.: The wiki should be improved to cover this aspect.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Setting up JOGL in an Exclipse Project

Wade Walker
Administrator
In reply to this post by Chinnaswamy
To add javadoc zips in Eclipse, go to the project properties page, select "Java Build Path", click the "Libraries" tab, open up gluegen-rt.jar's tree control, select "Javadoc location", click "Edit...", then point it to your javadoc zip. This should be very similar to how you add the source attachments.
Reply | Threaded
Open this post in threaded view
|

Re: Setting up JOGL in an Exclipse Project

Chinnaswamy
In reply to this post by gouessej
Thanks a lot, Gouessej.

Yes, it works after converting jogl javadoc files from *.7z  to *.zip format.

Chinnaswamy
Reply | Threaded
Open this post in threaded view
|

Re: Setting up JOGL in an Exclipse Project

gouessej
Administrator
You're welcome. It's a bit annoying that Eclipse doesn't accept the Java documentation as is in 7z format, sorry.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Setting up JOGL in an Exclipse Project

Sven Gothel
Administrator
In reply to this post by Wade Walker
On 11/23/2014 07:47 PM, Wade Walker [via jogamp] wrote:
> To add javadoc zips in Eclipse, go to the project properties page, select
> "Java Build Path", click the "Libraries" tab, open up gluegen-rt.jar's tree
> control, select "Javadoc location", click "Edit...", then point it to your
> javadoc zip. This should be very similar to how you add the source attachments.

.. while it is also sufficient to attach the source zip files
to the jar file, as Wade explained in the Wiki.

~Sven



signature.asc (828 bytes) Download Attachment