• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Can not find symbol / Variable out error

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. I'm an ultimate beginner and started from "Head First Java". And failed to compiled very first program.
During the complilation there were following errors:

error: can not find symbol
System.Out.Println("I'm ruling")
symbol: Variable out
location: Class System

and same for System.Out.Println("the world")

P.S. Already set up JDK folder in System Variables and checked is complied is configured by "javac -version".

So what's wrong with me?
 
Greenhorn
Posts: 16
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java is a case sensitive program. Check Java API for method signatures and case sensitivity. On below code it should be System.out.println(....)

Vladimir Glushko wrote:System.Out.Println("I'm ruling")

 
Sheriff
Posts: 8542
615
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vladimir,

Welcome to the Ranch, nice to see you around

One thing before you start contributing in this nice community - please UseCodeTags (<- link to click on) when you post actual code. It will make your code look in a code format. I have added them for you this time, see how better it looks like?
 
Vladimir Glushko
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Liutauras Vilda wrote:Hi Vladimir,

Welcome to the Ranch, nice to see you around

One thing before you start contributing in this nice community - please UseCodeTags (<- link to click on) when you post actual code. It will make your code look in a code format. I have added them for you this time, see how better it looks like?



Thank you, noted. Will use this in future
 
Vladimir Glushko
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Arun Chidambaram wrote:Java is a case sensitive program. Check Java API for method signatures and case sensitivity. On below code it should be System.out.println(....)

Vladimir Glushko wrote:System.Out.Println("I'm ruling")



Yes, this worked. How can I forget this? Thank you!

 
Liutauras Vilda
Sheriff
Posts: 8542
615
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome.

And please remember, class names suppose to start with upper case. That is by Java convention - it is important.
 
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic