![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing Parameter in SED command | dsrookie | UNIX for Dummies Questions & Answers | 2 | 06-09-2008 01:25 AM |
| Passing parameter to makefile? | manju_p | High Level Programming | 3 | 11-07-2006 04:39 AM |
| Parameter passing in a function | fastgoon | UNIX for Advanced & Expert Users | 2 | 07-26-2006 05:10 AM |
| parameter passing | kekanap | Shell Programming and Scripting | 8 | 07-20-2006 09:58 AM |
| how to catch a parameter that is of the wrong type | Magdalena | High Level Programming | 1 | 03-25-2006 06:54 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
wrong parameter passing!
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|