這是歷史版本頁面 — 看 Java Runtime Environment (64-bit) 最新版本
程式打不開一直說要裝 Java?JRE 是什麼、裝了能解決嗎
你剛從某個網站下載了一個軟體,雙擊安裝檔卻跳出錯誤視窗,說「需要 Java Runtime Environment」;或者你打開某個老牌網路銀行、公家機關系統,畫面一片空白,只有一行字叫你安裝 Java。你只是想趕快把事情辦完,卻卡在一個聽過名字、但從來不知道它是什麼的東西上。
你直覺的反應是上網搜尋 Java 下載,裝完卻發現問題沒解決,甚至跳出更多看不懂的錯誤訊息。這是因為這類工具不是一般應用程式,它是一個「執行環境」——負責讓用 Java 寫的程式在你的電腦上跑起來。裝錯版本、裝到開發工具、或沒注意系統位元數,都會讓你白忙一場。這篇文章要講清楚的,就是這個執行環境到底解決什麼問題、什麼時候你才真的需要它。
01Java Runtime Environment 到底是做什麼用的?裝了它能幹嘛?
它是一套讓 Java 程式能在你的 Windows 電腦上執行的必備元件,包含 Java 虛擬機(JVM)和一堆程式庫。白話來說,很多軟體、網頁元件、遊戲是用 Java 寫的,你的電腦沒有這套環境,那些程式就跑不起來。裝了之後,這些應用程式才能正常開啟,例如線上遊戲、3D 圖片檢視、某些企業內部系統。
02我怎麼知道電腦裡有沒有裝這套軟體?
打開命令提示字元(cmd),輸入 `java -version` 後按 Enter。如果有安裝,畫面上會顯示 Java 的版本資訊;如果顯示「不是內部或外部命令」之類的訊息,就代表沒裝。另外,也可以到 Windows 的「控制台 → 程式和功能」裡找有沒有 Java 相關的項目。
03這套軟體和 Java Development Kit(JDK)有什麼不同?
JRE 是拿來「執行」Java 程式的,JDK 是拿來「開發」Java 程式的。JDK 裡面包含了 JRE,但另外還有編譯器、除錯器等開發工具。如果你只是要跑別人寫好的 Java 軟體,裝 JRE 就夠了;如果你要自己寫 Java 程式,才需要裝 JDK。裝錯的話,只是佔用硬碟空間,不會造成系統問題。
04裝了這套軟體之後,還需要做什麼設定嗎?
一般情況下不需要。安裝完成後,Java 程式就能直接執行。不過,有些瀏覽器基於安全考量,預設會擋掉 Java 外掛,如果你需要透過瀏覽器使用 Java 應用程式(例如某些舊的網路銀行系統),可能要在瀏覽器的外掛管理或 Java 控制面板裡調整安全性設定,允許執行。
05這套軟體可以同時裝好幾個版本嗎?
可以。官方說明指出,你可以在同一台電腦上安裝多個版本的 JRE。不過,官方也建議只保留最新版本,因為舊版本可能含有未修補的安全性漏洞。如果你不確定某個舊版是不是還有程式在用,可以先保留,等確認沒問題後再移除。
06我只是想玩個遊戲或開個文書軟體,為什麼還要裝這個?
因為那個遊戲或軟體是用 Java 寫的。Java 的設計理念是「一次編寫,到處執行」,所以很多跨平台的應用程式會用它開發。開發者把程式包裝好之後,使用者的電腦必須有 JRE 才能把程式跑起來。這不是你的問題,而是軟體本身的技術需求。
07我的電腦是 64 位元的 Windows,該裝哪一個版本?
這套軟體名稱就標明是 64-bit,支援 Windows 7 到 Windows 11 的 64 位元系統。安裝前可以先確認你的 Windows 是 64 位元還是 32 位元(在「設定 → 系統 → 關於」裡可以查到)。如果你的系統是 32 位元,這套 64 位元版本就無法安裝,需要另外找 32 位元的版本。
08這套軟體的介面是英文的,我看不懂怎麼辦?
這套軟體的介面語系是英文,安裝過程和 Java 控制面板都是英文介面。不過,安裝完成後,你平常使用 Java 程式時並不會看到它的介面——它是在背景運作的。只有當你需要調整 Java 的安全性設定或更新時,才會需要面對英文介面。如果完全無法理解,可以找線上翻譯或請熟人協助。
09我裝了這套軟體之後,電腦變慢或出現安全警告,是正常的嗎?
Java 本身具備安全模型,包含沙箱(sandbox)、程式碼簽章和權限控管,目的是讓 Java 程式在受控的環境中執行。但因為 Java 曾多次被發現安全漏洞,所以有些防毒軟體或瀏覽器會對 Java 外掛發出警告。建議你只從官方網站下載,並保持軟體更新,以降低風險。
10我是一個程式設計師,裝這套軟體夠用嗎?
不夠。JRE 只能執行 Java 程式,不能編寫和編譯程式碼。如果你要開發 Java 應用程式,需要的是 JDK(Java Development Kit),它包含了編譯器(javac)和除錯工具。官方說明也明確指出,JDK 是用來開發的,JRE 是用來執行的。如果你只是要跑別人寫好的工具,JRE 就夠了。
11這套軟體一直叫我更新,不更新會怎樣?
官方建議定期更新,因為更新通常包含錯誤修正、安全性修補和效能改善。如果你不更新,舊版本可能無法執行某些新開發的 Java 程式,也可能暴露在已知的安全風險中。不過,更新與否最終取決於你使用的程式是否需要新版本——如果現有程式都跑得好好的,短期內不更新不會立刻出問題。
12有沒有其他軟體可以取代這套軟體?
如果你要執行 Java 程式,JRE 是必要的,沒有其他軟體可以完全取代它。資料中列出的相近軟體,例如 .NET Framework,是微軟開發的執行環境,用途不同,無法互相替代。如果你是要開發 Java 程式,可以考慮 NetBeans IDE 或 JDK,但這些是開發工具,不是執行環境。
下載與官方連結
前往官方網站 下載 Java Runtime Environment (64-bit)
jre-8-windows-x64.exe · 32.54 MB · 連結指向軟體原廠
版本紀錄
- 2026-10-21 Java JRE 8 Update 511 (64-bit) 75.31 MB
- 2026-08-19 Java JRE 8 Update 503 (64-bit) 69.02 MB
- 2026-07-22 Java JRE 8 Update 501 (64-bit) 69.02 MB
再看 5 筆
- 2026-04-22 Java JRE 8 Update 491 (64-bit) 69 MB
- 2026-01-21 Java JRE 8 Update 481 (64-bit) 38.5 MB
- 2025-10-22 Java JRE 8 Update 471 (64-bit) 38.48 MB
- 2025-07-16 Java JRE 8 Update 461 (64-bit) 38.48 MB
- 2025-04-16 Java JRE 8 Update 451 (64-bit) 38.41 MB
這一版改了什麼
What's new in this version:
Java Programming Language:
- Lambda Expressions, a new language feature, has been introduced in this release. They enable you to treat functionality as a method argument, or code as data. Lambda expressions let you express instances of single-method interfaces (referred to as functional interfaces) more compactly.
- Method references provide easy-to-read lambda expressions for methods that already have a name.
- Default methods enable new functionality to be added to the interfaces of libraries and ensure binary compatibility with code written for older versions of those interfaces.
- Repeating Annotations provide the ability to apply the same annotation type more than once to the same declaration or type use.
- Type Annotations provide the ability to apply an annotation anywhere a type is used, not just on a declaration. Used with a pluggable type system, this feature enables improved type checking of your code.
- Improved type inference.
- Method parameter reflection. Collections:
- Classes in the new java.util.stream package provide a Stream API to support functional-style operations on streams of elements. The Stream API is integrated into the Collections API, which enables bulk operations on collections, such as sequential or parallel map-reduce transformations.
- Performance Improvement for HashMaps with Key Collisions
- Compact Profiles contain predefined subsets of the Java SE platform and enable applications that do not require the entire Platform to be deployed and run on small devices. Security:
- Client-side TLS 1.2 enabled by default
- New variant of AccessController.doPrivileged that enables code to assert a subset of its privileges, without preventing the full traversal of the stack to check for other permissions
- Stronger algorithms for password-based encryption
- SSL/TLS Server Name Indication (SNI) Extension support in JSSE Server
- Support for AEAD algorithms: The SunJCE provider is enhanced to support AES/GCM/NoPadding cipher implementation as well as GCM algorithm parameters. And the SunJSSE provider is enhanced to support AEAD mode based cipher suites. See Oracle Providers Documentation, JEP 115.
- KeyStore enhancements, including the new Domain KeyStore type java.security.DomainLoadStoreParameter, and the new command option -importpassword for the keytool utility SHA-224 Message Digests:
- Enhanced Support for NSA Suite B Cryptography
- Better Support for High Entropy Random Number Generation
- New java.security.cert.PKIXRevocationChecker class for configuring revocation checking of X.509 certificates
- 64-bit PKCS11 for Windows
- New rcache Types in Kerberos 5 Replay Caching
- Support for Kerberos 5 Protocol Transition and Constrained Delegation
- Kerberos 5 weak encryption types disabled by default
- Unbound SASL for the GSS-API/Kerberos 5 mechanism
- SASL service for multiple host names
- JNI bridge to native JGSS on Mac OS X
- Support for stronger strength ephemeral DH keys in the SunJSSE provider
- Support for server-side cipher suites preference customization in JSSE JavaFX:
- The new Modena theme has been implemented in this release. For more information, see the blog at fxexperience.com.
- The new SwingNode class enables developers to embed Swing content into JavaFX applications. See the SwingNode javadoc and Embedding Swing Content in JavaFX Applications.
- The new UI Controls include the DatePicker and the TreeTableView controls.
- The javafx.print package provides the public classes for the JavaFX Printing API. See the javadoc for more information.
- The 3D Graphics features now include 3D shapes, camera, lights, subscene, material, picking, and antialiasing. The new Shape3D (Box, Cylinder, MeshView, and Sphere subclasses), SubScene, Material, PickResult, LightBase (AmbientLight and PointLight subclasses) , and SceneAntialiasing API classes have been added to the JavaFX 3D Graphics library. The Camera API class has also been updated in this release. See the corresponding class javadoc for javafx.scene.shape.Shape3D, javafx.scene.SubScene, javafx.scene.paint.Material, javafx.scene.input.PickResult, javafx.scene.SceneAntialiasing, and the Getting Started with JavaFX 3D Graphics document.
- The WebView class provides new features and improvements. Review Supported Features of HTML5 for more information about additional HTML5 features including Web Sockets, Web Workers, and Web Fonts.
- Enhanced text support including bi-directional text and complex text scripts such as Thai and Hindi in controls, and multi-line, multi-style text in text nodes.
- Support for Hi-DPI displays has been added in this release.
- The CSS Styleable* classes became public API. See the javafx.css javadoc for more information.
- The new ScheduledService class allows to automatically restart the service.
- JavaFX is now available for ARM platforms. JDK for ARM includes the base, graphics and controls components of JavaFX. Tools:
- The jjs command is provided to invoke the Nashorn engine.
- The java command launches JavaFX applications.
- The java man page has been reworked.
- The jdeps command-line tool is provided for analyzing class files.
- Java Management Extensions (JMX) provide remote access to diagnostic commands.
- The jarsigner tool has an option for requesting a signed time stamp from a Time Stamping Authority (TSA). Javac tool:
- The -parameters option of the javac command can be used to store formal parameter names and enable the Reflection API to retrieve formal parameter names.
- The type rules for equality operators in the Java Language Specification (JLS) Section 15.21 are now correctly enforced by the javac command.
- The javac tool now has support for checking the content of javadoc comments for issues that could lead to various problems, such as invalid HTML or accessibility issues, in the files that are generated when javadoc is run. The feature is enabled by the new -Xdoclint option. For more details, see the output from running "javac -X". This feature is also available in the javadoc tool, and is enabled there by default.
- The javac tool now provides the ability to generate native headers, as needed. This removes the need to run the javah tool as a separate step in the build pipeline. The feature is enabled in javac by using the new -h option, which is used to specify a directory in which the header files should be written. Header files will be generated for any class which has either native methods, or constant fields annotated with a new annotation of type java.lang.annotation.Native. Javadoc tool:
- The javadoc tool supports the new DocTree API that enables you to traverse Javadoc comments as abstract syntax trees.
- The javadoc tool supports the new Javadoc Access API that enables you to invoke the Javadoc tool directly from a Java application, without executing a new process. See the javadoc what's new page for more information.
- The javadoc tool now has support for checking the content of javadoc comments for issues that could lead to various problems, such as invalid HTML or accessibility issues, in the files that are generated when javadoc is run. The feature is enabled by default, and can also be controlled by the new -Xdoclint option. For more details, see the output from running "javadoc -X". This feature is also available in the javac tool, although it is not enabled by default there. Internationalization:
- Unicode Enhancements, including support for Unicode 6.2.0
- Adoption of Unicode CLDR Data and the java.locale.providers System Property
- New Calendar and Locale APIs
- Ability to Install a Custom Resource Bundle as an Extension Deployment:
- For sandbox applets and Java Web Start applications, URLPermission is now used to allow connections back to the server from which they were started. SocketPermission is no longer granted.
- The Permissions attribute is required in the JAR file manifest of the main JAR file at all security levels. Date-Time Package:
- a new set of packages that provide a comprehensive date-time model.
- Scripting
- Nashorn Javascript Engine Pack200:
- Pack200 Support for Constant Pool Entries and New Bytecodes Introduced by JSR 292
- JDK8 support for class files changes specified by JSR-292, JSR-308 and JSR-335 IO and NIO:
- New SelectorProvider implementation for Solaris based on the Solaris event port mechanism. To use, run with the system property java.nio.channels.spi.Selector set to the value sun.nio.ch.EventPortSelectorProvider.
- Decrease in the size of the /jre/lib/charsets.jar file
- Performance improvement for the java.lang.String(byte[], *) constructor and the java.lang.String.getBytes() method.
- java.lang and java.util Packages
- Parallel Array Sorting
- Standard Encoding and Decoding Base64
- Unsigned Arithmetic Support JDBC:
- The JDBC-ODBC Bridge has been removed.
- JDBC 4.2 introduces new features.
- Java DB:
- JDK 8 includes Java DB 10.10.
- Networking
- The class java.net.URLPermission has been added.
- In the class java.net.HttpURLConnection, if a security manager is installed, calls that request to open a connection require permission. Concurrency:
- Classes and interfaces have been added to the java.util.concurrent package.
- Methods have been added to the java.util.concurrent.ConcurrentHashMap class to support aggregate operations based on the newly added streams facility and lambda expressions.
- Classes have been added to the java.util.concurrent.atomic package to support scalable updatable variables.
- Methods have been added to the java.util.concurrent.ForkJoinPool class to support a common pool.
- The java.util.concurrent.locks.StampedLock class has been added to provide a capability-based lock with three modes for controlling read/write access.
- Java XML - JAXP HotSpot:
- Hardware intrinsics were added to use Advanced Encryption Standard (AES). The UseAES and UseAESIntrinsics flags are available to enable the hardware-based AES intrinsics for Intel hardware. The hardware must be 2010 or newer Westmere hardware. For example, to enable hardware AES, use the following flags:
- XX:+UseAES -XX:+UseAESIntrinsics To disable hardware AES use the following flags:
- XX:-UseAES -XX:-UseAESIntrinsics
- Removal of PermGen.
- Default Methods in the Java Programming Language are supported by the byte code instructions for method invocation. Java Mission Control 5.3:
- JDK 8 includes Java Mission Control 5.3.