My Oracle Support Banner

How to Run Java Stored Procedure Sample "Hello.java". (Doc ID 131812.1)

Last updated on APRIL 10, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Purpose

This article explains how to run a simple Java stored procedure demo called Hello.java. This very simple sample can be found normally in the directory

$ORACLE_HOME/javavm/demo/examples/jsp/



Scope

This article is intended for developers starting with developing Java in the database. It is expected to have some Java knowledge to understand the code.

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Scope
Details
 Setting up the JavaVM
 Check the installed JDK in the ORACLE_HOME.
 Creating Java stored procedures.
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.