[rados-java] Hi, I am a newer for ceph . And I found rados-java in github, but there are some problems for me .

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have installed the latest jdk , ant  set target and source to 1.7 . 
  
 But  I always encounter the same error message. 
  
  

 

 ------------------ Original ------------------
  From:  "peng";<peng.dev at qq.com>;
 Date:  Sun, May 4, 2014 06:48 PM
 To:  "wido"<wido at widodh.nl>; 
 
 Subject:  [rados-java] Hi, I am a newer for ceph . And I found rados-java in github,but there are some problems for me . 

 

 Hi, 
      Firstly , I have to say  rados-java is exactly what I need. It 's very in demand.  
      After I downloaded the source zip,and unzip it, then I input the command : "ant jar" . 
      First , I see it needs Jdk 1.7. but ,I only have jdk1.6 in my machine. So I edit the build.properties,and change the version to 1.6 . 
      Second, I try " ant jar " again . And I found the following information:    
  ( To make sure jna.jar is right there,  I type : 
  [root at mon rados-java-master]# ls /usr/share/java/jna.jar 
/usr/share/java/jna.jar  
  )  
         build:
    [javac] Compiling 15 source files to /root/baipeng/rados-java-master/target/classes
    [javac] /root/baipeng/rados-java-master/src/main/java/com/ceph/rados/Library.java:39: cannot find symbol
    [javac] symbol  : method nativeValue(com.sun.jna.Pointer,long)
    [javac] location: class com.sun.jna.Pointer
    [javac]         Pointer.nativeValue(ptr, 0L);
    [javac]                ^
    [javac] /root/baipeng/rados-java-master/src/main/java/com/ceph/rbd/Library.java:39: cannot find symbol
    [javac] symbol  : method nativeValue(com.sun.jna.Pointer,long)
    [javac] location: class com.sun.jna.Pointer
    [javac]         Pointer.nativeValue(ptr, 0L);
    [javac]                ^
    [javac] 2 errors 
  
 It seems there are something wrong about jna....  Appreciate any help :) Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140505/bc14b25c/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux