title: JAVA classpath pass file as command line argument
body: <p>I have a program which is located in </p>
  
  <p>say </p>
  
  <pre><code>$A430CLASS/com.airbus.adcsip.batch.GlobalReportBatch
  </code></pre>
  
  <p><strong>$A430CLASS is the path where my class file is present.</strong></p>
  
  <p>i want to run it through shell script so i entered following command :</p>
  
  <pre><code>java -classpath $A430CLASS/com.airbus.adcsip.batch.GlobalReportBatch $A430CONF/batch.properties
  </code></pre>
  
  <p><strong>$A430CONF is the path where the batch.properties file is present.
  GlobalReportBatch is my class file name</strong>
  As you can see i want to pass this batch.properties file as argument to my java program. but when i run my script it tries to replace "." in batch.props file to "/" it gives me <code>NoClassDefFound</code> error.</p>