Skip to content

Demo used a deprecated Java version to build executable that no longer works with modern Java versions #5

@gunzf0x

Description

@gunzf0x

Just to add a note. If you follow the steps from the main page it will build the file using more modern Java versions. If you try to execute it you might find an error: artsploit/AwesomeScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0.

To fix this, just try to build the file with that deprecated version:

javac -source 8 -target 8 src/artsploit/AwesomeScriptEngineFactory.java

and then just follow the steps as the original post explained.

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