openjdk6 + iced-teaweb installed, cannot open *.jnlp

Antonio Olivares olivares14031 at gmail.com
Wed Jan 9 17:24:47 UTC 2013


On Wed, Jan 9, 2013 at 11:02 AM, Volodymyr Kostyrko <c.kworr at 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


More information about the freebsd-questions mailing list