Posted By:
Christopher_Schultz
Posted On:
Wednesday, May 16, 2001 01:33 PM
That sounds strange. In recent versions of the JDK, JFC is included. There's a JAR file included with your JDK called
rt.jar which contains the whole sha-bang.
Try using 'jar' on that file to verify that javax/swing/JComponent.class exists (it really should).
Above and beyond that, check your CLASSPATH environment variable (type 'echo $CLASSPATH') to see that it includes rt.jar.
Most modern VM's already include this file in their 'implicit' or 'boot' classpath, so you really shouldn't have to do this.
Can you give more information about your setup (specifically, your CLASSPATH as well as your analysis of the rt.jar file -- i.e. does it contain javax/swing/JComponent.class)?
Just a few (somewhat-related) notes on your installation:
- IBM has a helluva JDK distribution for Linux, and it's AWT/Swing support is the best I've seen for Linux (sorry, can't comment on Blackdown's distro 'cause I haven't used it in a while)
- RedHat 6.2 has a 'rootkit' available so crackers can hack your box without too much trouble if you aren't keeping up with OS patches. Consider upgrading to RedHat 7.1
Good luck,
-chris