Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Ivor Horton's Beginning Java, Java 7 Edition
This is the forum to discuss the Wrox book Ivor Horton's Beginning Java, Java 7 Edition by Ivor Horton ; ISBN: 978-0-470-40414-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Java, Java 7 Edition section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 12th, 2014, 11:34 AM
Registered User
Points: 22, Level: 1
Points: 22, Level: 1 Points: 22, Level: 1 Points: 22, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2014
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to BOYET
Default error: cannot find symbol

I bought this book last night and while going through the first chapter I encounter error while compiling my first codes. Can someone help me on this..

Code:
public class OurFirstProgram {

	public static void main(String[] args) {
	System.out.print1n("Krakatoa, East of Java??");
	}

}

Error in cmd promt below:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Boyet\Documents\JavaProj\MyFirstApplet>ja vac OurFirstProgram.java
OurFirstProgram.java:4: error: cannot find symbol
System.out.print1n("Krakatoa, East of Java??");
^
symbol: method print1n(String)
location: variable out of type PrintStream
1 error
Reply With Quote
  #2 (permalink)  
Old September 12th, 2014, 08:45 PM
Registered User
Points: 22, Level: 1
Points: 22, Level: 1 Points: 22, Level: 1 Points: 22, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2014
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to BOYET
Default Issue closed!!

Typo error in "print1n"
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"error LNK2001: unresolved external symbol" occured at my second debug,but first not! Waterharbin C++ Programming 1 January 10th, 2011 07:48 AM
relocation error: undefined symbol stat64 d.buxtehude C++ Programming 1 July 12th, 2007 10:00 AM
error LNK2019: unresolved external symbol tinawalt VS.NET 2002/2003 3 August 9th, 2005 08:59 AM
Error-cannot resolve symbol Rusk JSP Basics 1 February 18th, 2004 09:20 AM
Error: Cannot resolve symbol "Beginning JSP" amcp2002 Wrox Book Feedback 2 July 22nd, 2003 04:30 PM



All times are GMT -4. The time now is 11:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.