On 28 July 2011 08:49, andrea antonello <[email protected]> wrote:
>> for (String name : ImageIO.getReaderFormatNames()) System.out.println(name);
>
> Wunderbar!
>
> Somehting like:
>
> CLASS="import javax.imageio.ImageIO; public class CheckGeotoolsJava {
> public static void main( String[] args ) { for (String name :
> ImageIO.getReaderFormatNames()) System.out.println(name); } }"
> echo $CLASS > CheckGeotoolsJava.java
> javac CheckGeotoolsJava.java
> echo "Your current java installation supports the following image formats:"
> java CheckGeotoolsJava
> rm CheckGeotoolsJava.java
> rm CheckGeotoolsJava.class

works for me on Linux (Ubuntu Natty).

Ian

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to