diff -ur jruby-9.1.7.0-1/bin/install_doc jruby-9.1.7.0/bin/install_doc
--- jruby-9.1.7.0-1/bin/install_doc	2017-03-06 16:17:26.948856382 +0300
+++ jruby-9.1.7.0/bin/install_doc	2017-03-06 16:18:15.091940490 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 # 
 # The purpose of this file is to allow JRuby users to install documentation
 # generated from class files in the distribution. In comparison to MRI
diff -ur jruby-9.1.7.0-1/bin/irb jruby-9.1.7.0/bin/irb
--- jruby-9.1.7.0-1/bin/irb	2017-03-06 16:17:26.948941006 +0300
+++ jruby-9.1.7.0/bin/irb	2017-03-06 16:18:15.095010275 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 #
 #   irb.rb - intaractive ruby
 #   	$Release Version: 0.7.3 $
diff -ur jruby-9.1.7.0-1/bin/jgem jruby-9.1.7.0/bin/jgem
--- jruby-9.1.7.0-1/bin/jgem	2017-03-06 16:17:26.949020923 +0300
+++ jruby-9.1.7.0/bin/jgem	2017-03-06 16:18:15.095420698 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 #--
 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
 # All rights reserved.
diff -ur jruby-9.1.7.0-1/bin/jirb jruby-9.1.7.0/bin/jirb
--- jruby-9.1.7.0-1/bin/jirb	2017-03-06 16:17:26.949095119 +0300
+++ jruby-9.1.7.0/bin/jirb	2017-03-06 16:18:15.096363872 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 #
 #   irb.rb - intaractive ruby
 #   	$Release Version: 0.7.3 $
diff -ur jruby-9.1.7.0-1/bin/jirb_swing jruby-9.1.7.0/bin/jirb_swing
--- jruby-9.1.7.0-1/bin/jirb_swing	2017-03-06 16:17:26.949168447 +0300
+++ jruby-9.1.7.0/bin/jirb_swing	2017-03-06 16:18:15.091013822 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 #
 # IRB in swing
 #
diff -ur jruby-9.1.7.0-1/bin/jrubyc jruby-9.1.7.0/bin/jrubyc
--- jruby-9.1.7.0-1/bin/jrubyc	2017-03-06 16:17:26.950768767 +0300
+++ jruby-9.1.7.0/bin/jrubyc	2017-03-06 16:18:15.095683694 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 
 require 'jruby/jrubyc'
 
diff -ur jruby-9.1.7.0-1/bin/rake jruby-9.1.7.0/bin/rake
--- jruby-9.1.7.0-1/bin/rake	2017-03-06 16:17:26.951441874 +0300
+++ jruby-9.1.7.0/bin/rake	2017-03-06 16:18:15.092280997 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 #
 # This file was generated by RubyGems.
 #
diff -ur jruby-9.1.7.0-1/bin/rdoc jruby-9.1.7.0/bin/rdoc
--- jruby-9.1.7.0-1/bin/rdoc	2017-03-06 16:17:26.951515804 +0300
+++ jruby-9.1.7.0/bin/rdoc	2017-03-06 16:18:15.096036656 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 #
 # This file was generated by RubyGems.
 #
diff -ur jruby-9.1.7.0-1/bin/ri jruby-9.1.7.0/bin/ri
--- jruby-9.1.7.0-1/bin/ri	2017-03-06 16:17:26.951590220 +0300
+++ jruby-9.1.7.0/bin/ri	2017-03-06 16:18:15.091378918 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 #
 # This file was generated by RubyGems.
 #
diff -ur jruby-9.1.7.0-1/bin/testrb jruby-9.1.7.0/bin/testrb
--- jruby-9.1.7.0-1/bin/testrb	2017-03-06 16:17:26.951755871 +0300
+++ jruby-9.1.7.0/bin/testrb	2017-03-06 16:18:15.092495710 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 require 'test/unit'
 (r = Test::Unit::AutoRunner.new(true)).process_args(ARGV) or
   abort r.options.banner + " tests..."
diff -ur jruby-9.1.7.0-1/lib/pom.rb jruby-9.1.7.0/lib/pom.rb
--- jruby-9.1.7.0-1/lib/pom.rb	2017-03-06 16:17:27.139740635 +0300
+++ jruby-9.1.7.0/lib/pom.rb	2017-03-06 16:18:15.099076434 +0300
@@ -238,7 +238,7 @@
     bindir = File.join( jruby_home, 'lib', 'ruby', 'gems', 'shared', 'bin' )
     Dir[ File.join( bindir, '*' ) ].each do |f|
       content = File.read( f )
-      new_content = content.sub( /#!.*/, "#!/usr/bin/env jruby
+      new_content = content.sub( /#!.*/, "#!/usr/bin/jruby
 " )
       File.open( f, "w" ) { |file| file.print( new_content ) }
     end
diff -ur jruby-9.1.7.0-1/spec/regression/JRUBY-6307_integer_power_spec.rb jruby-9.1.7.0/spec/regression/JRUBY-6307_integer_power_spec.rb
--- jruby-9.1.7.0-1/spec/regression/JRUBY-6307_integer_power_spec.rb	2017-03-06 16:17:27.443098561 +0300
+++ jruby-9.1.7.0/spec/regression/JRUBY-6307_integer_power_spec.rb	2017-03-06 16:18:15.090217852 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 require 'rspec'
 
 describe "JRUBY-6307: Powering operation of Integer sometimes gets a wrong calculation when 1.9 mode." do
diff -ur jruby-9.1.7.0-1/tool/sync_ruby jruby-9.1.7.0/tool/sync_ruby
--- jruby-9.1.7.0-1/tool/sync_ruby	2017-03-06 16:17:28.203564852 +0300
+++ jruby-9.1.7.0/tool/sync_ruby	2017-03-06 16:18:15.089816955 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/env jruby
+#!/usr/bin/jruby
 # -*- coding: utf-8 -*-
 # Can also be run by any compliant ruby.