How to use Java Dbus to create a Java Interface for Dbus Interface__java

Source: Internet
Author: User
How to use Java Dbus to create a Java Interface for Dbus Interface Need a compiled Java Dbus Library go to the directory of Java Dbus Found the createinterface.sh, then edit as follows:
 
#!/bin/sh--
java= $JAVA _home/bin/java
debug=disable
version=0.1 jarpath=
"$PWD/ipkg-install/ share/java/"
javaunixjarpath=" $PWD/ipkg-install/share/java/"
javaunixlibpath=" $PWD/ipkg-install/lib/ jni/"

javaunixjarpath=%javaunixjarpath%

exec $JAVA-dpid=$$-dversion= $VERSION-djava.library.path=$ JAVAUNIXLIBPATH-CP $JAVAUNIXJARPATH/unix.jar: $JAVAUNIXJARPATH/debug-$DEBUG. Jar: $JAVAUNIXJARPATH/hexdump.jar:$ Jarpath/dbus.jar: $JARPATH/dbus-bin.jar org.freedesktop.dbus.bin.CreateInterface "$@"

Then run the createinterface.sh

 
./createinterface.sh-s Org.domain1.domain2/objectpath


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.