File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package system does not exist

 
mac hershberger
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am truly a beginner. I've just started reading Head First Java. I've downloaded Java 5 and now i am trying to write the first program in the book. my code is:

public class myfirstapp {
public static void main (String[] args)
{system.out.print("I Rule!");}
}

when i try to compile the program using "javac.exe myfirstapp.java" i get the following error message:

"package system does not exist"

and it points to the word "system".

What should i do to get past this?

Thank you,

Mac
 
Scott Selikoff
author
Saloon Keeper
Posts: 3890
15
Eclipse IDE Flex Google Web Toolkit
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's "System" not "system". Capitilization always matters!

And welcome to java!
 
mac hershberger
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Scott

That gets me over the hump and i feel like i'm on my way!
 
Campbell Ritchie
Sheriff
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hamza mohamed ansari,
Your post was moved to a new topic.
 
Abid Ramay
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi .. now i know why they tell you o write your program and forget about IDE.. lol
 
Campbell Ritchie
Sheriff
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
Tony Docherty
Bartender
Pie
Posts: 2878
59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
praneeth chakri,
Your post was moved to a new topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic