Can I delete the protobuf jar that comes with recent Matlab installations?
6 views (last 30 days)
Show older comments
The protobuf jars included with Matlab installations starting with 2020a (and perhaps 2019b) have conflicting classes and effectively make it so that Matlab is incapable of parsing protobuf messages. I've submitted bug reports and posted a question about how to work around this issue. One possible work around is to delete the protobuf jar that is included with the installation or otherwise adjust the static Java path, which will allow my custom protobuf jar, added to the dynamic Java path, to take precedence. I've resisted that because among other things I don't want to break anything going on under the hood. My question here is: what effect will that have on internal operations? What internal functionality is that jar controlling and how might it change if I use my own jar? Thanks!
0 Comments
Answers (1)
Muskan
on 23 Feb 2023
Hi Matt,
As per my understanding, I would suggest against deleting the protobuf jar that comes with MATLAB installations. The jar files contain the protobuf library, which allows MATLAB to read and write protobuf data.
You can experience problems using MATLAB features that rely on protobuf if you delete protobuf jar. Moreover, deleting system files without understanding their function may result in system instability.
Cheers,
Muskan
See Also
Categories
Find more on String Parsing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!