Hello !
I recently got into playing around with firmwares multi sandbox but I ran into an issue.
I would like to use some properties for my application and I only want to use kf without wadapps for the moment.
I created an application.properties file but when I’m using the System.getProperty() method, my file is not found.
How can I use properties in this kind of setup ?
Thanks in advance !
Hi,
System Properties can only be defined in Standalone Applications, not in Sandboxed Applications.
See MicroEJ Classpath — MicroEJ Documentation for more details.
Depending on your Kernel capability, it may define a PropertyLoader service which allows to share properties (not only System Properties) between the Kernel & the Applications.
Oh alright I will check the PropertyLoader then, thanks for you help !