PDA

View Full Version : Java on Linux



Drenriza
June 4th, 2012, 07:55 AM
Hey guys.

I'am intersted in learning more about how to program Java for Linux. And was wondering if their are any good books out their to

#1 learn more about Java and the OOP structure.
#2 Learn more about Java on Linux. Tips and tricks plus what to be aware of.

Thanks on advance.

mehaga
June 4th, 2012, 08:30 AM
Hey guys.

I'am intersted in learning more about how to program Java for Linux. And was wondering if their are any good books out their to

#1 learn more about Java and the OOP structure.
#2 Learn more about Java on Linux. Tips and tricks plus what to be aware of.

Thanks on advance.

#1 http://www.amazon.com/Head-First-Java-2nd-Edition/dp/0596009208/ref=sr_1_2?ie=UTF8&qid=1338794955&sr=8-2

#2 There's little special about Linux when it comes to Java, Java is pretty much the same on every OS it runs on.

11jmb
June 4th, 2012, 12:49 PM
You really don't have to buy a book to start out.

You can get started with information on this page:
http://docs.oracle.com/javase/tutorial/index.html

I'm partial to certain books (particularly K&R and the O'Reilly pocket references), because I do like having something to thumb through for a quick reference, but if I need to learn something completely new, the first thing I look for is what information can be found for free on the internet (legally, of course :P)

pcman312
June 4th, 2012, 08:03 PM
I agree with both mehaga and 11jmb. I have the head first book and it's an excellent beginners book. Easy to read and easy to understand. There are also tons of tutorials and examples of java online. Google is a great resource here. As for java on linux, there aren't any differences that a programmer new to java will need to know. There are a few small implementation differences that can impact certain types of code, but for what it sounds like you want to do, you don't have to worry about it at all. Java is designed to be cross-platform without any changes in code.

I also find this site to be helpful when looking for more specific examples of code: http://www.java2s.com/Tutorial/Java/CatalogJava.htm

Damascushead
June 8th, 2012, 03:11 PM
I have used the book 'Objects First' which comes with the BlueJ IDE which is good for getting familiar with OOP. The example programs are great for learning the diverse capabilities of java.

:p

Drenriza
June 12th, 2012, 10:16 AM
The book

http://www.amazon.com/Head-First-Java-2nd-Edition/dp/0596009208/ref=sr_1_2?ie=UTF8&qid=1339492505&sr=8-2&keywords=java

isin't that outdated when it's from 2005?

KdotJ
June 12th, 2012, 11:32 AM
The book

http://www.amazon.com/Head-First-Java-2nd-Edition/dp/0596009208/ref=sr_1_2?ie=UTF8&qid=1339492505&sr=8-2&keywords=java

isin't that outdated when it's from 2005?

Probably a bit, as of course Java 7 is now out obviously. However, the OP said that they "want to learn more about Java and the OOP structure"... so any Java based book should be okay.

I say have a good look on the web, there is a load of good material!

Majorix
June 12th, 2012, 04:02 PM
"Java on Linux" is not much different than "Java on Windows" or "Java on X" if at all. Java is machine and platform independent.

I would suggest "Java: How to Program" if you are new to programming. Heck, it would even help you if you know another language. Definitely check it.

Drenriza
July 6th, 2012, 09:00 AM
Hey guys.

I have stumbled upon this book
Harnessing Java 7
http://www.amazon.co.uk/Harnessing-Java-MR-Kishori-Sharan/dp/1466335394/ref=sr_1_6?s=books&ie=UTF8&qid=1341561473&sr=1-6

and was wondering if anyone has read it?

Drenriza
July 6th, 2012, 09:01 AM
"java on linux" is not much different than "java on windows" or "java on x" if at all. Java is machine and platform independent.

I would suggest "java: How to program" if you are new to programming. Heck, it would even help you if you know another language. Definitely check it.

c# ,)?