zeromq / jzmq

Java binding for ZeroMQ
http://www.zeromq.org
GNU General Public License v3.0
589 stars 363 forks source link

javac: invalid flag: -h #491

Open someshsuman opened 3 years ago

someshsuman commented 3 years ago

I follow the steps mentioned in the readme. I am getting the below error. Could you please provide some pointers on how this can be resolved?

/Users/ss>java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)
/Users/ss>cd ~/codebase/jzmq/jzmq-jni/
/Users/ss/codebase/jzmq/jzmq-jni>make
Making all in src/main/c++
javac  -d . -h . ../java/org/zeromq/EmbeddedLibraryTools.java ../java/org/zeromq/ZMQ.java ../java/org/zeromq/ZMQException.java
javac: invalid flag: -h
Usage: javac <options> <source files>
use -help for a list of possible options
make[1]: *** [javac_stamp] Error 2
make: *** [all-recursive] Error 1