<Java/Kotlin not loading image from URL> IntelliJ ...
# stackoverflow
u
Java/Kotlin not loading image from URL IntelliJ IDEA, compose desktop 0.4.0 I use simple java code to load image from URL and save it into file in local storage (remember desktop) val url: URL = URL(link) val img: BufferedImage = ImageIO.read(url) val file: File = File("something.jpg") ImageIO.write(img, "jpg", file) The question is in IDE all work fine but when I create .exe file and install it on pc programm doesn't load images from URL. I'm curious where is the problem hidding: it may be IDE has some http/proxy settings. or mb...