JDK 1.2.2 Compiler Issue

I installed JDK 1.2.2 last evening and created a simple "Hello World!" application.  The code for this app is ..
class HelloWorldApp {
  public static void main(String[] args) {
    System.out.printIn("Hello World!");

When I compile this code, however, I receive the following error:
HelloWorldApp.java:8: Method printIn(java.lang.String) not found in class java.io.PrintStream.
      System.out.printIn("Hello World!");
1 error

I figure this must be a simple configuration issue, i.e., classpath setting, though I am not sure.

Any help would be greatly appreciated.
Who is Participating?
imladrisConnect With a Mentor Commented:
If your application actually contains printIn (i.e. print in) then you have simply mistyped or misunderstood. The method is printLn (i.e. print line). The sixth letter should be ell not ai.
dfhainesAuthor Commented:
Thank you...boy do I feel small!
All Courses

From novice to tech pro — start learning today.