Menu

#4 Added support for 64bit linux

open
nobody
None
5
2010-10-22
2010-10-22
Anonymous
No

Will you add support for linux 64 bit, please?

For example you can change JNotify_linux.java by loading the library jnotify based architecture:
String arch = System.getProperty("os.arch");
System.loadLibrary("jnotify_" + arch);

You will find attached a compilation of libjnotify.so for amd64 architecture.

Thank you in advance.

Discussion

  • Nobody/Anonymous

    libjnotify for amd64 architecture

     
  • Matthew Donoughe

    I put an x86_64 build into 0.94, but it's not automatically selected. Different versions of Java report i386, i686, x86, x86_64, and possibly amd64 according to http://lopica.sourceforge.net/os.html . How are Java applications with JNI normally distributed on Linux? I think usually 32 and 64 bit libraries are located in separate folders.

     

Log in to post a comment.

Auth0 Logo