Skip to content

Accept plain file paths on command line: e.g. java -jar freej2me.jar ShanghaiShuffle.jar#208

Open
stuaxo wants to merge 1 commit into
hex007:masterfrom
stuaxo:accept-file-path-on-commandline
Open

Accept plain file paths on command line: e.g. java -jar freej2me.jar ShanghaiShuffle.jar#208
stuaxo wants to merge 1 commit into
hex007:masterfrom
stuaxo:accept-file-path-on-commandline

Conversation

@stuaxo
Copy link
Copy Markdown

@stuaxo stuaxo commented Nov 27, 2023

In Anbu make a small simplification to getFormattedLocation to use isFile to check if the jar file is a file.
Add https as well as http.

Copy this to FreeJ2ME so it can accept plain file paths on the commandline.

With this patch I can invoke it like this:

$ java -jar freej2me.jar ShanghaiShuffle.jar

Small simplification of getFormattedLocation to check if file is a file.
Add https to compliment http.

FreeJ2Me: Copy getFormattedLocation from Anbu so that file paths
can be accepted as well as file uris.
@stuaxo stuaxo changed the title Accept plain file paths in Accept plain file paths on command line: e.g. java -jar freej2me.jar ShanghaiShuffle.jar Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant