This is how the author of Xsql (moi) has set up the CLASSPATH
at work with ``sparc-sun-solaris2.5.5''
# Filename: `~/.kshrc'
# Environment file for the Korn Shell
# Peter Pilgrim
# 31/12/1997
# Java Developer Kit Root Directory (for JDK 1.1.3)
### olde: export JAVA_HOME=/utils/java
JAVA_HOME=${HOME}/JavaClasses/jdk1.1.6
export JAVA_HOME
# Java Foundation Classes (Swing 1.0.1 snarfed from the `runnit'
script.
### olde: SWING_HOME=${HOME}/JavaClasses/swing-1.0.1
SWING_HOME=${HOME}/JavaClasses/swing-1.1beta
SWING_JARS=${SWING_HOME}/swing.jar:${SWING_HOME}/windows.jar:${SWING_H
OME}/motif.jar:${SWING_HOME}/metal.jar:${SWING_HOME}/organic.jar:${SWI
NG_HOME}/mac.jar
export SWING_HOME
...
CLASSPATH=.:${SWING_JARS}:${HOME}/JavaClasses:${JAVA_HOME}/lib/classes
.zip:/apps/summit/java/lib/connectJdbc113.zip
export CLASSPATH
A bit long winded I know but it make for great configurability.
In my setup I do not include both swing.jar and swingall.jar maybe
that is the difference.
This generates the following CLASSPATH for me:
pilgpe@poppy [58] >
pilgpe@poppy [58] > printenv CLASSPATH
.:/home/pilgpe/JavaClasses/swing-1.1beta/swing.jar:/home/pilgpe/JavaClasses/swin
g-1.1beta/windows.jar:/home/pilgpe/JavaClasses/swing-1.1beta/motif.jar:/home/pil
gpe/JavaClasses/swing-1.1beta/metal.jar:/home/pilgpe/JavaClasses/swing-1.1beta/o
rganic.jar:/home/pilgpe/JavaClasses/swing-1.1beta/mac.jar:/home/pilgpe/JavaClass
es:/home/pilgpe/JavaClasses/jdk1.1.5/lib/classes.zip:/apps/summit/java/lib/conne
ctJdbc113.zip
BTW: If you find the solution to this setup problem I will put in the next
release notes.
Pete
______________________________ Reply Separator _________________________________
Subject: Re: Swing 1.0.3
Author: duan ([EMAIL PROTECTED]) at lon-mime
Date: 20/10/98 08:28
hi
i seem to have that problem too.
I am trying to use Xsql which required swing.jar.Although i already put it the
full path in there,it seems that the program cannot find the swing.jar.By the
way I am using Swing 1.1Beta3.Is it because of the beta version?The thing is
that only me got that problem.Hmmm
anyway thanks
> > I have some problems with the file swing.jar. When I compile an example,
> > the compiler returns errors. It doesn't find out included packages in
> > swing.jar. CLASSPATH is OK.
>
Anybody is trying the Xsql.maybe you guys can help me here.
regards
duan