Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java SE8 from Java SE6?

 
Kevin Florish
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cay good luck with the book.

I haven't even looked at java SE7 yet, can I jump from version 6 straight into 8?

Thanks Kevin.
 
Cay Horstmann
author
Ranch Hand
Posts: 172
15
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can certainly jump from Java 6 to Java 8. I expected that there are a good many people who didn't pay much attention to Java 7 when they had no use for "switch with strings" and "binary literals". For that reason, I added a chapter "Java 7 Features that You May Have Missed" to the book.

It covers try-with-resources, working with files in NIO2, and a few miscellaneous changes. (Did you know that +1.0 has always been a valid floating-point number, but until Java 7, +1 was not a valid integer when reading it from a string?)

Cheers,

Cay
 
Kevin Florish
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cay Horstmann wrote:(Did you know that +1.0 has always been a valid floating-point number, but until Java 7, +1 was not a valid integer when reading it from a string?)


I was unaware of this Cay and thanks for the reply, it's good to know I haven't missed too much in java SE7
 
Joe Don
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guy, can SE 8 automatically override SE 7 during installation? I'm using windows 8. Again, what's the major difference between SE 7 and 8? Thanks
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15715
73
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe Don wrote:Hi guy, can SE 8 automatically override SE 7 during installation?

As far as I know, when you install a major new version of Java, it will not automatically overwrite the older version, it will just install into another directory. It's possible to have multiple versions of Java installed. If you just want Java 8 and not Java 7, then uninstall Java 7 first.

Joe Don wrote:I'm using windows 8. Again, what's the major difference between SE 7 and 8? Thanks

See What's New in JDK 8 from Oracle's Java SE 8 documentation.
 
Campbell Ritchie
Marshal
Posts: 52621
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have many different versions of Java® and change them quickly by resetting your PATH, possibly with the set PATH instruction. I recommend you try that.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have many different versions of Java

Depends on the OS. On Windows, yes. On OS X, no. (Just saying, before anyone takes it out of the context of this thread.)
 
Campbell Ritchie
Marshal
Posts: 52621
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can on Linux, too.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!