Hi all; I want to test java Interface, and I make the ceph by ./configure --enadble-cephfs-java make make install. the resurt is libcephfs.jar lie in /ceph/src/java and libcephfs_jin.so lie in /usr/local/lib. so, I cord the java file vim Test.java package com.ceph.fs; &nbs p; import com.ceph.crush.Bucket; public class Test { public static void main (String [] args){ CephMount mount = new Ceph CephMount(); mount.conf_read_file("/etc/ceph/ceph.conf"); } } and when I build it ! # javac -classpath ../libcephfs.jar com/ceph/fs/Test.java com/ceph/fs/Test:9:unreported exception java.io.FileNotFoundException; must be caught or declared to be throw mount.conf_read_file("/ect/ceph/ceph.conf"); ^ error 1. Thanks vary much! pengft | |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com