Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-16-2008, 01:03 PM   #1 (permalink)
Kdar's Avatar
 
Ultra Techie

Join Date: Dec 2005

Posts: 870

Kdar is on a distinguished road

Default Learning Java

I am thinking to start learning Java a bit.

From where do I need to start?

Are there any classes online (on web-sites.. etc) that I can study from?

And what kind of software would I need?
Kdar is offline  
Old 12-16-2008, 04:47 PM   #2 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default Re: Learning Java

The Java™ Tutorials

Quote:
Trails Covering the Basics
These trails are available in book form as The Java Tutorial, Fourth Edition. To buy this book, refer to the box to the right.
Getting Started — An introduction to Java technology and lessons on installing Java development software and using it to create a simple program.
Learning the Java Language — Lessons describing the essential concepts and features of the Java Programming Language.
Essential Java Classes — Lessons on exceptions, basic input/output, concurrency, regular expressions, and the platform environment.
Collections — Lessons on using and extending the Java Collections Framework.
Swing — An introduction to the Swing GUI toolkit, with an overview of features and a visual catalog of components. See below for a more comprehensive tutorial on Swing.
Deployment — How to package applications and applets using JAR files, and deploy them using Java Web Start and Java Plug-in.
Preparation for Java Programming Language Certification — List of available training and tutorial resources.

office politics is offline  
Old 12-16-2008, 05:27 PM   #3 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Learning Java

Quote:
Originally Posted by Kdar View Post
I am thinking to start learning Java a bit.

From where do I need to start?

Are there any classes online (on web-sites.. etc) that I can study from?

And what kind of software would I need?
I use NetBeans - ver 6.5 I think it is. It has a compiler and IDE. Fairly easy to use when I tried the tutorials right there at NetBeans. Plus I have some programming experience so that helps as far as understanding for loops, do whiles, etc.

Welcome to NetBeans

Good luck, and have fun wherever you go for Java !
oldskool is offline  
Old 12-16-2008, 11:39 PM   #4 (permalink)
Kdar's Avatar
 
Ultra Techie

Join Date: Dec 2005

Posts: 870

Kdar is on a distinguished road

Default Re: Learning Java

I did some C++ before. Are they a bit similar? or not really?
Kdar is offline  
Old 12-17-2008, 11:17 PM   #5 (permalink)
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,646

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: Learning Java

I have experimented a bit with Java (using NetBeans for a compiler and IDE btw), and none with C++. So I can't say from experience in comparing the two. However, I have looked over some C++ code (books, online, etc.) and they have some resemblances. Like the braces for nesting statements. And semi-colons for ending statements. I think that Java was derived from C++ if I am not mistaken.
oldskool is offline  
Old 12-18-2008, 12:26 AM   #6 (permalink)
 
Newb Techie

Join Date: Dec 2008

Posts: 13

phpGuy is on a distinguished road

Default Re: Learning Java

Quote:
Originally Posted by Kdar View Post
I am thinking to start learning Java a bit.

From where do I need to start?

Are there any classes online (on web-sites.. etc) that I can study from?

And what kind of software would I need?

Why do you want to learn java? Do you plan to develop applications? I would recommend starting with algorithm design. Also, you mentioned that you had learned C++. If you know how to program in theory the language shouldn't matter. If you know one you know them all. If you get stuck google it. There is sample code for almost anything you would want to do online. Also, there are books that I hate like "Learn Java in 21 Days". This book will help you learn all of the syntax but not actually teach you how to program.

The main software you need is the most recent Java Runtime Environment(JRE) and the most recent Java Development Kit(JDK). I would recommend not using IDEs if you are a beginner because they abstract a lot of the dirty stuff from you which is important to understand as a beginner. When you get more advanced IDEs are helpful to speed up production.

Hope this was helpful.
phpGuy is offline  
Old 12-18-2008, 10:10 AM   #7 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: Learning Java

Quote:
If you know how to program in theory the language shouldn't matter.
Only in theory is that true.
jaeusm is offline  
Old 12-18-2008, 01:44 PM   #8 (permalink)
 
Newb Techie

Join Date: Dec 2008

Posts: 13

phpGuy is on a distinguished road

Default Re: Learning Java

Give me a problem and I will program it for you in any language that has freely available documentation. I don't have a single languages syntax completely memorized because that is a waste of space in my mind. Even if you have language completely memorized if you don't know how it is interacting with the processor and memory then you can't program optimally.

These are just my views, of course.
phpGuy is offline  
Old 12-18-2008, 01:55 PM   #9 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,159

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Learning Java

If you can play volleyball you can surely play rugby right?
I also hate those learn to program in 24hours type books. In fact there is a pretty famous article called Teach Yourself Programming in Ten Years which I would recommend: Teach Yourself Programming in Ten Years
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline  
Old 12-18-2008, 04:11 PM   #10 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: Learning Java

Quote:
I don't have a single languages syntax completely memorized because that is a waste of space in my mind.
I don't know anyone who sets out to memorize programming language syntax. The more hands-on experience you gain with a specific language (repetition) combined with in-depth study of the language and it's supporting framework (if applicable) is what causes the syntax to stick in the mind. I can certainly tell you that my employer would not be thrilled with my productivity (nor would the guys on my team) if I didn't have a deep understanding of the language/framework.

Because I am intimately familiar with the technologies I use (C#, .NET, WPF), I understand many of their limitations. As such, I can account for those shortcomings early on in my design. On the flipside, I also know what works well, and I can exploit that in my designs. Simply reading a few docs on MSDN is not going to give me that information. It takes quite a bit of time (on the order of months and years) to absorb the vast amount of information available in books and everywhere else. Plus, new versions of the technologies, languages, frameworks, and tools are being released regularly.

Quote:
Give me a problem and I will program it for you in any language that has freely available documentation.
That's easy to do. There are many different ways to solve the same problem with a particular language, but which way is the right way? Do other parts of the system constrain me from using the "optimal" approach? Should I use an imperative style? Should I use a functional style? Should I use lambda expressions? Should I use eager or deferred execution? Is the problem I'm solving a special case that should be handled by my language in a non-traditional way? Is my solution easy for other programmers to understand and maintain? Does my solution follow the best practices for my chosen language?

Don't get me wrong, algorithm design is important and learning how to program is more important than learning language syntax. However, as I alluded to in my previous post, nothing is purely black and white in practice.
jaeusm is offline  
 
Closed Thread

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Problem s1nglef1sh Windows Operating Systems and Software 5 10-06-2008 05:10 PM
Need Java help CrazeD Programming Discussions 4 09-29-2008 06:29 PM
Updates for Java eliminate many security holes Trotter Browser & General Internet Questions 1 07-11-2008 09:54 PM
Dangerous Java Flaw Threatens Virtually Everything Osiris Virus - Spyware Protection / Detection 1 07-13-2007 04:44 PM
Java Game Yek Programming Discussions 5 06-16-2007 04:29 AM