我有我需要导入的java文件和一些库。如何在控制台中编译Test.java文件并添加命令库名称?
import me.prettyprint.hector.api.Cluster;
import org.apache.cassandra.thrift.*;
import org.apache.thrift.TException;
import org.apache.thrift.protocol.TBinaryProtocol;
import org.apache.thrift.protocol.TProtocol;
import org.apache.thrift.transport.TFramedTransport;
import org.apache.thrift.transport.TSocket;
import org.apache.thrift.transport.TTransport;
import org.apache.thrift.transport.TTransportException;
import java.io.File;
import java.io.FileWriter;
import java.nio.ByteBuffer;
import java.util.UUID;
public class Test extends Thread{
//here my code
}