Dianzoa Active Member Licensed User Aug 6, 2021 #1 I have not knowledge of Java, is there any parameters I miss? Can
drgottjr Expert Licensed User Longtime User Aug 6, 2021 #2 1) where is your Desugar_deploy.jar file? 2) for your parameters, type "java" at the C:\Users\HP\OneDrive|Documents prompt. you're missing the "-jar" option. this is a windows issue, nothing really to do with java. Upvote 0
1) where is your Desugar_deploy.jar file? 2) for your parameters, type "java" at the C:\Users\HP\OneDrive|Documents prompt. you're missing the "-jar" option. this is a windows issue, nothing really to do with java.
Dianzoa Active Member Licensed User Aug 6, 2021 #3 drgottjr said: 1) where is your Desugar_deploy.jar file? 2) for your parameters, type "java" at the C:\Users\HP\OneDrive|Documents prompt. you're missing the "-jar" option. this is a windows issue, nothing really to do with java. Click to expand... 1- In the folder where the command ran. 2 - Makes no difference adding -jar Upvote 0
drgottjr said: 1) where is your Desugar_deploy.jar file? 2) for your parameters, type "java" at the C:\Users\HP\OneDrive|Documents prompt. you're missing the "-jar" option. this is a windows issue, nothing really to do with java. Click to expand... 1- In the folder where the command ran. 2 - Makes no difference adding -jar
Dianzoa Active Member Licensed User Aug 6, 2021 #4 Searching on google, maybe the jar is a non executable? A non-executable JAR is simply a JAR file that doesn't have a Main-Class defined in the manifest file. As we'll see later, we can still run a main class that's contained in the JAR file itself. Upvote 0
Searching on google, maybe the jar is a non executable? A non-executable JAR is simply a JAR file that doesn't have a Main-Class defined in the manifest file. As we'll see later, we can still run a main class that's contained in the JAR file itself.
Dianzoa Active Member Licensed User Aug 6, 2021 #5 I added the -jar at the end and has to be after the java command, now got this error Upvote 0
Dianzoa Active Member Licensed User Aug 7, 2021 #6 Finally I manage to make it work like so B4X: java -jar Desugar_deploy.jar --input AppCompat.androidx.aar --output a.jar --bootclasspath_entry C:\android\platforms\android-30\android.jar But now, I can't add the generated .jar file back to the .aar file Upvote 0
Finally I manage to make it work like so B4X: java -jar Desugar_deploy.jar --input AppCompat.androidx.aar --output a.jar --bootclasspath_entry C:\android\platforms\android-30\android.jar But now, I can't add the generated .jar file back to the .aar file