# Intro to Java book for scientific computing?

1. Oct 3, 2014

### \Theta

Hey everybody,

I need to learn Java for a course I'm taking in the spring(my C++ course fulfills the prereq for our java intro to data structures course) and I need to get a working knowledge of java. I've been reading the book for the class I'm not taking, but it's essentially built around a program that makes it easier for professors to grade(rather than Eclipse), and I was wondering if there was a book out there that would give me a solid foundation that I could use with eclipse to teach myself. Mostly I'm worried about the underlying concepts for the next course- it's harder to grasp them when the examples and exercises aren't in a program you're using.

Thanks!

2. Oct 8, 2014

### Greg Bernhardt

Thanks for the post! Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?

3. Oct 8, 2014

### \Theta

Right now I'm reading Kernighan and Ritchie's The C Programming Language. Is there a java equivalent that I can find at the library? I just need a java book that teaches you how to program(mainly with examples aimed at science/engineering) but lets you decide which compiler/environment to use.

Last edited: Oct 8, 2014
4. Oct 11, 2014

### td21

Hi,
I recommend:
Big Java Late Objects
https://www.amazon.com/Big-Java-Late-Objects-Horstmann/dp/1118087887
, which can teach you how to program but lets you decide which compiler/environment to use.

Advantage: Clear, broad, and good for self-learning. You can read later chapters if you have C background.
Disadvantage: Not many examples on science/engineering but they do exist. I forgot how many though.

Best regards,
td21

Last edited by a moderator: May 7, 2017
5. Oct 11, 2014

### Dr Transport

Last edited by a moderator: May 7, 2017
6. Oct 12, 2014

### vanhees71

Why the heck would you choose Java as a programming language for scientific computing? Rather learn C or $\mathrm{C}^{++}$. For analytic calculations a computer algebra system like Mathematica is good. For not too time-consuming numerics, Mathematica is even a good choice for that. But Java? I don't get it!