OS X jpackage and java.class.path
mik3hall at gmail.com
Mon Jul 1 19:02:31 UTC 2019
I think I may out mentioned this before but maybe I didn’t fix the problems it was causing me because I just ran into it again. So I’ll mention it again.
java.class.path is somewhat inconsistent in its entries.
The main jar is present as absolute path…
all other entries are relative too user.dir which is…
Example entries of the remaining relative paths…
Any code that for whatever reason wants to process off of java.class.path needs to be aware of this. It would have to be prepared to handle either condition of absolute or user.dir relative paths.
How much code does this I don’t know but mine for some limited functionality does. This just isn’t consistent for all entries.
It of course works fine for normal loading and application execution.
More information about the core-libs-dev