Thanks everybody for the tips, but it does not really help me. In fact, you don't really need to create a classpath variable, FME built it automatically with the jar files inside the plugin directory. If you add a classpath variable, fme concatenates the one you have defined with his own one. The jvm dll is in my path, and fme logged this entry : " The Java Virtual Machine was started specifying '-Djava.class.path=C:\Program Files\FME\plugins;C:\Program Files\FME\plugins\fmeobjects.jar;C:\Program Files\FME\plugins\pluginbuilder.jar' for the classpath option. "
As workaround, I think I will create the factory in c++ ;) Thanks again for the help, Renaud --- In [email protected], "renaud.michaelis" <[EMAIL PROTECTED]> wrote: > > Hi the group, > > I try to run the java plugin sample : com.mycompany.myfunction.center > provided on the safe.com website, and unfortunately I always get this > error : > > |ERROR |FME cannot find a function named > `com.mycompany.myfunction.center'. > |ERROR |FME cannot find a function named > `com.mycompany.myfunction.center'. > > The center class is compiled and copied under > FME_HOME/plugins/com/mycompany/myfunction/center.class > > My JAVA_HOME parameter is set. > > I really don't understand how to configure it :( > > Renaud > For insights into what's up at Safe Software and what's on the development horizon, visit Safe's blog at spatial-etl.blogspot.com. Love FME? Then open your diary to March 6-7, 2008 and write this... "Second Worldwide FME User Conference - Must Attend!" See http://www.safe.com/company/fmeuc2008/index.php for more details. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/fme/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
