In trying to install Jrun, the installer is getting the the above mentioned class not found exception for javax.swing.JDialog. In looking in my Sun 1.4.2 SDK installation this class is not in my ../lib/tools.jar and nor in my ../dt.jar/javax/swing folder. It source is in the source.jar however and in trying to compile it I learned that that JDialog is depreciated. This problem is apparently consistant for RH 8/9 and Jrun and I have not found any threads indicating anyone found the answer. Anyone have any suggestions?
Yeah, Ernest is right... JDialog isn't deprecated.
You might want to look at your path (and run java -version) to make sure that you are running the version of Java you think you're running. I'm not sure about the newer versions of Red Hat, but I know earlier versions came with Kaffe, an open source version of Java 1.1 (which doesn't have Swing, and thus wouldn't find JDialog). When you installed the Sun JDK, you'd have to update your path to make sure you are running the newer JVM.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
posted 15 years ago
etc/profile has: JAVA_HOME=/opt/j2sdk_nb/j2sdk1.4.2 JRE_HOME=/usr/local/blackdown_jre/j2re1.4.1 (I am using blackdown's jre to get the java plugin working with Mozilla Firebird) $ java -version java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) I certainly see the JDialog.class in the rt.jar in the JRE. Apparently many people have had the same problem with RH8/9 and Jrun but I have not seen any solutions posted I got the idea it was depreciated because I tried compiling JDialog.java in the SDK and got that warning. [ October 29, 2003: Message edited by: Greg Neef ]