[MacPorts] #48651: Repeated JRE installation dialog when updating gettext

MacPorts noreply at macports.org
Thu Oct 29 02:12:00 PDT 2015


#48651: Repeated JRE installation dialog when updating gettext
--------------------------+--------------------------
  Reporter:  bruce@…      |      Owner:  ryandesign@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  gettext      |
--------------------------+--------------------------

Comment (by davalpi@…):

 I want to add the description of this defect as I get a slightly different
 but more informative parentless dialog.

 I'm on current OSX (10.11.1 El Capitan ) and current XCode (xcodebuild
 -version -> Xcode 7.1 Build version 7B91b).

 I do not have any JDK installed (I do not want one) but I have installed
 some latest JRE (jre-8u65-macosx-x64.dmg) from Oracle.

 When I try to instal gettext I get a parentless GUI dialog that say
 something like (I'm translating from italian here) : 'To use the command
 line tool "javac" you have to install an JDK" .

 This dialog offer a "More Information..." button that open my browser to
 http://www.oracle.com/technetwork/java/javase/downloads/index.html that's
 the Oracle page to download JDKs /JREs.

 I get the same dialog when I try to run javac from terminal:
 {{{
 $ javac ; echo Exit Status : $?
 No Java runtime present, requesting install.
 Exit Status : 1
 $ which javac
 /usr/bin/javac
 }}}
 Apparently the error is reported but at the same time it trigger this
 parentless dialog to guide user towards JDK installation procedure.

 Another silly thing is that on El Capitan (10.11.1) I have this :
 {{{
 $ ll /usr/bin/java*
 lrwxr-xr-x  1 root  wheel  74  1 Ott 14:36 /usr/bin/java ->
 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
 lrwxr-xr-x  1 root  wheel  75  1 Ott 14:36 /usr/bin/javac ->
 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javac
 lrwxr-xr-x  1 root  wheel  77  1 Ott 14:36 /usr/bin/javadoc ->
 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javadoc
 lrwxr-xr-x  1 root  wheel  75  1 Ott 14:36 /usr/bin/javah ->
 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javah
 lrwxr-xr-x  1 root  wheel  75  1 Ott 14:36 /usr/bin/javap ->
 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javap
 lrwxr-xr-x  1 root  wheel  76  1 Ott 14:36 /usr/bin/javaws ->
 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws
 }}}
 My educated guest is that JRE installer (jre-8u65-macosx-x64.dmg) setup
 all this to "stimulate" users toward JDK installation and if this is true
 for all ppl, this is something to keep in mind.

-- 
Ticket URL: <https://trac.macports.org/ticket/48651#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list