Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 1998 11:53:58 +1100
From:      Joe Shevland <J_Shevland@TurnAround.com.au>
To:        Rakesh Vidyadharan <rakeshv@geocities.com>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Swing incompatibility?
Message-ID:  <364E2626.390616C6@TurnAround.com.au>
References:  <364D3A03.3FE987B1@geocities.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?364E2626.390616C6>