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

Volodymyr Kostyrko c.kworr at gmail.com
Wed Jan 9 17:02:25 UTC 2013


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.


More information about the freebsd-questions mailing list