Bme280, usb_to_i2c not workin on windows

Recieved a BME280 and usb_to_i2c converter, but cant get it to work with my java code on windows, getting this error "SEVERE: Unable to load [libpi4j.so] using path: [/lib/raspberrypi/static/libpi4j.so]

java.lang.IllegalArgumentException: The path has to be absolute, but found: \lib\raspberrypi\static\libpi4j.so"

Do i need to install some sort of driver?"

The Java code is written to work with native i2c devices like raspberry pi, beaglebone. this will not work with USB to i2C converter. I will recommend using anyi2c for this


Thanks