background preloader

Archive: Java[tm] Technology Products Download

Archive: Java[tm] Technology Products Download
The Oracle Java Archive offers self-service download access to some of our historical Java releases. WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. Only developers and Enterprise administrators should download these releases. Downloading these releases requires an oracle.com account. For current Java releases, please consult the Oracle Software Download page. Current update releases for JDK 6 and JDK 7 are available for support customers. For more information on the transition of products from the legacy Sun download system to the Oracle Technology Network, visit the SDLC Decommission page announcement. Java SE Java SE 8 Java SE 7 Java SE 6 Java SE 5 Java SE 1.4 Java SE 1.3 Java SE 1.2 Java SE 1.1 JRockit Family Java SE Tutorials JDK 1.3 Documentation JDK 1.4.2 Documentation JVM Technologies jvmstat Java EE Java Web Services Developer Pack Related:  Java Dev Tools & tipsJava Sun / Oracle

Tracing and Logging Tracing and Logging includes the following topics: Tracing Tracing is a facility to redirect any output in the Java Console to a trace file. Java Plug-in Tracing can be turned on by enabling the property javaplugin.trace. 0 — off1 — basic2 — network, cache, and basic3 — security, network and basic4 — extension, security, network and basic5 — LiveConnect, extension, security, network, temp, and basic This enables tracing on the fly. Another way to set fine-grained tracing is through the Java Control Panel. -Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|cache|security|ext|liveconnect|temp Tracing set through the Control Panel will take effect when the Plug-in is launched, but changes made through the Control Panel while a Plug-in is running will have no effect until restart. Java Web Start To set the initial trace level for a Java Web Start application set the deployment property deployment.trace.level. basiccachenetsecurityextliveconnect Logging Other Options File Names

Critical Patch Updates and Security Alerts This page lists announcements of security fixes made in Critical Patch Update Advisories and Security Alerts, and it is updated when new Critical Patch Update Advisories and Security Alerts are released. It is possible to receive notification of new announcements by email, as explained in the page linked below. Security fixes in third party products distributed with Oracle products are announced in the Third Party Bulletin, whose purpose and location is explained below. Click here for important information about the OpenSSL Heartbleed vulnerability (CVE-2014-0160) Click here for instructions on how to configure email notifications. Click here to read the Technical White Paper, "Critical Patch Update Implementation Best Practices" This page contains the following sections: Critical Patch Updates Security Alerts Third Party Bulletin Public Vulnerabilities Fixed Policies Reporting Security Vulnerabilities References Critical Patch Updates Security Alerts Third Party Bulletin References

java - Reducing size of JRE Animal Sniffer - Animal Sniffer CLI What is this? This simple command line tool looks at Java class files and determine the format version number. The common use case of this tool is to figure out what is the offending jar file when you see UnsupportedClassVersionError. Usage This tool can accept any number of: Class filesJar filesDirectories When directories are given, they are recursively scanned for class files and jar files. The tool produces output like the following, so use the grep command to filter out the list:

Installer Java 7 sur Ubuntu Java 7 ne sera pas disponible dans les dépôts d'Ubuntu et de Debian. La faute à Oracle qui après avoir racheté Sun (et donc Java), a tout simplement donné fin à la licence DLJ qui permettait aux distribs Linux d'intégrer les produits Sun (Donc Java), à leurs packages. Du coup, la seule version disponible dans les dépôts sera bientôt uniquement OpenJDK 7. Voici donc un petit tuto qui vous expliquera comme installer Java 7 sous Ubuntu (et Debian). Tout d'abord, téléchargez la version de java qui correspond à votre OS. Ouvrez un terminal, et placez vous dans le répertoire où cette archive a été téléchargée et décompressez là : tar -xvf jdk-7-linux-i586.tar.gz Ensuite, on va par précaution vérifier que vous avez bien le répertoire qu'il faut pour la jvm : sudo mkdir -p /usr/lib/jvm/ et on va déplacer tout ce petit monde dans ce répertoire : sudo mv jdk1.7.0/ /usr/lib/jvm/ On va ensuite installer un petit script qui permet de faire la mise à jour au niveau du système. Et voilà !!! [Source]

README -- Java Platform, Standard Edition Development Kit JavaTM Platform, Standard Edition 6 Development Kit Contents Introduction Thank you for downloading this release of the Java TM Platform, Standard Edition Development Kit (JDK TM). The JDK is a development environment for building applications, applets, and components using the Java programming language. The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java TM platform. System Requirements & Installation System requirements, installation instructions and troubleshooting tips are located on the Java Software web site at: JDK 6 Installation Instructions JDK TM Documentation The on-line Java TM Platform, Standard Edition (Java SE) Documentation contains API specifications, feature descriptions, developer guides, reference pages for JDK TM tools and utilities, demos, and links to related information. Release Notes Compatibility Bug Reports and Feedback Contents of the JDK TM db/

The new Java Caching Standard (javax.cache) This post explores the new Java caching standard: javax.cache. How it Fits into the Java Ecosystem This standard is being developed by JSR107, of which the author is co-spec lead. JSR107 has draft status. Adoption Vendors who are either active members of the expert group or have expressed interest in implementing the specification are: Terracotta – EhcacheOracle – CoherenceJBoss – InfinispanIBM – ExtemeScaleSpringSource – GemfireGridGainTMaxGoogle App Engine Java Terracotta will be releasing a module for Ehcache to coincide with the final draft and then updating that if required for the final version. Features From a design point of view, the basic concepts are a CacheManager that holds and controls a collection of Caches. Optional Features Rather than split the specification into a number of editions targeted at different user constituencies such as Java SE and Spring/EE, we have taken a different approach. Firstly, for Java SE style caching there are no dependencies. Getting the Code

How to Install Sun Java on Ubuntu 10.04 LTS Sun Java packages have been dropped from Ubuntu 10.04 LTS from the Multiverse section of Ubuntu archive. Ubuntu team is encouraging users to use OpenJDK instead of Sun JDK/JRE but still if you want to install Sun JDK on your Ubuntu then here is the solution for the same. OpenJDK Appearing – No Sun Java in Synaptic As per the release note of Ubuntu 10.04 LTS, Ubuntu users can have Sun Java by executing the following piece of code on the command line. sudo add-apt-repository "deb lucid partner" sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sudo update-alternatives --config java This will install sun-java6 packages from Canonical Partner Repository. The information is provided in the Ubuntu 10.04 LTS Lucid release note. Sanjeev Mishra is a professional blogger and an Internet Marketing Consultant based in India.

jre精简详细教程(附精简工具) - Bad Boy 最近做个了java的桌面应用程序,可打包发布后才发现要带一个将近100M的jre,使程序显得过于臃肿,当务之急就是去精简jre,现将本人的精简过程写出来,以供大家参考! 思路:jre/lib/rt.jar有很多class,但大多数你的程序用不到,利用批处理命令(下文提到的cutJre.bat)可以得到你的程序所用到的class,! 所用到的工具:(1)360压缩软件(ps:往压缩文件里复制文件特别方便) (2)jre精简软件 本人已将上述两款软件压缩,以供大家下载: 闲话少说,咱们赶快开始。 1, 咱们建一个新文件夹,这里我取名cutJre,将下载的精简工具解压到cutJre中,当然360压缩软件要安装,再将jdk中的jre文件夹复制到cutJre中,再将你的java导出jar文件和打包过的exe文件复制到cutJre中,我这里的示例程序是analysis.jar和analysis.exe,此时cutJre文件夹应包含以下内容: Ps:一定要齐全,因为cutJRE.exe是本人用java所写,它的运行要也要基于jre! 1, 准备工作已经做好,这里所说的精简就是去精简jre/lib文件夹中的rt.jar,因为它最大,有大约46M。 2, 点击“生成精简版JRE”,时间可能会有点长,点击后,请稍等片刻,你可以干干其他事,正常的话,会出现下图: 精简完后cutJre文件夹中会多出几个文件夹,一般情况下是sun,java,javax,com这几个文件夹,在cutJre中新建一个文件夹,我这里是cutJre1,然后把jre和你的exe可执行文件,cutJre.bat,你的jar复制到cutJre1中,此时结构如下: 为了方便起见我们把rt.jar复制出来,单独对它进行操作后,再去替换cutJre/cutJre1/jre/lib/rt.jar,如果你对cutJre/cutJre1/jre/lib/rt.jar直接去操作的话,会提示你此文件正在使用,无法操作 然后用360压缩打开单独复制出来的rt.jar,去替换相应的文件夹如下图: 完成以后,用精简版的rt.jar去替换cutJre/cutJre1/jre/lib/rt.jar 待到cutJre不再报错时,可Exe可执行文件还是打不开,总提示 e

Best Java IDE to do more high-quality code in less time Java 8 & Java EE 7 Support Straightforward User Interface Editor New Features New Tools for Android Developers Refined Gradle Integration New Tools for Database Access IntelliJ IDEA 13.1, the Java IDE with the fastest-growing mindshare, includes support for Java 8 and Java EE 7, new tools for Android development, the editor enhancements, and refined Gradle integration. IntelliJ IDEA 13 adopts Java 8 and Java EE 7, the latest versions of Oracle's Java language and enterprise platform, along with support for new versions of enterprise application servers. The new editor comes with Sublime Text style multiple selections and also introduces Postfix code completion, a new kind of completion for Java which extends your productivity even more. IntelliJ IDEA 13.1, the Java IDE with the fastest-growing mindshare, includes enhanced support for Java EE 7, better Spring support, new tools for Android development and refined Gradle integration.

java - How to open jar file using open JDK? よしいずの雑記帳 MinGWでWindowsプログラミングを行う方法 C言語+Win32 APIでWindowsプログラムを書き、MinGWでコンパイルする手順。 今回の内容のポイントは、以下の3点です。 ヘッダファイル「windows.h」をインクルードするエントリポイントは、main関数ではなく「WinMain関数」であるgccコマンドによるコンパイル&リンク時に「-mwindowsオプション」を付加する Windows XP上での作業を前提としています。 → Windows XPにおけるC言語およびC++のセットアップ作業のメモ サンプルプログラムとコンパイル方法 以下のようなプログラムを作成し、「sample.c」という名前で保存したとします。 #include <windows.h> #include <tchar.h> int WINAPI WinMain( HINSTANCE hCurInst, HINSTANCE hPrevInst, LPSTR lpsCmdLine, int nCmdShow) { MessageBox( NULL, _T("Hello, Windows!") これをコンパイルするには、コマンドラインにおいて、cdコマンドでソースファイルのあるディレクトリ(=フォルダ)に移動したのち、gccコマンドを-mwindowsオプション付きで実行します: > gcc sample.c -o sample -mwindows そうすると、実行形式のファイル「sample.exe」ができあがります(厳密に言うと、gccコマンドはコンパイルのあとリンクも行います)。 できあがった「sample.exe」をコマンドライン上で実行すると、メッセージボックスが表示されます: > sample (メッセージボックスが現れる) あるいは、sample.exeを直接ダブルクリックして実行することもできます。 なお、-mwindows オプションをつけなくてもコンパイルは可能ですが、できあがったGUIアプリケーションをダブルクリックで実行するとウィンドウの背後にコマンドプロンプトが表示される状態になります。 Windowsプログラムの雛形 以下は、ウィンドウを表示するプログラムの雛形です。 コンパイルおよび実行方法は上記のとおりですが、-mwindowsオプションをつけずにgccコマンドを実行すると、以下のようなエラーメッセージが表示されます: 関連記事

Related: