• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Started

 
Paulo Nineteen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am completely new to this and need help with the basics. I have downloaded Java 6SDK and have a book to teach myself but i have no idea what to do next, In the excersice you write some code and compile it. First off, do i write the code in wordpad? Secondly, In baby steps describe how i compile it and the book also said something about adding an entry PATH environment variable that points to the /bin directory, I don't have a clue how to do this but i am sure i will learn quickly once i have these problems sorted. Any email addresses or phone numbers would be helpful.
 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://java.sun.com/docs/books/tutorial/index.html

More specifically, http://java.sun.com/docs/books/tutorial/getStarted/index.html
 
sai jyothi
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
welcome to javaranch

There are numerous websites to learn java but one of the best is given by darryl i believ so. you can also refer roseindia.net
 
Campbell Ritchie
Sheriff
Pie
Posts: 49865
71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which book have you got?

No, avoid wordpad, since it may add control characters which the compiler can't read. NotePad is barely better; download NotePad2 or NotePad++ or jEdit, which are all much much better.
In the links Darryl Burke posted you will find a "common problems" page. Make sure to look at that. If you didn't set up a PATH environment variable, you will get some strange error messages, which are in the "common problems" link. If you find advice about how to set up your CLASSPATH as an environment variable, 99% of the time you should ignore that mistake and forget all about the CLASSPATH.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic