Flavio Rump wrote:
thank you, it compiled! now I am getting the following though: java -cp /usr/share/java/commons-httpclient.jar HttpClientTutorialException in thread "main" java.lang.NoClassDefFoundError: HttpClientTutorialwhat's missing here?
Flavio, to extend what Michael Koch said:consider using downloading these two bibles (free of charge): 1) Sun Java Tutorial (http://java.sun.com/docs/books/tutorial/) 2) Bruce Eckel's "Thinking in Java" (http://www.mindview.net/Books/TIJ/)
Also see: http://javafaq.mine.nu/lookup?40 http://javafaq.mine.nu/lookup?67 http://javafaq.mine.nu/lookup?111Consider using the Sun JDK to learn and develop Java applications. The "alternatives" are all non-Java compliant in different degrees (really, they are).
If you have your panties in a twist over using non Open Source stuff for learning Java wait for the Sun JDK to go fully Open Source later this or next year.
Bye bye