Hi Simon, It sort of sounds like maybe you never did "make install" - is there an "Inline/Java.pm" file in one of your @INC paths (see these with a "perl -V" command)?
Also, did "make test" run properly when you were installing? -Ken > -----Original Message----- > From: Simon K Chan [mailto:[EMAIL PROTECTED] > Sent: Friday, January 16, 2004 10:13 AM > To: [EMAIL PROTECTED] > Subject: newbie question > > > Hi All, > > Installed Inline::Java-0.44. I was trying to test the > installation with > some simple code: > > #!/usr/bin/perl > use strict; use warnings; > > use Inline Java => <<'EOJ'; > public class Hi { > public static void main(String[] args){ > System.out.println("Hello World!"); > } > } > EOJ > > > When I run this perl program, I get the message: > > *** > Error. You have specified 'Java' as an Inline programming language. > I currently only know about the following languages: > C, Foo, PDLPP, Pdlpp, foo, pdlpp > If you have installed a support module for this language, try > deleting the > config file from the following Inline DIRECTORY, and run again: > /home/skchan/_Inline > *** > > Everytime I run my program, a new _Inline directory is created with a > config file. > > I'm lost. Is this message indicative of the program not > being able to > locate where J2SDK is located? I did include the path to it > when I ran > Makefile.PL > > Any help would be much appreciated..... > > Many thanks. > Simon >