Skip to Main Content

Document Generator Pre-Built Function

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.

Conditional printing in the pre-built Document Generator function

InoLJan 15 2025 — edited Jan 15 2025

I miss conditional printing (not the FILTER option) in the Document Generator. Something like

I am a {job}{#if:job='manager'} for department {department}{/if:job='manager'}.

and

{#if:amount<>0}Your account will be {#if:amount>0} credited{#else} debited{/if:amount>0} for the amount of {amount}.{/if:amount<>0}

How would you do something like this with the current options?

(Post copied form Oracle Cloud Customer Connect without any Oracle team feedback)

Comments

User_XVTOM

I'm facing the same issue. Apparently Jdev 10 deprecated the use of -d64 and -d32 options. So the installer crashes while checking these options.

User_VBJI9

I faced the same issue. My solution was to download the macOS version of JDK 1.8 from https://www.oracle.com/java/technologies/downloads/
NOTE: The JDeveloper installer requires the actual JDK, not a JRE.
After installing JDK 1.8, I modified my .profile as follows:
---cut---cut---cut---
JH=$(ls -1d /Library/Java/JavaVirtualMachines/jdk1.8*.jdk | tail -1)
export JAVA_HOME="$JH/Contents/Home/bin"
export PATH=$JAVA_HOME:$PATH
---cut---cut---cut---
In the case of multiple versions of the JDK 1.8 installed, the above method will take the latest installed version.
NOTE: After editing .profile, quit and restart the Terminal.app in order for changes to take effect. Then cd to where you have the JDeveloper .jar files and continue with the installation as per the JDeveloper instructions.

1 - 2

Post Details

Added on Jan 15 2025
3 comments
200 views