Skip to Main Content
IBM Power Ideas Portal

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Post your ideas

Start by posting ideas and requests to this portal to enhance a Power product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas and add comments to ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Help IBM prioritize your ideas and requests

The IBM team may need your help to refine the ideas so they may ask for more information or feedback. The Power teams will then decide if they can begin working on your idea. If they can start during the next development cycle, they will put the idea on the priority list. Each team at IBM works on a different schedule, where some ideas can be implemented right away, others may be placed on a different schedule.

Receive notification on the decision

Some ideas can be implemented at IBM, while others may not fit within the development plans for the product. In either case, the team will let you know as soon as possible. In some cases, we may be able to find alternatives for ideas which cannot be implemented in a reasonable time.


Specific link you will want to bookmark for future use

IBM Unified Ideas Portal - https://ideas.ibm.com/ - Use this site to create or search for existing Ideas across all IBM products that are outside of Power, and track all of your personal interactions with all Ideas.

Status Not under consideration
Workspace IBM i
Categories JAVA
Created by Guest
Created on Jul 16, 2020

RUNJVA RESTART(*YES) or ENDJVA to restart the Java Virtual Machine

One of the reasons that I till now only have seen java used in batch jobs is, that you have absolutely no control over the Java Virtual Machine (JVM) once it is started. Environment variables are for example only initialized once. This means you can't use it for interactive jobs because you don't know what has been done before that. The JVM could have been started by another process delivered by another company with other settings.
So we need a way to end / restart the JVM in a job.


Use Case:

In an interactive job it should be possible to specify something like RUNJVA RESTART(*YES) or ENDJVM or ENDJVA.
Then you have control over the environment.
The same should be possible if you are referring to Java objects in RPG.


Idea priority Medium
  • Guest
    May 27, 2021

    It's a limitation on i. We can not invoke JVM twice within one job. In fact, like ???JAVA" or ???RUNJVA" CL command, they would not affect current interactive job. Instead, they would create a new job to invoke the ???java" in it. After that, the secondary job would end, and current interactive job could continue invoke the JAVA or RUNJVA commands.

  • Guest
    Mar 10, 2021

    We would do investigate on it.thx.