Skip to content

Feature Request: abap-cleaner.exe / standalone abap cleaner: create alternative ways to provide java. #471

@JoachimRees

Description

@JoachimRees

abap-cleaner.exe needs a certain java-version (currently: 17), thats well documented and easy to optain (e.g. sapmachine ).
But it seem the only why to "provide" that jave to the abap-cleaner.exe is via path variable (also well documented) .

As there might be cases where people can not set path varaiables, I would apprechiate alternative ways to "provide" the current java.
(And also, if another, OLDER Java ist in the path, too - which will "win"? )

Those ways come to mind, any one of them would be fine:

Via abap-cleaner.ini:
-java_path
C:\tmp\sapmachine-jre-25.0.2_windows-x64_bin\sapmachine-jre-25.0.2\bin

Via sub folder:
If a sub folder "java" exist where abap-cleaner.exe is, first look if there is a javac -> if so: use this.

Via command line argument:
abap-cleaner.exe ---java_path=C:\tmp\sapmachine-jre-25.0.2_windows-x64_bin\sapmachine-jre-25.0.2\bin

Hope some of this is possible.
Joachim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions