[Divunal-devel] Faucet on Windows

Ben Moore moore@ISI.EDU
Wed, 23 Jun 1999 17:19:26 -0700


OK.  Here's what you have to do.

You will need to run the faucet manually for now, until somebody takes a look
at the batch files for running the faucet on Win9x/NT/2K.  (I may have time to
do it, just not today.)  What you will need to do first is set your classpath
to include the <faucet install location>/javaclasses directory.  (using set)
Then you will need to go to the faucet directory and run java manually.  The
command will be:
  java twisted.reality.client.Faucet

In summation you will do the following(this is for win9x/NT/2k):
open an MS-DOS Prompt(Command prompt)
cd <faucet directory>
set CLASSPATH=./javaclasses
java twisted.reality.client.Faucet

Enjoy!

Michael Dartt wrote:

> Every time I try to use the Faucet under Win95, I get this when using
> faucet.bat:
>
> C:\WINDOWS\DESKTOP\faucet>jre -cp .;javaclasses;javaclasses\swingall.jar
> twisted
> ..reality.client.Faucet
> Bad command or file name
>
> C:\WINDOWS\DESKTOP\faucet>echo Exited successfully.
> Exited successfully.
>
> And this when using msfaucet.bat:
>
> C:\WINDOWS\DESKTOP\faucet>jview /cp .;javaclasses;javaclasses\swingall.jar
> twist
> ed.reality.client.Faucet
> Microsoft (R) Command-line Loader for Java (tm) Version 1.00.6211
> Copyright (C) Microsoft Corp 1996. All rights reserved.
> FATAL ERROR: Swing is required for this program to run.
>   Please make sure it is installed and that your classpath is set
> properly.
>
> ERROR: Could not execute twisted.reality.client.Faucet: Unspecified error
>
> This is with the swing version, btw.  I haven't ever gotten the no-swing
> one to work, even with JDK 1.2.
>
> I also had to remove the "@echo off" line from the beginning of the
> scripts, otherwise I'd just get "off" (unsurprisingly).
>
> I'm using JDK 1.2.1, installed with Sun's little graphical installer.
>
> Any help would be mighty appreciated, and not just by me, I'm sure.  After
> all, I can boot into Linux if this can't get fixed, but telling
> prospective users and developers, "Well, to solve your problem, you need a
> new OS to run our cross-platform software" probably won't cut it.  :-/
>
> Or maybe I could try the GTK version, seeing as how I've got GIMP
> installed....Oh, wait, that means I'd have to compile it, which means I'd
> have to download djgpp or make or something....Gotta love Windows....
>
> Thanks in advance, all.
>
> --Mike
>
> _______________________________________________
> Divunal-devel maillist  -  Divunal-devel@divunal.com
> http://divunal.com/mailman/listinfo/divunal-devel