hey guys, I'm learning
java from a book called Head First Java. I'm getting errors while compiling my first program. I have jre,jdk 7 on win 7 and open jdk and jre on ubuntu distro, which one should I prefer and why?
here look at those errors
" Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Mohammed Ayaz S>cd c:\java\src
c:\java\src>javac MyFirstApp.java
MyFirstApp.java:3: cannot find symbol
symbol : method printIn(java.lang.String)
location: class java.io.PrintStream
{ System.out.printIn("I Rule!");
^
MyFirstApp.java:4: cannot find symbol
symbol : method printIn(java.lang.String)
location: class java.io.PrintStream
System.out.printIn("The World");
^
2 errors
c:\java\src> "
please help me out!