You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With BellSoft's openjdk version 21.0.1, extract the JAR file:
jar -xvf \path\to\.gradle\caches\modules-2\files-2.1\org.renjin\methods\3.5-beta76\87e8669db799c211343fd0e9ed6177b88d7f3a20\methods-3.5-beta76.jar
Expected
No error extracting the JAR file.
Actual
Error:
java.io.FileNotFoundException: org\renjin\methods\$$.__T__body<-:base.RData (The filename, directory name, or volume label syntax is incorrect)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:289)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:230)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at jdk.jartool/sun.tools.jar.Main.copy(Main.java:1297)
at jdk.jartool/sun.tools.jar.Main.extractFile(Main.java:1475)
at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1385)
at jdk.jartool/sun.tools.jar.Main.run(Main.java:390)
at jdk.jartool/sun.tools.jar.Main.main(Main.java:1702)
Details
The file name in the JAR file looks problematic for a few reasons. First, there's a :, which I believe isn't allowed on Windows. Second, there's a <, which is typically reserved for redirecting standard input and probably best avoided as part of a file name (at the very least, it may be lead to scripting errors).
Question
How would you produce a .jar file with Windows-friendly file names?
The text was updated successfully, but these errors were encountered:
Steps
On Windows, have Gradle 8.5 download the following file:
With BellSoft's openjdk version 21.0.1, extract the JAR file:
Expected
No error extracting the JAR file.
Actual
Error:
Details
The file name in the JAR file looks problematic for a few reasons. First, there's a
:
, which I believe isn't allowed on Windows. Second, there's a<
, which is typically reserved for redirecting standard input and probably best avoided as part of a file name (at the very least, it may be lead to scripting errors).Question
How would you produce a
.jar
file with Windows-friendly file names?The text was updated successfully, but these errors were encountered: