jdk中包含多少包?1.7新增了包吗?

jdk中包含多少包?1.7新增了包吗?
谢谢

5个回答

可以参考这里,这篇博客文章简直是为楼主而写的: [url]http://kenwublog.com/jdk7-new-utility-methods[/url]

包可多了啊,没有具体数过。
jdk7有很多新特性,oracle关网有介绍。javaone大会也有介绍

新增了apache commons包。

[url]http://hi.baidu.com/1103021011/blog/item/a8cc0dc14c00c75fb219a85d.html[/url]

:D
[code="java"]/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/resources.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jce.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/charsets.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rhino.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/pulse-java.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/sunpkcs11.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/localedata.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/gnome-java-bridge.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/dnsns.jar
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/sunjce_provider.jar[/code]
http://download.java.net/jdk7/docs/
[quote]
What's New in Java SE Documentation
Java SE documentation is regularly updated to provide developers with in-depth information about new features in the Java platform. Some recent updates include:

NIO 2.0
The java.nio.file package and its related package, java.nio.file.attribute, provide comprehensive support for file I/O and for accessing the file system.

See File I/O (featuring NIO 2.0) in the Java Tutorials.

Sockets Direct Protocol
Sockets Direct Protocol (SDP) is a wire protocol developed to support stream connections over InfiniBand fabric.

For more information, see Understanding the Sockets Direct Protocol a trail in the Java Tutorials.

Java Rich Internet Applications Development and Deployment
Rich Internet Applications can be developed and deployed as applets or Java Web Start applications. The next generation Java Plug-in introduced in Java SE 6 update 10 provides powerful capabilities to applets.

Language Enhancements
Java SE 7 introduces the following language enhancements:

Binary Literals
Underscores in Numeric Literals
Strings in switch Statements
Type Inference for Generic Instance Creation
Improved Compiler Warnings and Errors When Using Non-Reifiable Formal Parameters with Varargs Methods
The try-with-resources Statement
Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking[/quote]

官网的这个应该是列得最详细的了,呵呵

http://openjdk.java.net/projects/jdk7/features/

这个是更新变化日志

http://cr.openjdk.java.net/jdk7/m12/changes/

:D :D :D

[quote]Summary

Features are listed in order, more or less, from lowest to highest in the overall JDK software stack.

vm JSR 292: Support for dynamically-typed languages (InvokeDynamic)
Strict class-file checking [NEW]
lang JSR 334: Small language enhancements (Project Coin)
core Upgrade class-loader architecture
Method to close a URLClassLoader
Concurrency and collections updates (jsr166y)
i18n Unicode 6.0
Locale enhancement
Separate user locale and user-interface locale
ionet JSR 203: More new I/O APIs for the Java platform (NIO.2)
NIO.2 filesystem provider for zip/jar archives
SCTP (Stream Control Transmission Protocol)
SDP (Sockets Direct Protocol)
Use the Windows Vista IPv6 stack
TLS 1.2
sec Elliptic-curve cryptography (ECC)
jdbc JDBC 4.1
client XRender pipeline for Java 2D
Create new platform APIs for 6u10 graphics features
Nimbus look-and-feel for Swing
Swing JLayer component
web Update the XML stack
mgmt Enhanced JMX Agent and MBeans [NEW]
This list contains some [NEW] features which were not part of the previous JDK 7 plan but have been added because we expect them to have high value for developers and users and because they are either finished, or nearly so.

Features that were once planned for JDK 7 but later deferred to JDK 8 or a later release are listed at the bottom of this page.

VM
JSR 292: Support for dynamically-typed languages (InvokeDynamic)
VM and language extensions to support the implementation of dynamically-typed languages at performance levels near to that of the Java language itself
Lead: John Rose
Links: JSR 292; project page; wiki page; mailing list
Milestone target: M3
Strict class-file checking [NEW]
Per the Java SE 6 specification, class files of version 51 (SE 7) or later must be verified with the typechecking verifier introduced by JSR 202 in Java SE 6; the VM must not fail over to the old inferencing verifier
Lead: Karen Kinnear
Milestone target: M9
Language
JSR 334: Small language enhancements (Project Coin)
A set of small language changes intended to simplify common, day-to-day programming tasks: Strings in switch statements, automatic resource management, improved type inference for generic instance creation ("diamond"), simplified varargs method invocation, better integral literals, and improved exception handling (multi-catch)
Lead: Joe Darcy
Links: project page; mailing list
Milestone target: M11
Core
Upgrade class-loader architecture
Modifications to the ClassLoader API and implementation to avoid deadlocks in non-hierarchical class-loader topologies
Lead: Karen Kinnear
Links: summary
Milestone target: M3
Method to close a URLClassLoader
A method that frees the underlying resources, such as open files, held by a URLClassLoader
Lead: Michael McMahon
Links: summary; api
Milestone target: M2
Concurrency and collections updates (jsr166y)
A lightweight fork/join framework, flexible and reusable synchronization barriers, transfer queues, a concurrent-reference HashMap, and thread-local pseudo-random number generators
Lead: Doug Lea
Links: overview; api; wiki
Milestone target: M5
Internationalization
Unicode 6.0
Upgrade the supported version of Unicode to 6.0
Lead: Yuka Kamiya
Milestone target: M11
Locale enhancement
Upgrade the java.util.Locale class to support IETF BCP 47 and UTR 35 (CLDR/LDML)
Links: overview
Milestone target: M11
Separate user locale and user-interface locale
Upgrade the handling of locales to separate formatting locales from user-interface language locales, as is done on Vista and later versions of Windows
Milestone target: M11
I/O and Networking
JSR 203: More new I/O APIs for the Java platform (NIO.2)
New APIs for filesystem access, scalable asynchronous I/O operations, socket-channel binding and configuration, and multicast datagrams
Lead: Alan Bateman
Links: JSR 203; project page; interview; talk video; java.net article
Milestone target: M2
NIO.2 filesystem provider for zip/jar archives
A fully-functional and supported NIO.2 filesystem provider for zip and jar files
Lead: Alan Bateman
Milestone target: M11
SCTP (Stream Control Transmission Protocol)
An implementation-specific API for the Stream Control Transmission Protocol on Solaris
Lead: Chris Hegarty
Links: project page; mailing list
Milestone target: M3
SDP (Sockets Direct Protocol)
Implementation-specific support for reliable, high-performance network streams over Infiniband connections on Solaris and Linux
Lead: Alan Bateman
Milestone target: M3
Use the Windows Vista IPv6 stack
Upgrade the networking code to use the Windows Vista IPv6 stack, when available, in preference to the legacy Windows stack
Lead: Michael McMahon
Milestone target: M1
TLS 1.2
Add support for TLS 1.2, which was standardized in 2008 as RFC 5246
Lead: Brad Wetmore
Milestone target: M11
Security & Cryptography
Elliptic-curve cryptography (ECC)
A portable implementation of the standard Elliptic Curve Cryptographic (ECC) algorithms, so that all Java applications can use ECC out-of-the-box
Lead: Vincent Ryan
Milestone target: M5
JDBC
JDBC 4.1
Upgrade to JDBC 4.1 and Rowset 1.1
Lead: Lance Andersen
Milestone target: M11
Client
XRender pipeline for Java 2D
A new Java2D graphics pipeline based upon the X11 XRender extension, which provides access to much of the functionality of modern GPUs
Lead: Clemens Eisserer; team: Dmitri Trembovetski
Milestone target: M9
Create new platform APIs for 6u10 graphics features
Create new platform APIs for features originally implemented in the 6u10 release: Translucent and shaped windows, heavyweight/lightweight mixing, and the improved AWT security warning
Lead: Anthony Petrov
Milestone target: M3
Nimbus look-and-feel for Swing
A next-generation cross-platform look-and-feel for Swing
Lead: Jasper Potts; team: Richard Bair, Peter Zhelezniakov
Links: project page
Milestone target: M3
Swing JLayer component
Add the SwingLabs JXLayer component decorator to the platform
Lead: Alexander Potochkin
Links: JXLayer project
Milestone target: M5
Web
Update the XML stack
Upgrade the JAXP, JAXB, and JAX-WS APIs to the most recent stable versions
Lead: Joe Wang
Milestone target: M12
Management
Enhanced JMX Agent and MBeans [NEW]
An implementation-specific enhanced JMX management agent, ported from JRockit, which makes it easier to connect to the platform MBean server through firewalls, together with a richer set of MBeans which expose additional information about the internal operation of the VM
Lead: Fredrik Öhrström
Milestone target: M12
Deferred to JDK 8 or later
JSR 294: Language and VM support for modular programming
Enhancements to the Java language and virtual-machine specifications to support modular programming, at both compile time and run time
Lead: Alex Buckley
Links: JSR 294; mailing list
JSR 308: Annotations on Java types
An extension to the Java annotation syntax to permit annotations on any occurrence of a type
Lead: Michael Ernst; team: Jonathan Gibbons
Links: JSR 308; project page; detailed project page
JSR TBD: Language support for collections
Literal expressions for immutable lists, sets, and maps, and indexing-access syntax for lists and maps
Lead: Joe Darcy
Links: project page; mailing list
JSR TBD: Project Lambda
Lambda expressions (informally, "closures") and defender methods for the Java programming language
Lead: Brian Goetz; team: Alex Buckley, Jonathan Gibbons, Mark Reinhold
Links: project page; mailing list
Modularization (Project Jigsaw)
A simple, low-level module system focused upon the goal of modularizing the JDK, and the application of that system to the JDK itself
Lead: Mark Reinhold; team: Alex Buckley, Jonathan Gibbons
Links: introduction; project page; mailing list
JSR 296: Swing application framework
An API to define the basic structure of a typical Swing application, thereby eliminating lots of boilerplate code and providing a much-improved initial developer experience
Lead: Alexander Potochkin
Links: JSR 296
Swing JDatePicker component
Add the SwingLabs JXDatePicker component to the platform
Lead: Alexander Potochkin
Links: JXDatePicker api
[/quote]

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐