login | new user? join now!
Mobile
         
 

Categories

» Java
» Symbian
» iPhone
» Android
» Windows Mobile
» Others
» Blackberry RIM
Bookmark and Share

 

Jdk 7 binary snapshots, jdk7 source snapshots and jdk 7 docs are available for download.

I have downloaded these three things and I have noticed some things that are different from the earlier versions of the jdk.

1.       Size:  size of the windows offline installation of jdk 7 binary file is 56.68 mb and for the size on the disk Java™ 7 takes 115 mb & java™  SE development kit 7 takes 249 mb.

 

2.       New api’s: I have noticed following new api’s that are not present in the earlier version of the jdk.

a.       java.dyn: with the help of this api’s now vm can support the implementation of the non java languages.

 

b.      java.nio.file: I don’t think java.io.File is deprecated in jdk7 but instead of this api we have a new api java.nio.file.Path. we can get path of the file with static function get() .

e.g. Path p = Path.get(“file.txt”);

java.nio.file.attribute and java.nio.file.spi are also included in jdk 7.

Through Attributes class we can find  all attributes of the file like owners, permission, readability,etc.

e.g. BasicFileAttributes bfa = Attributes.readBasicFileAttributes(Path,false);

 

c.       ProcessBuilder.Redirect(Enum & class): Through ProcessBulder we can start a new process instance and manage many more attributes of the process. Due to this new class Redirect many problems are solved related to processbulding redirection.

 

d.      GraphicsDeviceWindowsTranslucency: after introduction of this api in jdk 7 now translucence windows is publically supported by java.

 

e.      Close method for URLClassLoader:  some time we have load class manually with the use of URLClassLoader and after the loading this is the responsibility of the garbage collector to release or resources but this is uncertain we can’t just depend on the garbage collector so for that now we have a method close().

 

 

3.       Road map:  this jdk is not the final release so some more features are expecting in final release of the jdk7;

a.       Garbage collector concept change CMS to new concept G1.

b.      We can write concurrent programs with help of fork/join api’s.

c.       Annotations appear on any use of types.

And many more things so I am just waiting for the final release of jdk 7.

You can also download these files from this link https://jdk7.dev.java.net

Comments:

 By Vadsendab   February 9 2010 8:10 am
 Liveelatt Bf5d
Post Your Comment
Rate this article
Name
Email
Comment