[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some place else to download a2gameserver?
Thanks BluRry,
Awesome! It didn't actually work, but I feel it's so close now. Using
your second (alternative) script I get the following:
Got 256 games!
Experimental: JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
java.io.IOException: Port 'COM2' is not available!
at ags.Main.initPort(Main.java:57)
at ags.Main.main(Main.java:72)
Exception in thread "main" java.lang.NullPointerException
at ags.Main.shutdown(Main.java:146)
at ags.Main.main(Main.java:80)
...So I'm guessing that it's having a problem finding the serial port.
I'm using a USB to serial adaptor. When using ADT the adaptor appears
in the ADT device list as 'tty.usbserial'.
In your previus script you had a the line ' /dev/ttyS1 apple2e', do I
need to use something similar to this to point to my USB driver?
Again, Thanks for all your time and help.
Phil
BLuRry wrote:
> cd ~/a2gameserver
> java -Djava.library.path=lib -cp lib:lib/RXTXcomm.jar:dist/ags.jar
> ags.Main ...
>
> Alternatively, you could try this for your machine:
>
> java -Djava.library.path=~/a2gameserver/lib -cp
> ~/a2gameserver/lib:~/a2gameserver/RXTXcomm.jar:~/a2gameserver/ags.jar
> ags.Main
>
> That should do the trick. Sorry about the confusion -- I had forgotten
> than the -jar option makes it ignore the -cp option. I should remember
> a thing like that, but I never run this from the commandline (I always
> run it from my IDE since it makes it easier to debug)