Hi All, I'm running Mandrake 9.0 and I am trying to install the java swing
packages, etc. I downloaded the j2re-1_4_2_01-Linux-i586.rpm.bin and I
installed and everything seems ok, but i can't seem to use those packages,
(if in fact they are the right ones) I haven't been able to find any good
docs on the Java site either. I tried setting up my classpath and library
path but nothing happens. Really, i'm not even sure with .jar I should be
trying to find either.
If any one could help me I would really appreciate it.
Thanks
Chris
Skippy - 16 Dec 2003 22:32 GMT
> Hi All, I'm running Mandrake 9.0 and I am trying to install the java swing
> packages, etc. I downloaded the j2re-1_4_2_01-Linux-i586.rpm.bin and I
> installed and everything seems ok, but i can't seem to use those packages.
Swing is included in Java 1.2+, no need for installing it.
to use the packages, import them:
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.[some other package].*;
hiwa - 17 Dec 2003 00:06 GMT
> Hi All, I'm running Mandrake 9.0 and I am trying to install the java swing
> packages, etc. I downloaded the j2re-1_4_2_01-Linux-i586.rpm.bin and I
[quoted text clipped - 8 lines]
> Thanks
> Chris
You have to download j2sdk-..., not j2re-...
And set/export the PATH accoringly. (bin directory of J2SDK)