mirror of
https://github.com/processing/processing4.git
synced 2026-02-16 03:45:40 +01:00
add embedding for the JRE
This commit is contained in:
@@ -1239,6 +1239,11 @@ public class JavaBuild {
|
||||
Runtime.getRuntime().exec(new String[] { "chmod", "+x", stubPath });
|
||||
}
|
||||
*/
|
||||
} else if (exportPlatform == PConstants.LINUX) {
|
||||
Base.copyDirNative(Base.getJavaHome(), new File(destFolder, "java"));
|
||||
|
||||
} else if (exportPlatform == PConstants.WINDOWS) {
|
||||
Base.copyDir(Base.getJavaHome(), new File(destFolder, "java"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user