mjbWorld program



Author

Topic: are there any 64-bit bindings of JOGL?  (Read 79 times)

martinbaker

n00b
*
Online Online

Posts: 3

are there any 64-bit bindings of JOGL?

« on: July 18, 2005, 08:46:41 am »

Reply with quote Modify message Remove message


Any idea why I am getting this error when this file libjogl.so does exist in that path?

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: /home/martin/workspace/mjbWorld/resources/libjogl.so: /home/martin/workspace/mjbWorld/resources/libjogl.so: cannot open shared object file: No such file or directory
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
   at java.lang.Runtime.loadLibrary0(Runtime.java:822)
   at java.lang.System.loadLibrary(System.java:992)
   at net.java.games.jogl.impl.NativeLibLoader$1.run(NativeLibLoader.java:72)

Could it be that the libjogl.so file is compiled as 32-bit but I am calling it from JDK1.5 (64-bit)?

Are there any 64-bit bindings of the linux binaries?

Thanks,

Martin

Report to moderator   213.162.102.137

Ken Russell

JGO Ninja
*****
Offline Offline

Gender: Male
Posts: 1018


Java games rock!

Re: are there any 64-bit bindings of JOGL?

« Reply #1 on: July 18, 2005, 10:24:49 am »

Reply with quote


java -version should tell you if you're using the 64-bit JDK. If you're running on an AMD64 processor then you should be able to use the 32-bit version of JOGL with the 32-bit JDK. JOGL compiles on AMD64 (cd make; ant linux.amd64) but we don't yet ship both 32-bit and 64-bit binaries in the same jar archive due to some issues with the autogenerated Java code.

  Logged

martinbaker

n00b
*
Online Online

Posts: 3

Re: are there any 64-bit bindings of JOGL?

« Reply #2 on: July 18, 2005, 11:49:49 pm »

Reply with quote Modify message Remove message


> but we don't yet ship both 32-bit and 64-bit binaries in the same jar archive due to some issues with the autogenerated Java code.

I'm not too concerned with 32-bit and 64-bit the same jar archive, I would be very happy with a linux.amd64 only binary available as an option.

My system uses the 64-bit JDK distributed with SuSE9.3 so I do need a 64bit binary. I am relatively new to Linux and don't have much experience with ant, also the help file suggests there are complications with classpaths (always a source of problems). and other posters on this forum seem to be having problems compiling this.

Therefore I would like to suggest that you make a linux.amd64 only binary available on this site.  I would be very grateful to have this available as it is stopping me working on my JOGL program.

Thanks,
Martin

  213.162.102.137

Ken Russell

JGO Ninja
*****
Offline Offline

Gender: Male
Posts: 1018


Java games rock!

Re: are there any 64-bit bindings of JOGL?

« Reply #3 on: Today at 07:25:00 AM »

Reply with quote


There is a build of a not-quite-final version of JOGL in the temporary files folder on the JOGL home page. We won't have the ability to maintain this on an ongoing basis until we can make one jar for both 32- and 64- bit builds and this platform is plugged in to our nightly build system. If you need a more recent build I'm afraid you'll have to build it yourself. Building JOGL is straightforward and requires only Ant, ANTLR and the setup of one jogl.properties file.

  Logged

martinbaker

n00b
*
Online Online

Posts: 3

Re: are there any 64-bit bindings of JOGL?

« Reply #4 on: Today at 11:30:03 PM »

Reply with quote Modify message Remove message


Thanks very much, the version in the tempoary file (jogl-1.1b11-linux-amd64.tar.gz) worked very well.

Martin




metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

 

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2017 Martin John Baker - All rights reserved - privacy policy.