It depends on how many Java 7 features you use.
If your code can still compile on JDK 6, I would say that you are safe. You can run JDK 7 as it is backward compatible, but if there is a problem you can still deploy to 6.
If Oracle does something really stupid, you will have a bigger solution in my hands: will I rewrite this application in C #, Python, or something else?
I will be interested to know how well the open source JDK will allow you to hedge your bet.
I would also be interested to know what features of JDK 7 you are already using: close?
source share