Hi all
I have a script which will take input as filename and passes it to a java program. It is as follows
--------------------------------
FILENAME=$1
echo $FILENAME
${JAVA_HOME}/bin/java -cp DateProvider $FILENAME
-------------------------------------------------
when I execute the same the parameter is wrongly passed to the java program as -------------------------
A09MI18.2061220 <-- this is the filename i supplied
Exception in thread "main" java.lang.NoClassDefFoundError: R09MI18/2061220
--------------------------------
I dont know how the "." is changing to "/".
Can anybody help me to solve the same?
Thanks in Advance