----- Original Message ----- From: "Robert Hicks" <[EMAIL PROTECTED]> To: <inline@perl.org> Sent: Friday, July 14, 2006 3:59 AM Subject: Re: Inline::Java on Windows w/o spaces in the path
> [EMAIL PROTECTED] wrote: > > When you build & install Inline::Java you tell it where your J2SDK is. > > Something like this: > > > > perl Makefile.PL J2SDK=C:\jdk1.5.0 > > > > Perhaps the path you're seeing is the default, or left over from > > previous attempts, or something. > > > > -Ken > Except this was a PPM module but I guess that can be true. > That was probably the path to javac.exe on the machine that built the ppm. > Is there a way to set the right one in my script? > >From the Inline-Java documentation: ------------------------------ In order for "Inline::Java" to function properly, it needs to know where to find a Java 2 SDK on your machine. This is done using one of the following techniques: 1 Set the J2SDK configuration option to the correct directory 2 Set the PERL_INLINE_JAVA_J2SDK environment variable to the correct directory ----------------------------- I haven't personally tried the second method, but I expect it should work for you. If not, then it's probably simplest to use the first method by building and installing Inline-Java from CPAN source (rather than installing the ppm) Cheers, Rob