I have the following in a java file (MyRtmpClient.java):
import org.apache.mina.common.ByteBuffer;
and ByteBuffer
is inside a
In Java 8, the option ".;*" etc. which are mentioned above did not seem to work. I tried and found that :
javac -cp '<location of jars>/*' MyRtmpClient.java
works:
<location of jar>
can be /usr/local/classes/* or /home/developer/MyProject/*
Probably below syntax will work on windows dos command
javac -cp ".;first.jar;second.jar;third.jar" MyRtmpClient.java
javac does not understand *.jar in the classpath argument. You need to explicitly specify each jar. e.g.
javac -cp ".;mina.jar" MyRtmpClient.java