Replying to Avatar kuiperbelt

#android #java #dev #asknostr

Still workin' on my project. I've been running into a series of issues trying to get nostr:npub1llfht66qadyxv44q9rkmequztav07r2ufgd6ytl8w3wjs3ffa5yqy398ja's nostr-java library to work with my app.

If anyone wants to help me, I'd really appreciate it. Currently, I'm trying to figure out how to set the "java.version" system property (https://howtodoinjava.com/java/basics/java-system-properties/#1-1-runtime-environment-properties), because it's required to be set for the jetty library to work properly: https://github.com/jetty/jetty.project/blob/ae6f98ed47ada09dd393102cea0bdf29bc7eb2ea/jetty-core/jetty-alpn/jetty-alpn-java-server/src/main/java/org/eclipse/jetty/alpn/java/server/JDK9ServerALPNProcessor.java#L37.

So far, nothing I've found online for setting this system property has resulted in any different behavior (the "java.version" property is always "0").

E.g., I tried this: https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_system_properties

If I try to set this value in the runtime code, I get this error message in logcat:

`System : Ignoring attempt to set property "java.version" to value "9.0.0".`

nostr:note1t2wltkcwpjvh90q5fv5vgl4qg978jnjch80d0uwd5thuwe2g34qqqy3gh5

To keep whoever's intetested posted, my nostr based waze-clone for Android is currently depending on the nostr-java library to be updated to support android and correct its implementation of some nostr features.

#roadscout #android

nostr:nevent1qqsyczwcxu532cgdjnq44hw9h9dyh5nmjyf07r4ued5dh8xz70pf4vqprdmhxue69uhhyetvv9ujumn0wd68ymmnd968jtnrdakj7q3qr4meyszwh7hpe6yuahunn6329922ukye00cgf7tw6vf0jef4jqqsxpqqqqqqzteyzxv

Reply to this note

Please Login to reply.

Discussion

No replies yet.