to compile and run interfile_tp plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

to compile and run interfile_tp plugin

open researcher
hi imagej users!
I want to install interfile_tp plugin in imagej. I have two issues
regardiing this

1> In the site (http://www.med.harvard.edu/jpnm/ij/plugins/Interfile.html) it
is mentioned that "To recompile, make sure the NucMed folder is in the
ImageJ classpath" I am not familiar with JAVA, so i don't understand how to
put NucMed in ImageJ classpath (i don't know what exactly is this imagej
classpath)

 2> when i put interfile_tp folder in imagej's plugin directory and
'compile and run' i get following error -

/home/avinash/.imagej/plugins/Interfile_TP/nucmed/KeyValuePairs.java:145:
as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 1.4 or lower to use 'enum' as an identifier)
Enumeration enum = p.propertyNames();
            ^
/home/avinash/.imagej/plugins/Interfile_TP/nucmed/KeyValuePairs.java:146:
as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 1.4 or lower to use 'enum' as an identifier)
 while(enum.hasMoreElements()) {
      ^
/home/avinash/.imagej/plugins/Interfile_TP/nucmed/KeyValuePairs.java:147:
as of release 5, 'enum' is a keyword, and may not be used as an identifier
(use -source 1.4 or lower to use 'enum' as an identifier)
String s = (String) enum.nextElement();
                    ^
3 errors

 is the problem with not putting NucMed folder in imagej classpath? any
help?

thanks in advance

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: to compile and run interfile_tp plugin

Pariksheet Nanda
On Tue, Sep 4, 2012 at 11:44 AM, open researcher
<[hidden email]> wrote:
> I want to install interfile_tp plugin in imagej.
>

Does the plugin not work if you download the Interfile_TP.jar file to
your ImageJ plugins directory?
You shouldn't need to worry about the classpath or compiling unless
you cannot use the above .jar file (due to errors) or you want to
modify the plugin.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html