This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with Classpath for java thru perl script


Hi ,

I just installed cygwin on windows 2000. 
I need it to run a perl script which will execute a java command .
Example: in the script it says thefollowing:

java -classpath $CLASSPATH myprogram argument1 arg2


The problem is that though echo $CLASSPATH shows the correct classpath
to the jar
Files , example C:\abc\def\myfile.jar  , when the perl script is run it
complains:

C:abcdefmyfile.jar not found

Notice in above the \ was stripped.
My java program is compiled with the C:\abc\def\myfiile.jar style of
classpath.


How can I get this to work ?

Thanks
Ramneek


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]