Can I eat these berries?

https://preview.redd.it/tqhx4z367d2e1.jpg?width=1148&format=pjpg&auto=webp&s=178423a81243f5c8e4e79bd2723926ed551e378c

https://preview.redd.it/klomyi277d2e1.jpg?width=1836&format=pjpg&auto=webp&s=c74f2a3f0637b3612c81e03b6420a234704915f8

I collected them a couple of days ago in South Australia. The tree was about 20-30ft high. There are quite large seeds inside. I actually ate one this morning with my breakfast and the taste was terrible and with a burning sensation lol. When I image search it comes up with java plum, but isn't that supposed to be edible and I imagine pleasant. So anybody know what these are exactly?