Hi Alex,
Thanks for the help. I downloaded the bio-formats.jar file and tried to use it as a standalone so see if I get anything:
java -jar ./bio-formats.jar
Exception in thread "main" java.lang.NoClassDefFoundError: loci/common/services/ServiceException
Caused by: java.lang.ClassNotFoundException: loci.common.services.ServiceException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: loci.formats.gui.ImageViewer. Program will exit.
Am I doing something wrong?
bio-formats.jar has multiple dependencies, so you must either download all of those dependencies or use loci_tools.jar (a single JAR which contains bio-formats.jar and everything else that you need). The download page has links to all of the JARs that you will need:
http://loci.wisc.edu/bio-formats/downloadsIf you decide not to use loci_tools.jar, note that you should have at minimum bio-formats.jar, loci-common.jar, and ome-xml.jar (plus scifio.jar, if you are using trunk or daily builds). The other JARs listed in the "Bio-Formats component builds" section are technically optional, though some functionality will be missing if they are not present.
Some more information on when to use which JARs is available at the bottom of this page:
http://loci.wisc.edu/bio-formats/bio-fo ... va-library-Melissa