Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Am I too early bird? : ords(sqlcl) graalvm 21 / jdk 21 and javascript support?

PaavoJan 3 2025

Happy New Year!

Planning to upgrade graalvm 17 with gu installed javascript to graalvm 21, but **gu-**command is deprecated and have challenges to understand how to enable it. To test my setup with sqlcl before rushing to upgrade ords points out challenge with js:

SQL> version
Oracle SQLDeveloper Command-Line (SQLcl) version: 24.3.2.0 build: 24.3.2.330.1718
SQL> !java -version
java version "21.0.5" 2024-10-15 LTS
Java(TM) SE Runtime Environment Oracle GraalVM 21.0.5+9.1 (build 21.0.5+9-LTS-jvmci-23.1-b48)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.5+9.1 (build 21.0.5+9-LTS-jvmci-23.1-b48, mixed mode, sharing)

SQL> script
2 ctx.write("Hello Vaapo !\n");
3* /
JavaScript engine not found.
GraalVM with Nodejs/Javascript support is required.
Download
https://www.oracle.com/downloads/graalvm-downloads.html
Ensure NodeJS/Javascript is installed following documentation
https://docs.oracle.com/en/graalvm/jdk/17/docs/reference-manual/graalvm-updater/#install-components
SQL> !gu install js --verbose
bash: gu: command not found
This post has been answered by chrishoina-Oracle on Jan 4 2025
Jump to Answer

Comments

Processing

Post Details

Added on Jan 3 2025
2 comments
253 views