Skip to content

Tag: java

Java could not find XML resource bundle

error: If they are *.properties, no problems. How to load XML resource bundles? Answer By default, Java SE ResourceBundle.getBundle(…) only understands loading of resource bundles implemented as Java classes or “.properties” files. If you want to load a ResourceBundle from an XML file, you n…

Java failure in looking up the MX record for specific domain

Here’s a piece of code demonstrating a case where the Java standard extensions for working with DNS fail to correctly look up the MX record for a specific domain, while the dig utility has no problem doing so. I have replicated this across different machines, networks, and operating systems (AWS Ubuntu,…

How to handle a SIGSEGV with jffi / jnr?

The Java VM crash with a SIGSEGV in a docker container. On all other systems it is working as expected. and the stack trace What can I do to solve this problem with jffi / jnr? How can I receive more details about the problem? Answer The cause of the crash on Linux was a inkompatible native libraries for the