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

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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