From owner-freebsd-java Sat Nov 14 17:00:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04686 for freebsd-java-outgoing; Sat, 14 Nov 1998 17:00:54 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04680 for ; Sat, 14 Nov 1998 17:00:52 -0800 (PST) (envelope-from J_Shevland@TurnAround.com.au) Received: from TurnAround.com.au (ras4.turnaround.com.au [192.168.1.115]) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with ESMTP id MAA18245; Sun, 15 Nov 1998 12:03:57 +1100 (EST) (envelope-from J_Shevland@TurnAround.com.au) Message-ID: <364E2626.390616C6@TurnAround.com.au> Date: Sun, 15 Nov 1998 11:53:58 +1100 From: Joe Shevland Organization: Turnaround Solutions Pty. Ltd. X-Mailer: Mozilla 4.06 [en] (Win95; I) MIME-Version: 1.0 To: Rakesh Vidyadharan CC: freebsd-java@FreeBSD.ORG Subject: Re: Swing incompatibility? References: <364D3A03.3FE987B1@geocities.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Rakesh Vidyadharan wrote: > > I was trying to compile a Swing application that I am > developing at work, and the java source files do not > compile. I keep getting errors saying "package > com.sun.java.swing.* not found" or "package javax.swing.*" > not found, depending on which version of Swing I am trying > to use. I have exported by CLASSPATH to the proper > locations. I copied the downloaded swing tar file to my > Linux partition, and installed it, and all the source files > compiled and ran. > > I do not remember whether I was using jdk1.1.5 previously > when I was running 2.2.6, but I had no problems running my > swing application when I was still on 2.2.6 (I currently run > 2.2.7). So, does your CLASSPATH reference the Jar file by name, not just the directory? Like, CLASSPATH = .:/u1/jdk116/lib:/u1/swing/swingall.jar I'd be interested to see yours. > Thanks > -- > > Rakesh > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message