File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes 2 JavaTutorial Errors quick fix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "2 JavaTutorial Errors quick fix" Watch "2 JavaTutorial Errors quick fix" New topic

2 JavaTutorial Errors quick fix

john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

Taken directly from
It is the Java tutorials.
Here is the code and the error.

And errors:

Please just fix it for me since
1. It's from the tutorials and
2. I don't know hardly anything about servers/clients (which I am using this a learning experience)
John Price aka cc11rocks

“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
Hauke Ingmar Schmidt

Joined: Nov 18, 2008
Posts: 436
You are linking to a single source file which is useless. The tutorial is here.

But you need to learn the basics first.
I agree. Here's the link:
subject: 2 JavaTutorial Errors quick fix
It's not a secret anymore!