commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [daemon] Problems with Java 7 on MacOS
Date Sat, 02 Mar 2013 01:56:16 GMT
I was afraid that the trick was too superficial.

I just took a look and find that I have a more serious problem than yours
...

$ jsvc
> -bash: jsvc: command not found


Good luck with the problem.

On Fri, Mar 1, 2013 at 12:44 PM, Ian Emmons <iemmons@bbn.com> wrote:

>
> That is indeed a neat trick -- thanks for the tip.  Unfortunately, it
> doesn't help with this problem.  I had JAVA_HOME set correctly, but jsvc
> doesn't know how to find the JVM shared lib within it in the case where
> JAVA_HOME points to Oracle's Java rather than Apple's.
>
> Cheers,
>
> Ian
>
>
> On Feb 28, 2013, at 2:42 PM, Ted Dunning <ted.dunning@gmail.com> wrote:
> > This helps me when I need 1.7:
> >
> >      $ export JAVA_HOME=$(/usr/libexec/java_home)
> >
> > This causes Oracle JDK to work from the command line for me.
> >
> > On Thu, Feb 28, 2013 at 11:08 AM, Ian Emmons <iemmons@bbn.com> wrote:
> >> Mladen,
> >>
> >> On Feb 28, 2013, at 1:47 AM, Mladen Turk <mturk@apache.org> wrote:
> >>> On 02/26/2013 08:47 PM, Ian Emmons wrote:
> >>>> I am having trouble running commons daemon 1.0.13 on MacOS 10.8.2 with
> >>>> Java 7:
> >>>>
> >>>> However, with Java 1.7 this folder does not exist.  Instead, jsvc
> >>>> should be trying to load this shared library:
> >>>>
> >>>>   $JAVA_HOME/jre/lib/server/libjvm.dylib
> >>>>
> >>>> If I change JAVA_HOME to point to Apple's Java 1.6, then jsvc
> >>>> successfully finds the JVM shared library.  (See the attached
> >>>> console-1.6.txt.)
> >>>
> >>> Yes, Apple made a real mess with 1.7 layout. There are actually few
> >>> valid layouts for 1.7 I have seen (not counting OpenJDK), so seems
> this is
> >>> another one.  Please open Commons Daemon JIRA issue and I'll add that
> to
> >>> the search path.
> >>
> >> Thanks, I've entered issue 281 [1].  BTW, I believe that the 1.7 layout
> is
> >> Oracle's doing, not Apple's, and that it generally looks more similar to
> >> the layout on Windows than for the older Apple Java 1.6 (which Apple did
> >> indeed make a real mess of).
> >>
> >> -Ian
> >>
> >> [1] https://issues.apache.org/jira/browse/DAEMON-281
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message