GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — disable ext.dirs on Linux export and set jna.nosys as well · jayvdb/processing@182c09a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • java/src/processing/mode/java
    • JavaBuild.java
  • todo.txt
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎java/src/processing/mode/java/JavaBuild.java‎

Copy file name to clipboardExpand all lines: java/src/processing/mode/java/JavaBuild.java
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,18 +1093,21 @@ protected boolean exportApplication(File destFolder,
10931093
// Do the newlines explicitly so that Windows CRLF
10941094
// isn't used when exporting for Unix.
10951095
pw.print("#!/bin/sh\n\n");
1096-
//ps.print("APPDIR=`dirname $0`\n");
1097-
pw.print("APPDIR=$(readlink -f \"$0\")\n"); //Allow Symlinks
1098-
pw.print("APPDIR=$(dirname \"$APPDIR\")\n"); // more posix compliant
1096+
pw.print("APPDIR=$(readlink -f \"$0\")\n"); // allow symlinks
1097+
pw.print("APPDIR=$(dirname \"$APPDIR\")\n"); // more POSIX compliant
1098+
10991099
// another fix for bug #234, LD_LIBRARY_PATH ignored on some platforms
11001100
//ps.print("LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$APPDIR\n");
1101+
11011102
if (embedJava) {
11021103
// https://github.com/processing/processing/issues/2349
11031104
pw.print("$APPDIR/java/bin/");
11041105
}
11051106
String runOptionsStr = runOptions.join(" ");
11061107
pw.print("java " + runOptionsStr +
11071108
" -Djava.library.path=\"$APPDIR:$APPDIR/lib\"" +
1109+
" -Djava.ext.dirs=\"$APPDIR/java/lib/ext\"" +
1110+
" -Djna.nosys=true" +
11081111
" -cp \"" + exportClassPath + "\"" +
11091112
" " + sketch.getName() + " \"$@\"\n");
11101113

Collapse file

‎todo.txt‎

Copy file name to clipboardExpand all lines: todo.txt
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ X https://github.com/processing/processing/issues/4623
66
_ might be ext.dirs trouble with spaces in path names?
77
_ or the backwards slashes?
88
X fixes for Python Mode crashing on startup
9+
X disable ext.dirs on Linux export and set jna.nosys as well
910
_ JavaInputHandler not registering
1011

1112
_ library compilations handled oddly

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.