Sunday, March 16, 2025
News
NEWS HOME
»
PRN INDIA
Oracle Announces Java 18
  SocialTwist Tell-a-Friend  
   

 

New release delivers thousands of performance, stability, and security improvements, and nine JDK Enhancement Proposals

AUSTIN, Texas, March 22, 2022 /PRNewswire/ -- Oracle today announced the availability of Java 18, the latest version of the world's number one programming language and development platform. Java 18 (Oracle JDK 18) delivers thousands of performance, stability, and security improvements, including nine enhancements to the platform that will further improve developer productivity.

Java 18

The latest Java Development Kit (JDK) provides updates and improvements with nine JDK Enhancement Proposals (JEPs). These include the capability to add Code Snippets in Java API Documentation (JEP 413), which simplifies the addition of sample source code in API documentation, and Simple Web Server (JEP 408) for prototyping and testing. Developers can explore two incubating modules: the Vector API (JEP 417) and the Foreign Function and Memory API (JEP 419), as well as a preview feature: Pattern Matching for Switch (JEP 420).

"The release of Java 18 demonstrates Oracle's continued commitment to provide enterprises and developers faster access to enhancements with the six-month feature release cadence," said Georges Saab, Vice President of Development, Java Platform Group, Oracle. "We continue to make technical investments that improve the performance, stability, and security of the Java SE Platform implementations, as well as the Java Development Kit."

"Java developers want continued innovation with modern programming language features, developer experience enhancements, cloud managed services, and stability," said James Governor, Principal Analyst, RedMonk. "With Java's consistent six-month release cadence Oracle is meeting those demands, helping to keep Java relevant for modern applications and workloads."

Accelerating Java's Adoption in the Cloud

Oracle recently introduced Java Management Service (JMS), a new Oracle Cloud Infrastructure (OCI) native service to help manage Java runtimes and applications on-premises or on any cloud. JMS delivers the information needed to manage Java deployments across the enterprise. Java Management Service is included for OCI workloads and for Java SE Subscribers.

Java 18 is the latest release under Java's six-month release cadence and is the result of extensive collaboration between Oracle engineers and other members of the worldwide Java developer community via the OpenJDK Project and the Java Community Process (JCP). This provides a steady stream of innovations while also delivering continued performance, stability and security improvements that will increase Java's pervasiveness across organizations and industries of all sizes.   The largest changes delivered in Java 18 are:

Updates and Improvements to Libraries

Tools

Preview and Incubators for Later JDK Releases

Future Proofing Java Programs

Supporting Java Customers

  • JEP 400:  UTF-8 by Default - Sets UTF-8 as the default charset of the standard Java APIs. With this change, APIs that depend on the default charset will behave consistently across all implementations, operating systems, locales, and configurations.
  • JEP 408:  Simple Web Server – A command-line tool and API to start a minimal web server that serves static files only. This tool will be useful for prototyping, ad-hoc coding, and testing purposes, particularly in educational contexts.
  • JEP 416:  Reimplement Core Reflection with Method Handles  - Reimplements java.lang.reflect.Method, Constructor, and Field on top of java.lang.invoke method handles. By making method handles the underlying mechanism for reflection, it reduces the maintenance and development cost of both the java.lang.reflect and java.lang.invoke APIs.
  • JEP 418: Internet-Address Resolution SPI  - Defines a service-provider interface (SPI) for host name and address resolution, so that java.net.InetAddress can make use of resolvers other than the platform's built-in resolver.
  • JEP 413:  JEP Code Snippets in Java API Documentation - Introduces the @snippet tag for JavaDoc's Standard Doclet to simplify the inclusion of example source code in API documentation.
  • JEP 417: Vector API (Third Incubator) – Provides an API for developers to reliably leverage CPU architectures that provide scalable vector extensions. This will lead to superior performance compared to equivalent computations on non-extended processors.
  • JEP 419: Foreign Function and Memory API (Second Incubator) - Enables Java programs to interoperate with code and data outside of the Java runtime. By efficiently invoking foreign functions (i.e., code outside the JVM), and by safely accessing foreign memory (i.e., memory not managed by the JVM), the API enables Java programs to call native libraries and process native data without the brittleness and pitfalls of JNI.
  • JEP 420:  Pattern Matching for Switch (Second Preview) -  Enhances the Java programming language with pattern matching for switch expressions and statements, along with extensions to the language of patterns. Extending pattern matching to switch allows an expression to be tested against a number of patterns, each with a specific action, so that complex data-oriented queries can be expressed concisely and safely.  
  • JEP 421: Deprecate Finalization for Removal - Finalization remains enabled by default for now, but can be disabled to facilitate testing. In a future release, it will be disabled by default, and in a later release, it will be removed. Maintainers of libraries and applications that rely upon finalization should consider migrating to other resource management techniques such as the try-with-resources statement and cleaners.

The Oracle Java SE Subscription, a predictable pay-as-you-go offering, provides customers with best in class support, entitlement to GraalVM Enterprise, access to the Java Management Service, and the flexibility to upgrade at the pace of their business. This helps IT organizations manage complexity, contain costs, and mitigate security risks.

Additional Resources

About Oracle

Oracle offers integrated suites of applications plus secure, autonomous infrastructure in the Oracle Cloud. For more information about Oracle (NYSE: ORCL), please visit us at www.oracle.com.

Trademarks

Oracle, Java, and MySQL are registered trademarks of Oracle Corporation.  Other names may be trademarks of their respective owners.

Photo -  https://mma.prnewswire.com/media/1770685/Java_18.jpg

Logo - https://mma.prnewswire.com/media/1766551/Oracle_Logo_Logo.jpg  

More News by PR Newswire India

/DISREGARD RELEASE: Bybit/

Kushal's Fashion Jewellery Festive Collection, adorned by Tara Sutaria, beautifully combines glamour and elegance

Unilumin Group Signed an Agreement with Saudi Arabia in the Third Belt and Road Forum for International Cooperation

Transport Corporation of India Ltd. (TCI Group) has been recognized as a Maritime Excellence Achiever at GMIS 2023 by The Ministry of Ports, Shipping & Waterways on 19th October 2023

Bitget Introduces 'Futures Quant' With AI Features

Bitget's Q3 Growth: Second-Highest Market Share Surge and Record High for BGB Holders

HarperCollins Publishers India is proud to announce the publication of SPREADING JOY: How Joyalukkas Became the World's Favourite Jeweller by Joy Alukkas with Thomas Scaria and Nidhi Jain

Go Global or Go Home: New Report Reveals Companies Lacking Global Presence Will Lose Growth Opportunities

MOVIN rolls out the second phase of Electric Vehicles in Bengaluru paving the way for greener deliveries in logistics

Motilal Oswal Financial Services Ltd. (MOFSL) launches #CorporateMushaira, an audio-first campaign for the World Investor Week

UBBF 2023 Intelligent IP Network Summit in Dubai an Impressive Success

Placing Them Right: IBS Path to MBA Career Success

HDFC ERGO reiterates its commitment on making health insurance Accessible, Affordable and Convenient with launch of 6 new products and 2 service upgrades

capSpire expands its global footprint with entry into the Singapore market

GTPL Hathway records its highest quarterly revenues from operation

CCTV+: International reporters experience the romance and vitality of Hangzhou, China

STL expands its Enterprise Networking solution portfolio with Estelan

Mantittude: Skincare for Men encourages men to unleash their inner 'Pataka' this Diwali

The 134th Canton Fair Opened with Optimized Structure and Upgraded Scale

MADAME TUSSAUDS SINGAPORE UNVEILS LIFELIKE FIGURE OF CRICKET ICON VIRAT KOHLI AMIDST ICC MEN'S CRICKET WORLD CUP!

Ugreen unveils power solutions and personal data storage at the Gitex Trade Show in United Arab Emirates.

Meridean Overseas Education Consultants Announces Half-Day Leave to Celebrate India vs. Pakistan Cricket Match

Xinhua Silk Road: Huai'an, UNESCO creative city of gastronomy, explores innovative dev. of food industry via premier regional food expo

Xinhua Silk Road: Fengxin County in E. China's Jiangxi celebrates bountiful harvest of kiwifruit

Casio to Release G-SHOCK Watches with Shining Metallic-Colored Dials

UEG Week 2023 : Babies with a low birthweight four times more likely to develop fatty liver disease in later life

CGTN: Diffusion of tea and its culture along the Silk Road

NEOM announces Leyja, its latest sustainable tourism destination

Expand North Star 2023 kicks off in Dubai gathering game-changing start-ups to accelerate on global stage

World Health Summit kicks off in Berlin

Hexaware Technologies announces new office in Dehradun to bolster its global delivery network

Chinese automotive industry has overtaken to supercars

Participants of the Made in Russia business mission to India held more than 150 negotiations with local importers and distributors

Rummy Passion Raises the Bar: Instant Withdrawals Now Available for All Tiers

 
 
TRENDING TOPICS
 
 
CITY NEWS
MORE CITIES
 
 
INDIA WORLD ASIA
Uttar Pradesh: Fire breaks out in garmen...
'Insult to police': Retired IPS officers...
'Love for Bharat unites us all': Amit Sh...
Maharashtra: Five drown while swimming i...
'Thankful to NPP family for reaffirming ...
Gujarat: 13 arrested, 6 Illegal houses d...
More...    
 
 Top Stories
Cuba's Deputy PM, Ghana's Foreign M... 
"Weren't upto the mark": Pakistan s... 
"Anti-constitutional": BJP MLC Ravi... 
"Intolerant; can't even take critic... 
Delhi CM Rekha Gupta inspects Barap... 
"Will try to complete task as per c... 
AR Rahman discharged from Chennai h... 
Luxury real estate demand to remain...