How to Compile Java DBus

来源:互联网 发布:唐红的恋歌 知乎 编辑:程序博客网 时间:2024/06/15 09:14

  • 1 download or git clone Java DBus
    git clone git://anongit.freedesktop.org/dbus/dbus-java  dbus-java
  • 2 download libmatthew-java-0.8.tar.gz  or get from my cloud share 
    cd dbus-javawget http://www.matthew.ath.cx/projects/java/libmatthew-java-0.8.tar.gztar xzvf libmatthew-java-0.8.tar.gzmkdir ipkg-installcd libmatthew-java-0.8make   //if you fail here, maybe you are not have JDK and JAVA_HOME set correctly, see solutionmake install PREFIX="$PWD/../ipkg-install"
  • 3 compile java dbus

    //cd <java-dbus>sudo apt-get install texlive-latex-base tex4ht docbook docbook-to-manexport JAVAUNIXJARDIR="$PWD/ipkg-install/share/java/"export JAVAUNIXLIBDIR="$PWD/ipkg-install/lib/jni/"make make install PREFIX="$PWD/ipkg-install"
  • 4 find lib doc, as well as bin in ipkg-install

enjoy




0 0
原创粉丝点击