Hello! I'm having a problem with PrintServiceLookup under Karaf, it seems that when i run a PrintServiceLookup.lookupPrintServices(null, null) it always return empty, after some investigation i found that this method searchs for a javax.print.PrintServiceLookup under /META-INF/services , the file contains the following:
# Provider for Java Print Service sun.print.Win32PrintServiceLookup It seems that it looks to the running JRE to define which printService to use, so i created the required folder in my bundle and copied the javax.print.PrintServiceLookup file to it, with that it worked. But i can't rely on that in a production server, since the application can be runned on linux or windows. How can i fix that?
