permaculture playing cards*
The moose likes Beginning Java and the fly likes head first Java Book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "head first Java Book" Watch "head first Java Book" New topic
Author

head first Java Book

Raman Moradi
Greenhorn

Joined: Feb 09, 2013
Posts: 5
i got an brain friendly guide head first java book... on page xxviii it says that i have to install API and Java 2 standard edtition and i have done that. In step 4 it says something about a path. i dont get it can i get some help.

I am 11 years old got a pretty good english my cousin is programming a game with eclipse and he was the one that inspired me to start with java i have always liked computers and wanted to know how they work..

Please dont comment '' Kid get out of here'' or '' you are to young for this !''

I just want some help. please
Raman Moradi
Greenhorn

Joined: Feb 09, 2013
Posts: 5
it will maybe say it is resolved but it is not !
Daryle Foulke
Greenhorn

Joined: Aug 27, 2009
Posts: 8

First off Welcome! Are you using a windows system? I did a simple google search and found this Setting JAVA_HOME. I hope it helps.



==============================
-Daryle
Raman Moradi
Greenhorn

Joined: Feb 09, 2013
Posts: 5
Yes i am using windows 7. i will look into the link Thanks
Raman Moradi
Greenhorn

Joined: Feb 09, 2013
Posts: 5
the page helped little i found the path that the book is talking about but what should i type the code in ? and compile it how ?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37884
    
  22
We have a link of our own, and it is bound to be better. (‍) Here. Note there are several ways to set the PATH, and the Oracle installation instructions (I think ยง4) shows something slightly different. You are probably better off putting the JDK installation path at the beginning of the PATH than the end. And make sure to install the JDK not the JRE. And SE (=standard edition) not EE or ME.

And welcome to the Ranch
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37884
    
  22
Daryle Foulke wrote: . . . found this Setting JAVA_HOME. I hope it helps.
Afraid it won’t. It says to use the jre folder and you need the jdk folder.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37884
    
  22
Raman Moradi wrote: . . . Please dont comment '' Kid get out of here'' or '' you are to young for this !'' . . .
You can learn Java at any age, but it would appear only in Sweden.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37884
    
  22
No, it’s not available in Sweden, only Norway.
Raman Moradi
Greenhorn

Joined: Feb 09, 2013
Posts: 5
thanks for all the help but it is too hard for me to learn from this book i really epriciated all the help... But do you know any easier youtube java tutorials ? for beginners?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37884
    
  22
HFJ is designed to be easy to read. Let’s take it really slowly.
Have you got your Java runtime working? and the compiler? What happens when you give the following instructions at the command line?
java -version
javac -version
You should get an output like this
[campbell@localhost java]$ java -version
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
[campbell@localhost java]$ javac -version
javac 1.7.0_13
 
wood burning stoves
 
subject: head first Java Book
 
Similar Threads
How to start self learning Java
about scjp
some silly questions
Need help finding a page.
RI server..