Closed jvdsandt closed 3 years ago
Hi @jvdsandt, Thanks for the report.
Could you provide the full error including a stack trace?
Please try again with allowIO(true)
and if that doesn't work, try allowAllAccess(true)
.
Let me know how it goes!
Hi,
Yes, just adding allowIO(true)
makes it work. Thanks!
If I want to use another Smalltalk image. How could I do this?
Great, thanks for the update. Nonetheless, I should have a look why allowIO(true)
is required to access the bundled image.
You should be able to pass in a path to an image by setting smalltalk.imagePath
when building the context. Here's how it's done in TruffleSqueak's tests:
Note that TruffleSqueak only supports 64bit Squeak and Cuis spur images at the moment.
I'm going to close this for now. Feel free to re-open if you have any follow up questions!
I wrote a small test program to see if I can evaluate Smalltalk code from Java:
When I run this program I get a SecurityException telling me that the TruffleSqueak-21.0.0.image cannot be read. How can I fix this?