Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the special setup instructions needed to run this program on m… #145

Open
wants to merge 1 commit into
base: sample
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ A sample implementation of a simple accessory using [HAP-Java](https://github.co
This is for demonstration purposes only. The persistence implementation is very primitive and should not be used except
for convenience in testing purposes, so information between app launches will maintain pairing information with the iOS
devices. Persisted data is written to a file `auth-state.bin` in the current working directory.

Setup Instructions
=========
When running this sample on MacOs, please add VM Option:

-Djava.net.preferIPv4Stack=true

Please use JDK 1.8 or else you will runinto some issue with reflection APIs being blocked by newer versions of JDK.