PLEASE HELP ME ...................! ! ! ! !

hello all…
I have downloaded jogl.jar file… i have set buildpath.
but i didn’t find the javax.media.opengl package in it. I am getting error in my java file while importing javax.media.opengl.* stmt. how to get that?
please help me …
Please if any suggestions … i will be thankful for it…

cheers …
uvj…

Here is the link to the beta 4 librairies.

https://jogl.dev.java.net/servlets/ProjectDocumentList?folderID=5178&expandFolder=5178&folderID=0

And please, do not post the same question on five, ten, hundreds of topics! (Most of which do not have any link to your question).
Thanks a lot

EDIT : My mistake, you seem to have already found the libs. It should work now if you set the classpath correctly…

hi,
thanks for ur help… i appreciate… & sorry for the post…

Actually, i have set classpath in eclipse & imported jogl.jar file in my application… still it gives errors… Gl can not be resolved…
Then i tried to import all the class files in my application… it is working fine… but still my java files shows the same error…
what you will suggests in this case?

thanks for ur time…
regds,
mont

Since you are using eclipse here’s some guidance how you could use it with jogl:
(you don’t need to adapt the classpath manually)

  1. download the jogl.jar, docs, sources and the appropriate jogl-natives
  2. make a directory for jogl (e.g. under Program Files\Java\Jogl)
  3. put the jogl.jar and the sources in this directory
  4. extract the jogl-natives into that directory (you should have some dlls after that)
  5. extract the javadoc_public.zip into this directory into the subdirectory docs
  6. run eclipse and open your project or create a new one
  7. select Project-Properties from the menu, select Java Build Path
  8. Use “Add External Jar” to add the jogl.jar from the above directory
  9. expand the new item in the tree
  10. as source select the jogl-src.zip file in the above directory
  11. as javadoc location select the subdirectory docs in the above directory
  12. as native library select the above directory (containing the dlls)
  13. That’s it. You should now be able to use jogl in eclipse.

hi…
i did the steps given… but i didn’t work… I am not able to work with my application… ???
what could be the problem…
thanks in advance

I can hardly guess what exactly your problem is.
Can you give some more hints about your problems.
Did you try a really simple JOGL Test app or try for example one of the JOGL ports from http://pepijn.fab4.be/?page_id=34?
What does your output window say when trying to start?

Cheers,
Jens

thanks for your reply …
I am trying to run jcanyon flight simulator from this link … http://java.sun.com/products/jfc/tsc/articles/jcanyon/
But i m not able to run this application due to the openGL errors… actually to reduce error for javax.media.opengl … i have included dll files in java folder. It worked fine. but i was not able to run the apploication for different resolutions and was able to run only defult resolution. If i try to run this application on different resolution systym just hang out …

If i try to run application by default resolution… similar time … i get errors in my application and next time i could not able to run the application… i have to again create new project…
this is worth…
so please any suggestions… i wll be thankful for ur help…

cheers,
mont

just delete whatever version of jogl.jar and jogl.dll, jogl_awt.dll and jogl_cg.dll you have anywhere on your system.

don’t ever put jogl.jar in any of your system folders like system32 or in the JDK/JRE directories, since it breaks Java WebStart of JOGL applications!
=> you are probably facing problems, because you have an old version of jogl lying around.

after you have completely cleared your system of all jogl files, start again with jensall advice:

  1. download the jogl.jar, docs, sources and the appropriate jogl-natives
  2. make a directory for jogl (e.g. under Program Files\Java\Jogl)
  3. put the jogl.jar and the sources in this directory
  4. extract the jogl-natives into that directory (you should have some dlls after that)
  5. extract the javadoc_public.zip into this directory into the subdirectory docs
  6. run eclipse and open your project or create a new one
  7. select Project-Properties from the menu, select Java Build Path
  8. Use “Add External Jar” to add the jogl.jar from the above directory
  9. expand the new item in the tree
  10. as source select the jogl-src.zip file in the above directory
  11. as javadoc location select the subdirectory docs in the above directory
  12. as native library select the above directory (containing the dlls)
  13. That’s it. You should now be able to use jogl in eclipse.

Hope it helps

hi Jensall & Cylab …
Thanks for your help… i appreciate … my code is working fine…
I have deleted my source and all files related to jogl.jar and did a fresh start …
Done all the steps … and finally my code is working fine… i guess may be the problem is due to jogl.jar & native dlls those i put in jre folder…

thanks alot …
mont