File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 25
25
print <<"END" ;
26
26
# This file automatically generated by $0
27
27
28
- runtime.args=-Xbootclasspath/a:.${cpsep}${thirdPartyJars}
28
+ runtime.bootclasspath=-Xbootclasspath/a:.${cpsep}${thirdPartyJars}
29
+ runtime.classpath=${libdir}
29
30
runtime.jars=${thirdPartyJars}
30
31
END
Original file line number Diff line number Diff line change 19
19
my $install_to = File::Spec-> catfile($prefix , ' bin' , ' nqp.bat' );
20
20
open my $fh , " >" , $install_to
21
21
or die " Could not open $install_to : $! " ;
22
- print $fh ' @java -Xbootclasspath/a:$jar_dir\\ nqp-runtime.jar;' .
22
+ print $fh ' @java -Xmx512m - Xbootclasspath/a:$jar_dir\\ nqp-runtime.jar;' .
23
23
" $jar_dir \\ asm-4.1.jar;$jar_dir \\ jline-1.0.jar;$lib_dir \\ nqp.jar -cp $lib_dir nqp %*\n " ;
24
24
close $fh
25
25
or die " Could not close $install_to : $! " ;
29
29
open my $fh , " >" , $install_to
30
30
or die " Could not open $install_to : $! " ;
31
31
print $fh " #!/bin/sh\n " ;
32
- print $fh " exec java -Xbootclasspath/a:$jar_dir /nqp-runtime.jar:" .
32
+ print $fh " exec java -Xmx512m - Xbootclasspath/a:$jar_dir /nqp-runtime.jar:" .
33
33
" $jar_dir /asm-4.1.jar:$jar_dir /jline-1.0.jar:$lib_dir /nqp.jar -cp $lib_dir nqp \"\$\@\"\n " ;
34
34
close $fh
35
35
or die " Could not close $install_to : $! " ;
You can’t perform that action at this time.
0 commit comments