How to wildcard include JAR files when compiling?

后端 未结 9 682
面向向阳花
面向向阳花 2020-12-01 05:30

I have the following in a java file (MyRtmpClient.java):

import org.apache.mina.common.ByteBuffer;

and ByteBuffer is inside a

9条回答
  •  离开以前
    2020-12-01 05:39

    You cannot use -cp with Javac. You have to use -classpath instead (assuming the other settings are correct).

提交回复
热议问题