# Issue with every Contributed Libraries! Other ERROR and (Target VM failed to initialize)

**URL:** <https://discourse.processing.org/t/issue-with-every-contributed-libraries-other-error-and-target-vm-failed-to-initialize/42610>\
**Category:** Libraries\
**Created:** [August 17, 2023, 4:33pm UTC](https://discourse.processing.org/t/issue-with-every-contributed-libraries-other-error-and-target-vm-failed-to-initialize/42610 "2023-08-17T16:33:43Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [August 18, 2023, 6:03am UTC](https://discourse.processing.org/t/issue-with-every-contributed-libraries-other-error-and-target-vm-failed-to-initialize/42610/7 "2023-08-18T06:03:51Z")

</div>

Hi @teemee,

> [@teemee](#):
>
> Hey Thanks for the quick reply. However, I have a confusion on the bullet says: _rename the two folders, ie by adding a suffix \_bak and also rename the installed processing folder that way._ Could you please explain this part?

By renaming the two folders  
D:\OneDrive…\Processing → D:\OneDrive…\Processing\_bak  
C:.…\Roaming\Processing → C:.…\Roaming\Processing\_bak  
processing thinks on start, that it is its first start and newly creates and setup the sketchbook folder structure and as well the preferences…

* * *

Ok! The issue is indeed based on the internationalization, resp. the thai named folder.  
I was able to reproduce it by creating a portable processing4 installation which sketch folder points to (X:.…\OneDrive\เอกสาร\Processing). In general, processing can work with this path, ie. re-create sketchbook structure, load and save sketches, even install contributed libraries, but struggle on startup a sketch which uses the contributed library from that non utf-8 path. So, I running into the same issue you are describing, ie (Class not found).  
On starting the sketch processing will create a java call which used paths like:  
`X:\...\OneDrive\??????\Processing\`  
means, it runs into trouble to interpret the path correct for thai characters.

I also searched jdk bugs history and it looks like that it is a long time issue since jdk11, but seems finally fixed by jdk19.  
[https://bugs.openjdk.org/browse/JDK-8272352](https://bugs.openjdk.org/browse/JDK-8272352)  
Nevertheless, processing4 is based on jdk17, though.

So only quick solution I see, is to set the sketchbook Path to a utf-8 conform path, like.  
X:.…OneDrive\Processing.

Cheers  
— mnse

PS: You should report an issue on processing github [here](https://github.com/processing/processing4/issues) .

---

_[View the full topic](https://discourse.processing.org/t/issue-with-every-contributed-libraries-other-error-and-target-vm-failed-to-initialize/42610)._
