| Author |
newbie needs tutorials on java
|
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
|
needs tutorial on java for a beginner.
|
 |
chander shivdasani
Ranch Hand
Joined: Oct 09, 2007
Posts: 206
|
|
|
Buy HeadFirst Java by Kathy And Sierra. Good book for the newbies.
|
Enjoy, Chander
SCJP 5, Oracle Certified PL/SQL Developer
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
|
All you really need is this !
|
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
|
 |
arulk pillai
Author
Ranch Hand
Joined: May 31, 2007
Posts: 3190
|
|
|
try this in addition to other resources suggested http://www.javapassion.com/
|
Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
|
 |
marten kay
Ranch Hand
Joined: Feb 03, 2007
Posts: 168
|
|
I agree with Chander, the Head First Java book is good, as is HF OO Analysis and Design. I would also recommend Murach's Java SE6, this is very well structured and comprehensive. It is in a more tradition style to the Head First series so it depends on what you prefer. I would also recommend Joshua Bloch's Effective Java after you have done a bit of programming. I am new to Java and OO, and now that I have a few skills it is to Joshua's book that I regularly return.
|
when in doubt put it in parenthesis and stick a dollar sign in front of it, only good can come from this.
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
oh, you guys are wonderful, am going to read all and get those books. already a friend send me THINKING IN JAVA BY BRUCE ECKEL and i love it, very explanatory. and tutorial on java but i can't open the file two days ago, i started TEACH YOURSELF JAVA 1.1 PROGRAMMING IN 24HRS. (docs.rinet.ru/j11/ i like this too but i don't know if it's outdated. but from the lesson, i was able to know what java is.
|
 |
ruban raj
Greenhorn
Joined: Aug 05, 2008
Posts: 7
|
|
For new java beginner ,HeadFirst Java by Kathy And Sierra is a good book.so better go with head first.Really it is interesting book to learn java.. Regards, Vasiammal.p
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
THANKs, please can anyone help with the lateset version of java developer kit(jdk) needs to install it on my system in other to start writing program. My Operating system is window sx unlimited.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
Downloads here; look for what they call 6 update 7. There is a link to the installation instructions (if you haven't found it yet) in this "problems" page. Be sure to record where you install the Java, because you need that information for setting your PATH.
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
Originally posted by felicia adedotun: TEACH YOURSELF JAVA 1.1 PROGRAMMING IN 24HRS.
Not only outdated, but unbelieveably bad, with serious technical errors on nearly every page. That's one to avoid.
|
[Jess in Action][AskingGoodQuestions]
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
|
I don't like the teach yourself Java series because they put everything into the main method (so unfortunately does the Java Tutorial) which means you don't see how objects are created and used very much. The more recent editions have fewer of the errors in that EF-H mentioned.
|
 |
Jamess Davis
Greenhorn
Joined: Sep 11, 2008
Posts: 5
|
|
Try this website http://www.javabat.com/ lets you actually do java and corrects you. Pretty good study work
|
James Davis
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
|
thanks
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
i have been finding it difficult to read my java because i have been finding it difficult to download the following http://users.dls.net/~bbello/tools a friend sent that link to me. i was able to run and install the TIJ STUFF but could not run the java tutorial (it says please insert the multi-volume set and click ok to continue) what does this means And the TXPENG520 GIVES( error reading setup initialization file) please, needs urgent response
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
http://users.dls.net/~bbello/tools/txpeng520.exe (This program cannot be run in DOS mode) what can i do to run it
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
|
Don't know. What is it? Most of us have never heard if it.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
|
It looks like it's TextPad 5.20, the English version. Or actually its installer. You need Windows for it.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
|
Thank you, Rob. I have heard of TextPad. What would you use if you are still using DOS?
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
yep,it's textpad, i was asked to installed it and the jdk so i can be able to write and run programs or can i still keep using my notepad, i used it to write my "HelloWorldApp" that is my first application and it was ok.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
You can use Notepad perfectly. TextPad only has the advantage of syntax highlighting, automatic indentation and support for compiling with just a keypress. You could try Notepad++ (which is free, unlike TextPad) instead of Notepad for those benefits, but it's not necessary. Campbell: for DOS I'd use EDIT
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
Originally posted by Rob Prime: You could try Notepad++
Agree about that, Rob. Notepad++ is a lovely application. If you compare NotePad++ and NotePad (which despite their similar names are unrelated to each other) you will never want to use plain NotePad again. There's also a thing called Notepad2 which I think is closely related to Notepad++. Or you could try EDIT on DOS, as Rob suggests.
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
oh thanks, Is Notepad++ and notepad2 not the same? i used notepad2 for my HelloWorldApp. i have been a member of javaranch forum since 2006 and that was because i wanted to have a knowledge of java but ever since i registered, i had never been utilising this forum until nowwwwwwwwwww. you guys in this forum are doing a great job, well done to everybody, you are really making my java class very interesting
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
|
You're welcome. Notepad2 and Notepad++ both use the same underlying logic (as far as I remember); they are both very nice for programming.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
Originally posted by Campbell Ritchie: Or you could try EDIT on DOS, as Rob suggests.
But only if your environment does not allow any window based editors. EDIT is about as basic as possible. It doesn't even support word wrap!
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
Plug-in 1.6.0_07 Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\FELICIA ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> i guess, i sucessfully downloaded JDK. (java Console) does it really looks like this. Does that mean i can run java program sucessfully with this. What did the aplhabet represents?
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
The alphabet represent the various options with whichever application you are using at present. You may have to use -c rather than c. Yes, you should be able to run a Java application from that command-line; you navigate to the folder where your simple .java file lives, then say javac MyFile.java then java MyFile Try it with a HelloWorld. But it won't work when you get round to GUIs; I don't think they will work on a text-only computer. [ October 11, 2008: Message edited by: Campbell Ritchie ]
|
 |
Harshit Rastogi
Ranch Hand
Joined: Apr 15, 2008
Posts: 131
|
|
|
you can check this link also , a very thorough explanation giveen for each concept in javaJava Concepts
|
<a href="http://technologiquepanorama.wordpress.com" target="_blank" rel="nofollow">My Techie Blog</a><br /><a href="http://www.java-questions.com" target="_blank" rel="nofollow">Java Questions</a>
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
while trying to run my "HelloWorldApp", thsi is the result i got C:\java>java HelloWorldApp Exception in thread"main" java.lang.NoClassDefFoundError:HelloWorldApp used by:java.lang.ClassNotFoundException:HelloWorldApp at java.net.URLClassLoader$1.run(Unknown Source) 'javac' is not recognized as an internal or external command, operable program or batch file. please, what can i do to run my first application successfully? or is it the JAVA CONSOLE that i have on my OP. How do i know if i've downloaded the jdk version or JRE? quick response, please
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
To the Java Tutorials! That "common problems" page tells you what to do if you get an error that "javac is not recognized . . ." When you get to the bit about setting PATH permanently, ignore the bits about "optional" and set your PATH permanently, at least until you download a new version of Java. The NoClassDefFoundError means that the "java.exe" program has started running and not found a .class file. You usually get those two errors in the reverse order from what you reported. You will hear about updating your CLASSPATH; that is not necessary at this stage.
|
 |
Jacob Steingart
Ranch Hand
Joined: Mar 28, 2008
Posts: 63
|
|
In terms of a text editor, try jGrasp (www.jgrasp.org). It gives you the benefits of having a compile button (love that thing!), but it also gives you the benefits of using a text editor, i.e. you learn the language, not your IDE. I started off with jGrasp, and I still use it. Awesome program. P.S. It is Java based, thus platform independent. Also ridiculously easy to set up, and lightweight. Good Java-ing! For tutorials, I love Head First Java, and still keep it with me whenever I write code . [ October 12, 2008: Message edited by: Jacob Steingart ]
|
I never know what to put in my signature...
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
When you get to the bit about setting PATH permanently, ignore the bits about "optional" and set your PATH permanently, at least until you download a new version of Java. The NoClassDefFoundError means that the "java.exe" program has started running and not found a .class file. You usually get those two errors in the reverse order from what you reported. You will hear about updating your CLASSPATH; that is not necessary at this stage.
i read it and understood it but am having problem changing anything or adding in my systen-advance-environment variables. just discoved that when i was trying to type the path. some months ago, i changed my hard disk because the former one was corrupted with spyware and i think, the hard disk i got has user/adminstrator someting that can't make me do any change in control panel.especially in the SYSTEM. please, fellow javaites, what step can i take. i want to start java at the foundation so i won't miss out or do you advise i continue reading the theory for now rather than wasting time on writing my first application?
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
|
am really enjoying my java
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
Well done and we are pleased to be able to help. Sorry nobody answered your last question; you ought to read the theory, discuss it with people more experiences (maybe here) and run tiny applications, all three from the beginning.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12952
|
|
The java console is only a window presented by the Java plug-in in your browser, for displaying log messages from applets that run in your browser. You do not normally use the java console for compiling or running Java programs. Just use the Windows command prompt.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
|
thanks guy
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
|
thanks guy
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\FELICIA>cd C:\java C:\java>dir Volume in drive C has no label. Volume Serial Number is E440-A14D Directory of C:\java 11/02/2008 07:13 PM <DIR> . 11/02/2008 07:13 PM <DIR> .. 10/12/2008 02:48 AM 271 HelloWorldApp.java 1 File(s) 271 bytes 2 Dir(s) 13,404,250,112 bytes free C:\java>C:\Program Files\java 'C:\Program' is not recognized as an internal or external command, operable program or batch file. C:\java>C:\Program Files\java\jre 1.6.0_0.7\bin\javaw.exe 'C:\Program' is not recognized as an internal or external command, operable program or batch file. C:\java>cd C:\Program files\java\jre 1.6.0_07\bin\javaw.exe The system cannot find the path specified. C:\java> please, what can i do again. i changed my path to C:\program files\java\jre 1.6.0_07\bin\javaw.exe but still, can't get it right what should i do???
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16812
|
|
why are you posting the same stuff, so many times? Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
felicia adedotun
Greenhorn
Joined: Oct 31, 2006
Posts: 21
|
|
because i want to keep that topic until am through with my first application. or Is there any problem with that???/ if i don't understand and i really wants to learn, then i think i should ask question.
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16812
|
|
First of all, "java" is a directory, so it can't be executed. Second of all, Windows parse around spaces, so if you have spaces in your directory, you should quote it. See next point. Again, Windows parse around spaces, so if you have spaces in your directory, you should quote it, like so... C:\java>"C:\Program Files"\java\jre 1.6.0_0.7\bin\javaw.exe Same issue... C:\java>cd "C:\Program files"\java\jre 1.6.0_07\bin Also note that javaw.exe is not a directory. The cd command require a directory as the target.
please, what can i do again. i changed my path to C:\program files\java\jre 1.6.0_07\bin\javaw.exe but still, can't get it right
Same two issues... You need to quote around spaces. And javaw.exe is not a directory so shouldn't be part of the path. Henry [ November 07, 2008: Message edited by: Henry Wong ]
|
 |
 |
|
|
subject: newbie needs tutorials on java
|
|
|