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 > -----Original Message----- > From: Robert Hicks [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 13, 2006 9:25 AM > To: inline@perl.org > Subject: Inline::Java on Windows w/o spaces in the path > > Since I was having the spaces issue I decided to do a test > script in a > path without spaces in it. Here is the glorious error message: > > C:\WINNT\system32\cmd.exe /c perl "C:\Test/t_inlineJava.pl " > > A problem was encountered while attempting to compile and > install your > Inline > Java code. The command that failed was: > "C:\Program Files\Java\jdk1.5.0_02\bin\javac.exe" -deprecation -d > "C:\Test\_Inline\lib\auto\t_in > ineJava_pl_0836" t_inlineJava_pl_0836.java > cmd.out 2>&1 > > The build directory was: > C:\Test\_Inline\build\t_inlineJava_pl_0836 > > The error message was: > The system cannot find the path specified. > > > To debug the problem, cd to the build directory, and inspect > the output > files. > > at C:\Test/t_inlineJava.pl line 1 > BEGIN failed--compilation aborted at C:\Test/t_inlineJava.pl line 14. > shell returned 1 > Hit any key to close this window... > > > This line: "C:\Program Files\Java\jdk1.5.0_02\bin\javac.exe" > > I do not have javac.exe there...never have. Is that hardcoded? > > I have it here: C:\jdk1.5.0\bin\javac.exe > > and that bin directory is in my path. > > It isn't totally clear from the Pod how to set that. > > Robert >