aspose file tools*
The moose likes Beginning Java and the fly likes Problem compile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Problem compile" Watch "Problem compile" New topic
Author

Problem compile

Patrick Ejsing-Duun
Greenhorn

Joined: Aug 10, 2011
Posts: 4
HI

I'm reading this book called "Head First Java". Really cool book btw.

but then i try to compile myfirstapp.java in the console I get 2 error.



myfirstapp.java look like this:


Naarh..
Vijay Tidake
Ranch Hand

Joined: Nov 04, 2008
Posts: 146

Hi,

System.out.printIn("I Rule!");


It is System.out.println("I Rule!");

l not I.

Thanks


The important thing is not to stop questioning.Curiosity has its own reason for existing.
Patrick Ejsing-Duun
Greenhorn

Joined: Aug 10, 2011
Posts: 4
Vijay Tidake wrote:Hi,

System.out.printIn("I Rule!");


It is System.out.println("I Rule!");

l not I.

Thanks


cool thanks

just started today
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Then you're doing just fine. We all make small mistakes like that when we started. Good luck and welcome to the JavaRanch!


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38902
    
  23
Wouter Oet wrote:Then you're doing just fine. We all make small mistakes like that when we started. Good luck and welcome to the JavaRanch!
I had far more mistakes than that when I started
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4392
    
    8

Wouter Oet wrote:Then you're doing just fine. We all make small mistakes like that when we started

Whereas nowadays we make big mistakes.
Patrick Ejsing-Duun
Greenhorn

Joined: Aug 10, 2011
Posts: 4
Matthew Brown wrote:
Wouter Oet wrote:Then you're doing just fine. We all make small mistakes like that when we started

Whereas nowadays we make big mistakes.


hehe
I have coded a little in C#, will that make it easier for me ?
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11320
    
  16

Patrick Ejsing-Duun wrote:I have coded a little in C#, will that make it easier for me ?

yes and no.

yes, because you should be familiar with things like loops, if-else, etc.

No, because if you are like me, you'll wind up writing something using C# syntax in a java program (or vice versa), and be really confused when it won't compile.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Patrick Ejsing-Duun
Greenhorn

Joined: Aug 10, 2011
Posts: 4
fred rosenberger wrote:
Patrick Ejsing-Duun wrote:I have coded a little in C#, will that make it easier for me ?

yes and no.

yes, because you should be familiar with things like loops, if-else, etc.

No, because if you are like me, you'll wind up writing something using C# syntax in a java program (or vice versa), and be really confused when it won't compile.


sounds nice in a way
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem compile