ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

java running in apache

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • java running in apache

    hello,

    I have a java program that I run in a normal qbatch or qinter application. It runs fine in that environment.

    I have modified the program to run in apache also. When running in apache Im getting a java versioning error.

    How do I control which jvm the program runs in apache?

    Thanx,

  • #2
    Re: java running in apache

    I set the JAVA_HOME environment variable at the system level.

    Code:
    CHGENVVAR ENVVAR('JAVA_HOME') VALUE('/QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit') LEVEL(*SYS)

    Comment

    Working...
    X