Skip to content

Not possible to build cross-platform images #2

@vic0824

Description

@vic0824

Since the element represents the path where the jlink tool discovers observable modules, I thought I could specify the path of the jmod directory of a linux jdk when building under Windows, but it does not seem to have the desired effect: the target image contains the binaries of the Windows JDK.

This is how I have specified it:

    <properties>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <jmods.dir>/Java/amazon-corretto-11.0.12.7.1-linux-x64/jmods</jmods.dir>
    </properties>
                        <dirsets>
                            <dirset>
                                <directory>${jmods.dir}</directory>
                                <includes>
                                    <include>**/*</include>
                                </includes>
                            </dirset>
                        </dirsets>

Is this functionality supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions