GeezerVison is showing github.com — fixes for java.ext.dirs on Windows (more for #4623) · DefCon-007/processing@a3f66ab
File tree
Expand file treeCollapse file tree
Open diff view settings
java/src/processing/mode/java
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: build/windows/config-cmd.xml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
30 | 30 | <jre> |
31 | 31 | <path>java</path> |
32 | 32 | <!-- Deal with jokers who install JOGL, ANTLR, etc system-wide --> |
33 | | - <opt>-Djava.ext.dirs="%EXEDIR%/java/lib/ext"</opt> |
| 33 | + <opt>-Djava.ext.dirs="%EXEDIR%\\java\\lib\\ext"</opt> |
34 | 34 | <!-- Prevent a user-installed JNA from conflicting with our version. |
35 | 35 | https://github.com/processing/processing/issues/2239 --> |
36 | 36 | <opt>-Djna.nosys=true</opt> |
|
Collapse file
Copy file name to clipboardExpand all lines: build/windows/config.xml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
27 | 27 | <jre> |
28 | 28 | <path>java</path> |
29 | 29 | <!-- Deal with jokers who install JOGL, ANTLR, etc system-wide --> |
30 | | - <opt>-Djava.ext.dirs="%EXEDIR%/java/lib/ext"</opt> |
| 30 | + <opt>-Djava.ext.dirs="%EXEDIR%\\java\\lib\\ext"</opt> |
31 | 31 | <!-- https://github.com/processing/processing/issues/2239 --> |
32 | 32 | <opt>-Djna.nosys=true</opt> |
33 | 33 | <!-- Because nosys is set to true, the DLL in the current working |
|
Collapse file
Copy file name to clipboardExpand all lines: java/src/processing/mode/java/JavaBuild.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -960,7 +960,7 @@ protected boolean exportApplication(File destFolder, |
960 | 960 | PApplet.javaVersionName + |
961 | 961 | ".jdk/Contents/Home/jre/lib/ext"); |
962 | 962 | } else if (exportPlatform == PConstants.WINDOWS) { |
963 | | - runOptions.append("-Djava.ext.dirs=\"%EXEDIR%/java/lib/ext\""); |
| 963 | + runOptions.append("-Djava.ext.dirs=\"%EXEDIR%\\java\\lib\\ext\""); |
964 | 964 | } else if (exportPlatform == PConstants.LINUX) { |
965 | 965 | runOptions.append("-Djava.ext.dirs=\"$APPDIR/java/lib/ext\""); |
966 | 966 | } |
|