• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Who uses Java 7?

 
Ben Becker
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to get a general overview who actually uses J7 by now. Which problems did you encounter? If you don't use it (yet) - why not?

Our company is still waiting for one or two more updates, since we experienced serious problems running our applets on J7

I think this is a good place to ask a question like this.

Ben Becker
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi and welcome to the JavaRanch.

This is certainly the place for this kind of question. I use Java 7 for almost everything. I do this to get experience with the new features and haven't run into any problems just yet.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Enterprises may not be quick to make a change, but I am sure over the few months all would transition to Java 7

Though for things apart from work I use Java 7 without even realising I am using it
 
Tim Moores
Bartender
Posts: 2955
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:I am sure over the few months all would transition to Java 7

I doubt that. Businesses are loth to make infrastructure changes without a pressing need. It's not like Java 7 offers a whole lot that makes a tangible difference for server-side computing. And not much that makes a difference even if you start changing the code. Totally making this number up, I think that by the end of 2012, no more than 50% of enterprises will have switched. Keep in mind that Java 6 is still supported and will -for the time being- see further security fixes.
 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be honest, there is only one feature from Java 7 that I have really needed - URLClassLoader's close method. Without it, URLClassLoader locks JAR files longer than is necessary in our environment.
However, because I'm not allowed to upgrade the JRE on the server from 6 to 7 I can't even use that. I ended up writing two class loaders myself - one for JAR files, one for directories. They can't handle JAR file class paths (yet) but that's mostly because we didn't need that (yet).
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:
Mohamed Sanaulla wrote:I am sure over the few months all would transition to Java 7

I doubt that. Businesses are loth to make infrastructure changes without a pressing need. It's not like Java 7 offers a whole lot that makes a tangible difference for server-side computing. And not much that makes a difference even if you start changing the code. Totally making this number up, I think that by the end of 2012, no more than 50% of enterprises will have switched. Keep in mind that Java 6 is still supported and will -for the time being- see further security fixes.

Actually I agree with you.
I should have mentioned "few years" but then I thought it would be too much of a time.
Why I was thinking that enterprises would move is because- even though there arent anything special out there, there aren't any changes which would break the existing Java 6 based applications. So it would be just like any other update for the Java applications.
 
Tim Moores
Bartender
Posts: 2955
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:there aren't any changes which would break the existing Java 6 based applications.

That's the theory, anyway :-)

The important point is that it takes time and effort in testing and deploying. If there is no payback, why bother? The time of an employee is not free for the business in the same way you might consider your own time (that it takes to update your Java installation) to be free.
 
Tim Moores
Bartender
Posts: 2955
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What "testing" link is that in my previous post? I did not put it there, and I don't agree with it. Is there any way to remove it?
 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't. A few words get converted into links automatically. There are double underlined links like in XLS which indicate sponsorships, and dotted underlined links like testing, HashMap or SSCCE that are just very useful links and API links.
 
Tim Moores
Bartender
Posts: 2955
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't say I find it useful, and it looks like I'm endorsing it; it's quite different from the XLS link - rather like the (uncontroversial) HashMap link. That's quite a sneaky way to add links to opinion pieces.
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:Enterprises may not be quick to make a change, but I am sure over the few months all would transition to Java 7


Where I work, we finally managed to switch to Java 6 earlier this year. We don't even have a Java 7 JVM for some of the systems we run Java on, so naturally we won't be converting to Java 7 for a while. Not to mention that the IDE we design in doesn't support Java 7 yet.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It'll be a long time for me. I've got work to do and I generally let others vet the release before using it for production software, which is all that I write.
 
Randall Twede
Ranch Hand
Posts: 4482
3
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i use java7. i also had a problem running an applet but it is because my browsers still use the java6 JRE. for now i just ran it in eclipse to make sure it worked. if i uninstall the java6 JRE maybe everything will be fine. i have no problem compiling or running programs from the command line.
 
Randall Twede
Ranch Hand
Posts: 4482
3
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i realized my post might be a little misleading. i just recently got this laptop so i decided to install the latest version of java. if i already had java6 or even java5 i wouldn't have bothered to upgrade.

by the way, why can i not edit my posts anymore? i had to reply rather than just edit my last post.

now this is flat out weird. i can edit this post but not the previous one.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15495
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since February this year I've been working on a project where we're developing a brand new system, server-side software, without a Java EE container. We're using Java 6. We briefly considered moving to Java 7, but we decided against it because it's an unnecessary risk. Not all the libraries and tools that we use have been thoroughly tested or updated to work with Java 7.

The company I worked for last year had just switched from Java 5 to Java 6.

I don't expect to be using Java 7 for any real commercial project very soon - companies aren't so quick with switching.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm with the "not going to be soon" folks. Enterprise software doesn't go early, they wait for others to get the arrows in the back.

And I've not seen any compelling new features. Its good that old bugs are being fixed, but that is not likely to push adoption.
 
Krishna Srinivasan
Ranch Hand
Posts: 1874
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In enterprise, they can not make the early adoption on upgrading to the latest versions. They have to look on many other applications whether which is compatiable with Java 7 and more over budget. But, many of the product companies will start use the latest versions immediately.
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pat Farrell wrote:And I've not seen any compelling new features. Its good that old bugs are being fixed, but that is not likely to push adoption.

My experience is not very broad, but from what I've seen, end of support is the thing that pushes adoption most.

(I've lived through two database upgrades at a large client of ours. They were both happening at the time they'd have to start paying extra for support of the old version...)
 
Claude Moore
Ranch Hand
Posts: 824
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that we will continue to develop our client applications with JDK 1.6; meanwhile we ask costumer for upgrade their JRE enviroments to Java 7.
 
Piyush Joshi
Ranch Hand
Posts: 207
Eclipse IDE Firefox Browser jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One compelling reason for enterprise applications to move to Java 7 might be its new G1 garbage collector, which seems quite promising for applications with huge memory.

Our current web application is running poorly even on 6 GB heap size, now with Java 7 we are expecting it to perform better. Lets see how it turns out to be....

One more rather trivial observation was in terms of reduction of build times. With JDK 6 it was taking around 3 mins for our application to build, but with JDK 7 it takes around 20 secs :O .
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Piyush Joshi wrote:One more rather trivial observation was in terms of reduction of build times. With JDK 6 it was taking around 3 mins for our application to build, but with JDK 7 it takes around 20 secs :O .


I would not call that trivial. Time spent waiting for the compilation system breaks the flow of the edit/compile/debug cycle. Making it faster is known to improve the productivity of the engineers. Which directly drives cost. Going from ~180 seconds to ~20 is nearly ten to one. That is a huge improvement.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15495
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jesper de Jong wrote:I don't expect to be using Java 7 for any real commercial project very soon - companies aren't so quick with switching.

Well, it goes quicker than I thought. Right now I'm working on a new project, in which we are using Java 7. It's a pilot project (intended to demonstrate that the general idea of what the software is supposed to be doing, is going to work), but if the pilot is successful then we're going to build real production software using Java 7.
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Java 7 on some machines, but it's just because that's what was available to install - I'm not yet using it as "Java 7".

Then again, I never really pulled out all the stops on Java 6.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:Then again, I never really pulled out all the stops on Java 6.


There were stops to pull on Java 6? I remember 5 having generics and better for loops, but I don't remember anything of note in 6. Did I miss anything?
 
Campbell Ritchie
Sheriff
Pie
Posts: 50277
80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SwingWorker?
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:SwingWorker?


I haven't used Swing or AWT this century. All web servers talking to browsers, or specialized servers talking to devices. So anything in the native Java GUI space would completely escape my notice.
 
Mohamed Iqzas
Ranch Hand
Posts: 73
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right from when I started learning JAVA, it was just JAVA 6 that I all heard of. When I'm just bothered about learning more and more features in JAVA 6, people have started pushing for JAVA 7 like in this thread. Are there more to learn for a developer with JAVA 7's new features? Do i have to make a big effort or I'll be learning as I do JAVA As Usual? (thats what I did so far). I just dont want to be left behind. :-) How long do I have to stick around JAVA 6?
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Iqzas wrote:Right from when I started learning JAVA, it was just JAVA 6 that I all heard of. When I'm just bothered about learning more and more features in JAVA 6, people have started pushing for JAVA 7 like in this thread. Are there more to learn for a developer with JAVA 7's new features? Do i have to make a big effort or I'll be learning as I do JAVA As Usual? (thats what I did so far). I just dont want to be left behind. :-) How long do I have to stick around JAVA 6?

Learning java 7 features (language and API changes) should be quite straight forward.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic