Commits
15 15 | ### avoid: "Fetch failed! HTTP response: 500 Internal Server Error [500 Can’t verify SSL peers without knowing which Certificate Authorities to trust]" |
16 16 | ### |
17 17 | $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; |
18 18 | ### |
19 19 | ### avoid: TLSv1.0 backends... |
20 20 | ### |
21 21 | $File:::: = [| |]; |
22 22 | |
23 23 | $exe = ($0); |
24 24 | $path = ( ($exe)); |
25 - | chop($java=`which java`); |
25 + | chop($java=`type -p java`); |
26 26 | $jarfile_name = "mod-closure-assembly-1.7.jar"; |
27 27 | @java_version = ( ); |
28 28 | open( , "$java -version 2>&1 |"); |
29 29 | foreach ( <> ) { |
30 30 | if ( | "?(\d+)\.(\d+)|i ) { |
31 31 | @java_version = ($1,$2); |
32 32 | #print " ", join('.',@java_version), "\"; |
33 33 | } |
34 34 | } |
35 35 | close(JAVAVER); |