[sane-devel] java api

Oliver Schwartz Oliver.Schwartz@gmx.de
Mon, 17 Jun 2002 20:39:00 +0200


> I tried but I can't even complete make. It stops with:
>
> javac Jscanimage.java
> Jscanimage.java:56: Class com.sun.java.swing.ImageIcon not found in import.
> import com.sun.java.swing.ImageIcon;
>        ^
> Jscanimage.java:57: Class com.sun.java.swing.JPanel not found in import.
> import com.sun.java.swing.JPanel;
> [...]
>
> This is Debian Woody. Maybe I have forgotten to install a package?
> jdk1.1-dev is installed.

I don't know anything about Debian, but IIRC the Swing package is not included 
in Sun's JDK 1.1.x. You have to install a separate swing package or update to 
at least JDK 1.2.x. Considering that JDK 1.4 is released JDK 1.1 is fairly 
obsolete anyway.

Regards,

Oliver