CentOS 6でJava 7をインストールすると
# rpm -ivh /tmp/jdk-7u7-linux-x64.rpm
準備中... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/jsse.pack
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/charsets.pack
tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/lib/tools.pack
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_07/jre/lib/ext/localedata.pack
というようなエラーが出る。実際にはrt.jarなど存在すれば無視して良いみたい。というわけで、無視しておく。
カテゴリー: Java
Project Threeten
プロジェクト3時10分なのかとも思えるロゴだけど、JSR 310で提案されているDate and Time APIがOpenJDKに入ろうとしているみたい。っていうか、RIがOpenJDKにまだ入っていないことが意外な感じだけど、現状はSourceForgeでホストされて、コードはgithubにあるみたい。プロジェクトサイトはここ。まぁ、Java 8に入る予定みたいだから、覚えれば良いかね。そんな感じでメモ的な感じ。
JDK 7 Features
Java 8の新機能を追わなきゃなっとか思っていて、Java 7は大したものなさそうだからスルーしようかと思っていたけど、ここを見ると細かいのがいろいろあるな。
- JSR 292: Support for dynamically-typed languages (InvokeDynamic)
- Strict class-file checking
- JSR 334: Small language enhancements (Project Coin)
- Upgrade class-loader architecture
- Method to close a URLClassLoader
- Concurrency and collections updates (jsr166y)
- Unicode 6.0
- Locale enhancement
- Separate user locale and user-interface locale
- 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
- Elliptic-curve cryptography (ECC)
- JDBC 4.1
- XRender pipeline for Java 2D
- Create new platform APIs for 6u10 graphics features
- Nimbus look-and-feel for Swing
- Swing JLayer component
- Gervill sound synthesizer
- Update the XML stack
- Enhanced MBeans
言語仕様に関係するとことか、NIO2あたりとか、一度きちんと見たほうが良いのかも。まぁ、Java 8までは使わなそうな気はするけど。