This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20:Trouble Building Java Applications


Herbert Gamble wrote:
> 
> Hi,
> 
> I am having trouble building Java programs  in the B20 release.
> 
> Currently I have installed jdk1.1.6 under C:\Java\jdk1.1.6 and
> JFC 1.0.3 under
> C:\Java\swing-1.0.3. I have set all the appropriate environment
> variables to point
> to the correct places such as:

The Windows version of the Sun JDK requires you to set the JDK related
variables the Windows way.  And if you are running bash scripts, you
need to escape the backslash character.

>   HOME                    = /c/home/my_home
===>   JAVA_HOME        = /c/Java/jdk1.1.6
===>  SWING_HOME      = /c/Java/swing-1.0.3
===>  JAVA_CLASSES    = /c/Java/jdk1.1.6/lib/classes.jar
===>  SWING_CLASSES = /c/Java\swing-1.0.3/swingall.jar
===>  CLASSES                = ${HOME}/classes
===>  CLASSPATH           =
===> .:${SWING_CLASSES}:${JAVA_CLASSES}:${CLASSES}:${HOME}

--
Weiqi Gao
weiqigao@a.crl.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]