Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce java provided by IBM #179

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

jonnyz32
Copy link
Collaborator

@jonnyz32 jonnyz32 commented Dec 18, 2024

Update docs, to ensure user uses the correct java version.
Exit program if java version is not from IBM.
closes #178

-bash-5.2$ java -jar manzan-1.0-jar-with-dependencies.jar --configdir=/Qopensys/etc/manzanjz
Java vendor: Eclipse OpenJ9
Error: This application requires Java provided by IBM
-bash-5.2$ export JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit
-bash-5.2$ java -jar manzan-1.0-jar-with-dependencies.jar --configdir=/Qopensys/etc/manzanjz
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Apache Camel version 3.14.8
target URI: stream://file?fileName=/tmp/mzntestoutput
STRWCH Command:
QSYS/STRWCH SSNID(jonathankk)  WCHPGM(MANZAN/HANDLER) WCHMSG((*ALL)) WCHMSGQ(JONATHAN/MANZANQ)
Watch jonathankk started successfully

@jonnyz32 jonnyz32 changed the title Update docs, regarding java version Enforce java provided by IBM Dec 18, 2024
@SanjulaGanepola
Copy link
Collaborator

Can we try using null instead of *CURRENT as mentioned here: IBM/JTOpen#49

@SanjulaGanepola
Copy link
Collaborator

Can we try using null instead of *CURRENT as mentioned here: IBM/JTOpen#49

@ThePrez Any comment on this change? I found the original issue you opened on passing *CURRENT as the password when using OpenJDK. Seems like passing in null is not yet supported so using IBM java is a requirement for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants