Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 11:24:40 -0600
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: openjdk6 + iced-teaweb installed, cannot open *.jnlp
Message-ID:  <CAJ5UdcOVMGHHPKCkSeTe4m2v5jh8QxwsNgvuB3QGwGt9rKxTQw@mail.gmail.com>
In-Reply-To: <50EDA296.3070607@gmail.com>
References:  <CAJ5UdcMe5p6T=d51xvBOdiiS=nsDoJ-Zem0DgU5UM1ie_U0WAA@mail.gmail.com> <50ED5879.6050002@gmail.com> <CAJ5UdcPGhZtCemHHDp=aftCXG8kxtgCAhvOCpVgPZpvkvx3o=A@mail.gmail.com> <50EDA296.3070607@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 9, 2013 at 11:02 AM, Volodymyr Kostyrko <c.kworr@gmail.com> wrote:
> 09.01.2013 18:53, Antonio Olivares:
>
>> How do I do the suggested fix?
>> As root?
>> as regular user?
>> i.e, how do I change the attributes.  I see the fix, but don't know
>> how to apply it :(
>
>
> I changed the script to not include '-a javaws' in the last line of your
> log:
>
> --- launcher/javaws.in   2012-11-01 18:51:04.000000000 +0200
> +++ launcher/javaws.in  2013-01-09 18:57:35.278323886 +0200
> @@ -59,6 +59,6 @@
>    k=$((k+1))
>  done
>
> -exec -a "javaws" "${COMMAND[@]}"
> +exec "${COMMAND[@]}"
>
>  exit $?
>
> I don't know why this works actually, maybe there's a misuse of PROGRAM_NAME
> in javaws.in, i.e. PROGRAM_NAME is declared but not used in this command.
> Regardless what I did with the script the only working solution for me was
> removing '-a' option.
>
>
> --
> Sphinx of black quartz, judge my vow.

> --- launcher/javaws.in   2012-11-01 18:51:04.000000000 +0200
> +++ launcher/javaws.in  2013-01-09 18:57:35.278323886 +0200
> @@ -59,6 +59,6 @@
>    k=$((k+1))
>  done
>
> -exec -a "javaws" "${COMMAND[@]}"
> +exec "${COMMAND[@]}"
>
>  exit $?

where does this file "launcher/javaws.in" reside?
/usr/local/bin/?

So I can remove the ``-a "javaws" '' from it to fix it?
I can use a sed command to do it, but I don't know where it is and I
am afraid to screw things up if I use find command :(


Thanks for all your help.  I apologize in advance for asking several times.

Regards,


Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcOVMGHHPKCkSeTe4m2v5jh8QxwsNgvuB3QGwGt9rKxTQw>