How to run the scrabblet app.

http://www.osborne.com/program/zip/java11cr.zip How do you connect to another game with the scrabble app from capther 29? Download the code form the site, compile it and tell me how to run it!
I will give a A
LVL 5
laeuchliAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

adam923Commented:
i didn't compile it but i looked at the zip file (chap29.zip) inside the main zip file... it looks like it was put together using an old zip version... try renaming all the .jav files to .java files, and maybe even the .htm to .html?
0
laeuchliAuthor Commented:
I compiled it already. I did have to do what you said, but I already knew that. My problem is that when I run the program I can't get it to connect to the server. I am running the sever by typing Java Server, and the clinet, by running internet explorer. How do I get it to connect?
0
adam923Commented:
ok, i got it to connect just fine on mine... are you sure yours compiled with no errors?  mine had some errors in Scrabblet.java and i had to change List to java.awt.List in two cases
i'm using jdk1.2 and netscape 4.7 with the java 1.2 plugin
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

laeuchliAuthor Commented:
It just won't connect on my computer. It says it can'f find the local host. I am running the sever as I said with java Server. I have compiled fine.
0
adam923Commented:
when you run java Server does it say
Server listening on port 6564
???
which version of java are you using, which version of ie?
0
laeuchliAuthor Commented:
Yes is says that Server listening on port 6564. I can now connect on the machine that is hosting the server by typing appletviewer Scrabble.htm
However, the other machine on the lan does not see the host.  I am running Java 1.1.8
0
adam923Commented:
first try it with only one machine and make sure it works ok... run the server and open two windows in your browser and play against yourself.  one this works we can worry about web server configurations
0
laeuchliAuthor Commented:
That worked fine.
0
laeuchliAuthor Commented:
Still can't make if from the other machine though... Do you think it is possible to fix?
0
adam923Commented:
what web server are you using to deliver the .class and .htm files to the other machine?
0
laeuchliAuthor Commented:
I was just running it over a network. Do I have to have a intranet to get this to work?
0
adam923Commented:
yes, an applet can only talk to the server it came from due to the security manager
when you run in over the lan the applet appears (to the browser) to come from your local pc due to the mapped drive or unc name and it won't be able to talk to the servlet on another computer
0
laeuchliAuthor Commented:
ok, It worked. Post for your points.
0
adam923Commented:
glad to be of service!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
laeuchliAuthor Commented:
oh, sorry I promised you a A. When I have a few more points, I will give you some.
0
adam923Commented:
that's ok, don't bother... use your points to ask something else or buy paq's
0
laeuchliAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.