Setting different class loader

Mark Evenson evenson at panix.com
Wed Jul 22 17:35:53 UTC 2020



> On Jul 22, 2020, at 12:58, Olof-Joachim Frahm <olof at macrolet.net> wrote:
> 
> On Wed, Jul 22, 2020 at 09:52:45AM +0000, Steven Nunez wrote:
>> I've verified with (java:dump-classpath) that the JAR is on the ABCL
>> classpath, and the JAR file does contain the
>> spark-version-info.properties file. I've also tried getting the file
>> myself with:
>> (defvar rs
>>   #1"Thread.currentThread()
>>     .getContextClassLoader()
>>     .getResourceAsStream("spark-version-info.properties")" )
>> which returns nil, so their theory may be correct.
>> Messing around with class loaders is a bit beyond my 20 year old Java knowledge [...]
> 
> Just to get you a bit unblocked, it seems you can indeed set the current
> context class loader and then the call to create the `JavaSparkContext`
> succeeds:


I’ve started to tool around with getting Spark working, but it doesn’t quite work for me yet.

My current progress is in [Ember][]

[Ember]: <https://github.com/easye/ember.git>


-- 
"A screaming comes across the sky.  It has happened before but there is nothing 
to compare to it now."








More information about the armedbear-devel mailing list