Dear Manjula,

Under Windows environment, you can use Eclipse to write your Perl code, but it 
may be problematic to run BioMart Perl code under Eclipse. You may need to run 
it under cygwin. When your Perl script is ready to run, start cygwin (make sure 
Perl is installed under cygwin), then 'cd' into where your perl code is 
located, just run it as 'perl <name_of_the_perl_code>'.

At the beginning of your perl script, you may need to add a line after 'use 
strict' something like:

use lib '/path/to/your/BioMart/installation/lib';

This will make Perl know where to load BioMart modules.

Junjun


From: Manjula Dharmawardhana <[email protected]<mailto:[email protected]>>
Date: Tue, 12 Jul 2011 01:19:04 -0400
To: jzhang <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [BioMart Users] Biomart Perl API Problem

Hi Junjun and other users,
Thank you very much for the quick and prompt reply, and for helping out newbies 
like me!

I have installed cygwin and added it to the path. Selected cygwin as 
interpreter type in my EPIC settings in Eclipse.
But, when running, it gives this error, which does not give any information!

"An internal error occurred during: "Launching Q1.pl".
java.lang.NullPointerException"

My coding and Registry file can be found in this page,

http://biostar.stackexchange.com/questions/10159/biomart-perl-api-in-windows

I don't know whether you can help with this error, but any help in greatly 
appreciated.

Thanks in advance,

Manjula

_______________________________________________
Users mailing list
[email protected]
https://lists.biomart.org/mailman/listinfo/users

Reply via email to