Skip to content

Instantly share code, notes, and snippets.

@markuman
Created September 4, 2018 11:19
Show Gist options
  • Save markuman/7d9dc582dfd69c2ff1312c77305b1f8c to your computer and use it in GitHub Desktop.
Save markuman/7d9dc582dfd69c2ff1312c77305b1f8c to your computer and use it in GitHub Desktop.
root@cac0346394cc:/mnt/ant_build# CLASSPATH=$(pwd)/lib/
root@cac0346394cc:/mnt/ant_build# echo $CLASSPATH
/mnt/ant_build/lib/
root@cac0346394cc:/mnt/ant_build# java -cp CLASSPATH "com.amazon.kinesis.streaming.agent.Agent"
Error: Could not find or load main class com.amazon.kinesis.streaming.agent.Agent
root@cac0346394cc:/mnt/ant_build# ls
lib private
root@cac0346394cc:/mnt/ant_build# ls private/com/amazon/kinesis/streaming/agent/Agent
Agent$1.class Agent.class
Agent$2.class AgentAWSCredentialsProvider.class
Agent$3.class AgentAWSCredentialsProviderChain.class
Agent$4.class AgentContext.class
root@cac0346394cc:/mnt/ant_build# ls private/com/amazon/kinesis/streaming/agent/Agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment