Thank you for your answer. This line "-libraryjars <java.home>/jmods/java.desktop.jmod(!**.jar;!module-info.class)" is already in my config file. I tried to replace it by the exact path, and it didn't change anything. None of the basic java libraries are found (like the BufferedIimage) so I get thousands of warnings and it ends with this error: "Error: Can't find common super class of..."</java.home>
Thanks. I know where to find the Java installation. But which path do I give to the jdeps?
Thank you for your answer, but I don't really understand. Why ProGuard doesn't know basic classes? Do I have to add all the basic classes like JFrame?
Proguard does not find basic packages and super class
I still have too many warnings for basic libraries, so I opened a post on StackOverflow: https://stackoverflow.com/questions/56920082/proguard-does-not-find-basic-packages-and-super-class
I use ProGuard 6.1.1 on Java 11.0.2 on macosX 10.13.6 I call this command: java -jar ./lib/proguard.jar @MyApp.pro It seems that the call to rt.jar comes from my config file that comes from a old proguard version, so I commented the line. Thanks.
Indeed, this file does not exist anymore on Java 11. It seems that it was removed on Java 9. I work on a macos with Java 11. As the file does not exists anymore, why is proguard looking for it?
Indeed, this file does not exist anymore on Java 11. It seems that it was removed on Java 9. I work on a macos with Java 11.
I've tried to run it with Java 11, and it does not work. I get the following error: ProGuard, version 6.1.1 Reading program jar [/Users/firetiti/NetBeans/FiReTiTiLiB/dist/FiReTiTiLiB.jar] Reading program jar [/Users/firetiti/NetBeans/FiReTiTiLiB/dist/lib/FiReTiTiCoreJava.jar] Reading library jar [/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/lib/rt.jar] Error: Can't read [/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/lib/rt.jar] (No such file or directory: /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/lib/rt.jar)...